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

Abstract class for representing one tab element which contains 2D or 3D image (without any temporal component). More...

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

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

Public Types

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 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...
 

Public Member Functions

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 ReadSettings ()
 Read Settings. More...
 
virtual void SetColor (const bool &iColor)
 
virtual void Update ()=0
 Update the rendering of the tab. More...
 
virtual void ValidateContour (const int &iId)
 Validate one contour traced by using the ContourWidget. More...
 
virtual void WriteSettings ()
 Write Settings. 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 CreateModeToolBar (QMenu *iMenu, QToolBar *iToolBar)
 
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 GoFigure::TabDimensionType GetTabDimensionType () const =0
 Get the dimension type of the underlying data set. More...
 
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 void SetImageToImageViewer (vtkImageData *image)=0
 
- Protected Member Functions inherited from QGoTabImageViewElementBase
virtual std::vector< vtkActor * > AddContour (vtkPolyData *dataset, vtkProperty *property=NULL)=0
 
virtual void CreateManualSegmentationdockWidget ()
 
virtual void CreateToolsActions ()
 
virtual void DisplayActorInViewer (const int &iId, vtkActor *iActor)=0
 
virtual void GetBackgroundColorFromImageViewer ()=0
 
virtual int * GetImageCoordinatesFromWorldCoordinates (double pos[3])=0
 
virtual void RemoveActorFromViewer (const int &iId, vtkActor *iActor)=0
 
virtual void SetBackgroundColorToImageViewer ()=0
 
virtual void SetSlice (int iDir, int *iIdx)=0
 

Protected Attributes

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 (QGoTabImageViewNDBase)
 

Detailed Description

Abstract class for representing one tab element which contains 2D or 3D image (without any temporal component).

Definition at line 48 of file QGoTabImageViewNDBase.h.

Member Typedef Documentation

Definition at line 58 of file QGoTabImageViewNDBase.h.

Constructor & Destructor Documentation

QGoTabImageViewNDBase::QGoTabImageViewNDBase ( QWidget *  parent = 0)
explicit

Constructor.

Definition at line 43 of file QGoTabImageViewNDBase.cxx.

QGoTabImageViewNDBase::~QGoTabImageViewNDBase ( )
virtual

Destructor.

Definition at line 53 of file QGoTabImageViewNDBase.cxx.

Member Function Documentation

vtkImageData * QGoTabImageViewNDBase::GetImage ( )

Definition at line 118 of file QGoTabImageViewNDBase.cxx.

QGoTabImageViewNDBase::Q_DISABLE_COPY ( QGoTabImageViewNDBase  )
private
void QGoTabImageViewNDBase::SetImage ( vtkImageData *  iImage)
virtual

Set the image to be displaid.

Parameters
[in]iImage
Examples:
GUI/lib/qgotabimageview2d.cxx, and GUI/lib/qgotabimageview3d.cxx.

Definition at line 64 of file QGoTabImageViewNDBase.cxx.

virtual void QGoTabImageViewNDBase::SetImageToImageViewer ( vtkImageData *  image)
protectedpure virtual

Implemented in QGoTabImageView3D, and QGoTabImageView2D.

void QGoTabImageViewNDBase::ShowAllChannels ( bool  iChecked)
slot
Parameters
[in]iChecked

Definition at line 130 of file QGoTabImageViewNDBase.cxx.

void QGoTabImageViewNDBase::ShowOneChannel ( int  iChannel)
slot
Parameters
[in]iChannel

Definition at line 159 of file QGoTabImageViewNDBase.cxx.

Member Data Documentation

vtkSmartPointer< vtkImageData > QGoTabImageViewNDBase::m_Image
protected

Definition at line 74 of file QGoTabImageViewNDBase.h.


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