GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
QGoTabImageView3D Class Reference

#include <Code/GUI/lib/QGoTabImageView3D.h>

Inheritance diagram for QGoTabImageView3D:
Inheritance graph
[legend]
Collaboration diagram for QGoTabImageView3D:
Collaboration graph
[legend]

Public Types

typedef
QGoTabImageViewNDBase::QGoDockWidgetStatusPair 
QGoDockWidgetStatusPair
 
- Public Types inherited from QGoTabImageViewNDBase
typedef
QGoTabImageViewElementBase::QGoDockWidgetStatusPair 
QGoDockWidgetStatusPair
 
- Public Types inherited from QGoTabImageViewElementBase
typedef
QGoTabElementBase::QGoDockWidgetStatusPair 
QGoDockWidgetStatusPair
 
- Public Types inherited from QGoTabElementBase
typedef std::pair
< QGoDockWidgetStatus
*, QDockWidget * > 
QGoDockWidgetStatusPair
 

Public Slots

void Change3DPerspectiveToAxial ()
 
void Change3DPerspectiveToCoronal ()
 
void Change3DPerspectiveToSagittal ()
 
void ChangeBackgroundColor ()
 
void ChangeLookupTable ()
 
virtual void DefaultInteractorBehavior (bool)
 Mouse interaction style set as default. More...
 
void DisplayAnnotations ()
 
void DisplayCube ()
 
void DisplaySplinePlanes ()
 
void FullScreenViewXY ()
 
void FullScreenViewXYZ ()
 
void FullScreenViewXZ ()
 
void FullScreenViewYZ ()
 
virtual void PanInteractorBehavior (bool)
 Mouse interaction style allows user to pan volume with all buttons. More...
 
void Quadview ()
 
void SetFullScreenView (const int &iS)
 
void SetSliceViewXY (const int &)
 
void SetSliceViewXZ (const int &)
 
void SetSliceViewYZ (const int &)
 
void ShowScalarBar (const bool &)
 
QString SnapshotViewXY (const GoFigure::FileType &iType, const QString &iBaseName=QString("snapshot-xy-"))
 
QString SnapshotViewXYZ (const GoFigure::FileType &iType, const QString &iBaseName=QString("snapshot-xyz-"))
 
QString SnapshotViewXZ (const GoFigure::FileType &iType, const QString &iBaseName=QString("snapshot-xz-"))
 
QString SnapshotViewYZ (const GoFigure::FileType &iType, const QString &iBaseName=QString("snapshot-yz-"))
 
void TakeSnapshot ()
 
virtual void ZoomInteractorBehavior (bool)
 Mouse interaction style allows user to zoom in/out volume with all buttons. More...
 
- Public Slots inherited from QGoTabImageViewNDBase
void ShowAllChannels (bool iChecked)
 
void ShowOneChannel (int iChannel)
 
- Public Slots inherited from QGoTabImageViewElementBase
void ActivateManualSegmentationEditor (const bool &iActivate)
 Activate the manual segmentation editor (ContourWidget). More...
 
void ChangeBackgroundColor ()
 Change the background color. More...
 
void ChangeContourRepresentationProperty ()
 Change contour representation property (color, line width, etc.) More...
 
void ReEditContour (const unsigned int &iId)
 Re-edit the iId^th contour. More...
 
void ReinitializeContour ()
 Reinitialize contour in the ContourWidget (delete contour, and restart with no contours. More...
 
virtual void ShowAllChannels (bool iChecked)=0
 Show all channels if iChecked is true. More...
 
virtual void ShowOneChannel (int iChannel)=0
 Show only one channel (iChannel). More...
 
virtual void TakeSnapshot ()=0
 
virtual void ValidateContour ()
 Validate contour traced in the ContourWidget. More...
 

Signals

void FullScreenViewChanged (int View)
 
void SliceViewXYChanged (int Slice)
 
void SliceViewXZChanged (int Slice)
 
void SliceViewYZChanged (int Slice)
 

Public Member Functions

void CreateModeToolBar (QMenu *iMenu, QToolBar *iToolBar)
 
GoFigure::TabDimensionType GetTabDimensionType () const
 
 QGoTabImageView3D (QWidget *parent=0)
 Constructor. More...
 
virtual void ReadSettings ()
 Read Settings. More...
 
void retranslateUi (QWidget *parent)
 
void setupUi (QWidget *parent)
 
virtual void Update ()
 Update the rendering of the tab. More...
 
virtual void WriteSettings ()
 Write Settings. More...
 
virtual ~QGoTabImageView3D ()
 
- Public Member Functions inherited from QGoTabImageViewNDBase
vtkImageData * GetImage ()
 
 QGoTabImageViewNDBase (QWidget *parent=0)
 Constructor. More...
 
virtual void SetImage (vtkImageData *iImage)
 Set the image to be displaid. More...
 
virtual ~QGoTabImageViewNDBase ()
 Destructor. More...
 
- Public Member Functions inherited from QGoTabImageViewElementBase
 QGoTabImageViewElementBase (QWidget *parent=0)
 Constructor. More...
 
virtual void SetColor (const bool &iColor)
 
virtual void ValidateContour (const int &iId)
 Validate one contour traced by using the ContourWidget. More...
 
virtual ~QGoTabImageViewElementBase ()
 Destructor. More...
 
- Public Member Functions inherited from QGoTabElementBase
virtual std::vector< QAction * > BookmarkActions ()
 Get all actions belonging to Bookmark Menu and Toolbar. More...
 
virtual void CreateViewToolBar (QMenu *iMenu, QToolBar *iToolBar)
 
virtual void DefaultInteractorBehavior (bool)
 Mouse interaction style set as default. More...
 
virtual std::list
< QGoDockWidgetStatusPair > & 
DockWidget ()
 Get all actions belonging to Mode Menu and Toolbar. More...
 
virtual std::list< QAction * > GetPluginActions ()
 
virtual std::list
< QGoToolBarStatus * > 
GetToolBarsStatus ()
 
 QGoTabElementBase (QWidget *parent=0)
 Constructor. More...
 
virtual std::vector< QAction * > SegmentationActions ()
 Get all actions belonging to Segmentation Menu and Toolbar. More...
 
virtual void SetPluginActions (std::list< QAction * > iList)
 
void SetStatusBarPointer (QStatusBar *iStatusbar)
 
virtual std::vector< QAction * > ToolsActions ()
 Get all actions belonging to Tools Menu and Toolbar. More...
 
virtual void TranslateInteractorBehavior (bool)
 Mouse interaction style allows user to Translate volume with all buttons. More...
 
virtual std::vector< QAction * > ViewActions ()
 Get all actions belonging to View Menu and Toolbar. More...
 
virtual std::vector< QAction * > ViewNoToolBarActions ()
 Get all actions belonging to View Menu only. More...
 
virtual void ZoomInteractorBehavior (bool)
 Mouse interaction style allows user to zoom in/out volume with all buttons. More...
 
virtual ~QGoTabElementBase ()
 Destructor. More...
 

Protected Member Functions

virtual std::vector< vtkActor * > AddContour (vtkPolyData *dataset, vtkProperty *property=NULL)
 
void CreateAllViewActions ()
 
virtual void DisplayActorInViewer (const int &iId, vtkActor *iActor)
 
void GetBackgroundColorFromImageViewer ()
 
int * GetImageCoordinatesFromWorldCoordinates (double pos[3])
 
virtual void RemoveActorFromViewer (const int &iId, vtkActor *iActor)
 
void SetBackgroundColorToImageViewer ()
 
void SetImageToImageViewer (vtkImageData *image)
 
virtual void SetSlice (int iDir, int *iIdx)
 

Protected Attributes

QAction * m_BackgroundColorAction
 
QGoImageView3Dm_ImageView
 
- Protected Attributes inherited from QGoTabImageViewNDBase
vtkSmartPointer< vtkImageData > m_Image
 
- Protected Attributes inherited from QGoTabImageViewElementBase
QColor m_ActiveNodesColor
 
QColor m_BackgroundColor
 
bool m_Color
 
ContourContainerm_ContourContainer
 
unsigned int m_ContourId
 
std::vector< vtkSmartPointer
< vtkOrientedGlyphContourRepresentation > > 
m_ContourRepresentation
 
std::vector< vtkSmartPointer
< vtkContourWidget > > 
m_ContourWidget
 
QHBoxLayout * m_LayOut
 
QColor m_LinesColor
 
double m_LinesWidth
 
QGoContourManualSegmentationWidgetm_ManualSegmentationWidget
 
MeshContainerm_MeshContainer
 
QGoNavigationDockWidgetm_NavigationDockWidget
 
QColor m_NodesColor
 
bool m_ReEditContourMode
 
QAction * m_TakeSnapshotAction
 
- Protected Attributes inherited from QGoTabElementBase
std::vector< QAction * > m_BookmarkActions
 
std::list
< QGoDockWidgetStatusPair
m_DockWidgetList
 
QGoToolBarStatusm_ModeToolBar
 
std::list< QAction * > m_PluginActionList
 
std::vector< QAction * > m_SegmentationActions
 
QStatusBar * m_StatusBar
 
std::list< QGoToolBarStatus * > m_ToolBarList
 
std::vector< QAction * > m_ToolsActions
 
std::vector< QAction * > m_ViewActions
 
QGoToolBarStatusm_ViewActionsMenuToolBar
 
std::vector< QAction * > m_ViewNoToolBarActions
 

Private Member Functions

 Q_DISABLE_COPY (QGoTabImageView3D)
 

Detailed Description

Examples:
GUI/lib/qgotabimageview3d.cxx.

Definition at line 60 of file QGoTabImageView3D.h.

Member Typedef Documentation

Definition at line 67 of file QGoTabImageView3D.h.

Constructor & Destructor Documentation

QGoTabImageView3D::QGoTabImageView3D ( QWidget *  iParent = 0)
explicit

Constructor.

Parameters
iParent

Definition at line 63 of file QGoTabImageView3D.cxx.

QGoTabImageView3D::~QGoTabImageView3D ( )
virtual

Definition at line 356 of file QGoTabImageView3D.cxx.

Member Function Documentation

std::vector< vtkActor * > QGoTabImageView3D::AddContour ( vtkPolyData *  dataset,
vtkProperty *  property = NULL 
)
protectedvirtual

Implements QGoTabImageViewElementBase.

Definition at line 708 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::Change3DPerspectiveToAxial ( )
slot

Definition at line 810 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::Change3DPerspectiveToCoronal ( )
slot

Definition at line 819 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::Change3DPerspectiveToSagittal ( )
slot

Definition at line 828 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::ChangeBackgroundColor ( )
slot

Definition at line 761 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::ChangeLookupTable ( )
slot

Definition at line 443 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::CreateAllViewActions ( )
protected

Definition at line 128 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::CreateModeToolBar ( QMenu *  iMenu,
QToolBar *  iToolBar 
)
virtual

Reimplemented from QGoTabElementBase.

Definition at line 343 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::DefaultInteractorBehavior ( bool  iEnable)
virtualslot

Mouse interaction style set as default.

Definition at line 835 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::DisplayActorInViewer ( const int &  iId,
vtkActor *  iActor 
)
protectedvirtual

Implements QGoTabImageViewElementBase.

Definition at line 726 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::DisplayAnnotations ( )
slot

Definition at line 783 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::DisplayCube ( )
slot

Definition at line 801 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::DisplaySplinePlanes ( )
slot

Definition at line 792 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::FullScreenViewChanged ( int  View)
signal
void QGoTabImageView3D::FullScreenViewXY ( )
slot

Definition at line 595 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::FullScreenViewXYZ ( )
slot

Definition at line 631 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::FullScreenViewXZ ( )
slot

Definition at line 607 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::FullScreenViewYZ ( )
slot

Definition at line 619 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::GetBackgroundColorFromImageViewer ( )
protectedvirtual

Implements QGoTabImageViewElementBase.

Definition at line 643 of file QGoTabImageView3D.cxx.

int * QGoTabImageView3D::GetImageCoordinatesFromWorldCoordinates ( double  pos[3])
protectedvirtual

Implements QGoTabImageViewElementBase.

Definition at line 698 of file QGoTabImageView3D.cxx.

GoFigure::TabDimensionType QGoTabImageView3D::GetTabDimensionType ( ) const
virtual
Returns

Implements QGoTabElementBase.

Definition at line 415 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::PanInteractorBehavior ( bool  iEnable)
virtualslot

Mouse interaction style allows user to pan volume with all buttons.

Definition at line 855 of file QGoTabImageView3D.cxx.

QGoTabImageView3D::Q_DISABLE_COPY ( QGoTabImageView3D  )
private
void QGoTabImageView3D::Quadview ( )
slot

Definition at line 583 of file QGoTabImageView3D.cxx.

virtual void QGoTabImageView3D::ReadSettings ( )
inlinevirtual

Read Settings.

Read settings:

  • m_BackgroundColor

Reimplemented from QGoTabImageViewElementBase.

Definition at line 78 of file QGoTabImageView3D.h.

void QGoTabImageView3D::RemoveActorFromViewer ( const int &  iId,
vtkActor *  iActor 
)
protectedvirtual

Implements QGoTabImageViewElementBase.

Definition at line 718 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::retranslateUi ( QWidget *  iParent)
Parameters
iParent

Definition at line 402 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SetBackgroundColorToImageViewer ( )
protectedvirtual

Implements QGoTabImageViewElementBase.

Definition at line 657 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SetFullScreenView ( const int &  iS)
slot
Parameters
iS

Definition at line 572 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SetImageToImageViewer ( vtkImageData *  image)
protectedvirtual
Parameters
image

Implements QGoTabImageViewNDBase.

Definition at line 669 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SetSlice ( int  iDir,
int *  iIdx 
)
protectedvirtual

Implements QGoTabImageViewElementBase.

Definition at line 735 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SetSliceViewXY ( const int &  iS)
slot
Parameters
iS

Definition at line 536 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SetSliceViewXZ ( const int &  iS)
slot
Parameters
iS

Definition at line 548 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SetSliceViewYZ ( const int &  iS)
slot
Parameters
iS

Definition at line 560 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::setupUi ( QWidget *  iParent)
Parameters
iParent

Definition at line 367 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::ShowScalarBar ( const bool &  iShow)
slot
Parameters
iShow

Definition at line 460 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::SliceViewXYChanged ( int  Slice)
signal
void QGoTabImageView3D::SliceViewXZChanged ( int  Slice)
signal
void QGoTabImageView3D::SliceViewYZChanged ( int  Slice)
signal
QString QGoTabImageView3D::SnapshotViewXY ( const GoFigure::FileType iType,
const QString &  iBaseName = QString("snapshot-xy-") 
)
slot
Parameters
iType
iBaseName
Returns

Definition at line 474 of file QGoTabImageView3D.cxx.

QString QGoTabImageView3D::SnapshotViewXYZ ( const GoFigure::FileType iType,
const QString &  iBaseName = QString("snapshot-xyz-") 
)
slot
Parameters
iType
iBaseName
Returns

Definition at line 522 of file QGoTabImageView3D.cxx.

QString QGoTabImageView3D::SnapshotViewXZ ( const GoFigure::FileType iType,
const QString &  iBaseName = QString("snapshot-xz-") 
)
slot
Parameters
iType
iBaseName
Returns

Definition at line 490 of file QGoTabImageView3D.cxx.

QString QGoTabImageView3D::SnapshotViewYZ ( const GoFigure::FileType iType,
const QString &  iBaseName = QString("snapshot-yz-") 
)
slot
Parameters
iType
iBaseName
Returns

Definition at line 506 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::TakeSnapshot ( )
slot

Definition at line 865 of file QGoTabImageView3D.cxx.

void QGoTabImageView3D::Update ( )
virtual

Update the rendering of the tab.

Implements QGoTabImageViewElementBase.

Examples:
GUI/lib/qgotabimageview3d.cxx.

Definition at line 426 of file QGoTabImageView3D.cxx.

virtual void QGoTabImageView3D::WriteSettings ( )
inlinevirtual

Write Settings.

Write settings:

  • m_BackgroundColor

Reimplemented from QGoTabImageViewElementBase.

Definition at line 77 of file QGoTabImageView3D.h.

void QGoTabImageView3D::ZoomInteractorBehavior ( bool  iEnable)
virtualslot

Mouse interaction style allows user to zoom in/out volume with all buttons.

Definition at line 845 of file QGoTabImageView3D.cxx.

Member Data Documentation

QAction* QGoTabImageView3D::m_BackgroundColorAction
protected

Definition at line 161 of file QGoTabImageView3D.h.

QGoImageView3D* QGoTabImageView3D::m_ImageView
protected

Definition at line 159 of file QGoTabImageView3D.h.


The documentation for this class was generated from the following files: