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 | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
QGoTabImageView3DwT Class Reference

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

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

Public Types

typedef
QGoPrintDatabase::IDWithColorData 
IDWithColorData
 
typedef
QGoPrintDatabase::NamesDescrContainerType 
NamesDescrContainerType
 
typedef
QGoTabElementBase::QGoDockWidgetStatusPair 
QGoDockWidgetStatusPair
 
- Public Types inherited from QGoTabElementBase
typedef std::pair
< QGoDockWidgetStatus
*, QDockWidget * > 
QGoDockWidgetStatusPair
 

Public Slots

void AddContourForMeshToContours (vtkPolyData *)
 
void AdjustWindowLevel (double iMin, double iMax)
 
void Change3DPerspectiveToAxial ()
 
void Change3DPerspectiveToCoronal ()
 
void Change3DPerspectiveToSagittal ()
 
void ChangeBackgroundColor ()
 
void CreateMeshFromSelectedContours (std::list< unsigned int > ListContourIDs, int iMeshID)
 
void DopplerSizeChanged (int iSize)
 
void FullScreenViewXY ()
 
void FullScreenViewXYZ ()
 
void FullScreenViewXZ ()
 
void FullScreenViewYZ ()
 
void GoToDefaultMenu (bool iEnable=false)
 
void HighlightPickedActor ()
 
void MergeInDBAndRenderMeshForVisu (vtkPolyData *iVectPolydata)
 
void ModeChanged (int iChannel)
 
void PolydatasRequested ()
 
void Quadview ()
 
void ReEditContour (const unsigned int &iId)
 
int SaveAndVisuContour (int iTCoord, vtkPolyData *iView=NULL)
 
void SaveAndVisuMesh (vtkPolyData *iView, unsigned int iTCoord, int iCollection=-1)
 Save a mesh in the database and render the mesh at the given time point. More...
 
void SaveInDBAndRenderContourForVisu (std::vector< vtkPolyData * > iVectPolydata, int iTCoord)
 
void SaveInDBAndRenderMeshForVisu (std::vector< vtkPolyData * > iVectPolydata, int iTCoord)
 Save a mesh in the database and render the mesh. at the current time point. More...
 
void SaveInDBAndRenderSetOfContoursForVisu (std::vector< std::vector< vtkPolyData * > >, int)
 
void SetFullScreenView (int iS)
 
void SetSliceView ()
 
void SetSliceViewXY (int)
 
void SetSliceViewXZ (int)
 
void SetSliceViewYZ (int)
 
void SetTimePoint (const int &)
 
QString SnapshotViewXY (GoFigure::FileType iType, QString iBaseName=QString("snapshot-xy-"))
 
QString SnapshotViewXYZ (GoFigure::FileType iType, QString iBaseName=QString("snapshot-xyz-"))
 
QString SnapshotViewXZ (GoFigure::FileType iType, QString BaseName=QString("snapshot-xz-"))
 
QString SnapshotViewYZ (GoFigure::FileType iType, QString iBaseName=QString("snapshot-yz-"))
 
void SplitInDBAndRenderMeshForVisu (std::vector< vtkPolyData * > iVectPolydata)
 
void StepChanged (int iStep)
 
void TakeSnapshot ()
 
void updatePoints (QString, std::map< unsigned int, unsigned int >, QColor, int, int, int)
 
void updateSlot ()
 
void ValidateContour (int iTCoord)
 
void visibilityChanged (QString iName, bool iVisibility)
 
void VisibilityPickedActor ()
 

Signals

void ContourRepresentationPropertiesChanged ()
 
void FullScreenViewChanged (int FullScreen)
 
void RequestedPolydatas (std::list< vtkPolyData * >)
 
void SliceViewXYChanged (int Slice)
 
void SliceViewXZChanged (int Slice)
 
void SliceViewYZChanged (int Slice)
 
void StartContourSegmentation (vtkPoints *iPoints)
 
void StartMeshSegmentation (vtkPoints *iPoints)
 
void TimePointChanged (int TimePoint)
 
void UpdateBookmarkOpenActions (std::vector< QAction * >)
 

Public Member Functions

template<class TIndex >
void AddContourFromNodes (typename ContourContainer::MultiIndexContainerType::index< TIndex >::type::iterator iIt)
 
template<class TIndex >
void AddMeshFromNodes (typename ContourMeshContainer::MultiIndexContainerType::index< TIndex >::type::iterator iIt)
 
template<class TIndex >
void AddTrackFromNodes (typename TrackContainer::MultiIndexContainerType::index< TIndex >::type::iterator iIt)
 
GoFigureMeshAttributes ComputeMeshAttributes (vtkPolyData *iMesh, const bool &iIntensity, const unsigned int &iTCoord)
 
void CreateContoursActorsFromVisuContainer (std::list< unsigned int > iTPointToLoad)
 Creates actors for the contours which are at the given time points in the container. The actors are not visible by default. (see ShowTraces) More...
 
void CreateContoursActorsFromVisuContainer ()
 
void CreateMeshesActorsFromVisuContainer (std::list< unsigned int > iTPointToLoad)
 Creates actors for the meshes which are at the given time points in the container. The actors are not visible by default. (see ShowTraces) More...
 
void CreateMeshesActorsFromVisuContainer ()
 
void CreateModeToolBar (QMenu *iMenu, QToolBar *iToolBar)
 
ContourContainerGetContourContainer ()
 
MeshContainerGetMeshContainer ()
 
int GetSliceViewXY () const
 
int GetSliceViewXZ () const
 
int GetSliceViewYZ () const
 
GoFigure::TabDimensionType GetTabDimensionType () const
 
int GetTimeInterval () const
 
int GetTimePoint () const
 
TrackContainerGetTrackContainer ()
 
void InitializeToolsForTracesToolBar (QMenu *iMenu, QToolBar *iToolBar)
 
void InitializeTraceSettingsToolBar (QToolBar *iToolBar)
 
 QGoTabImageView3DwT (QWidget *parent=0)
 Default Constructor. More...
 
virtual void ReadSettings ()
 Read Settings for the related tab element. More...
 
void retranslateUi (QWidget *parent)
 
void SetLSMReader (vtkLSMReader *iReader, const int &iTimePoint)
 
void SetMegaCaptureFile (const GoFigureFileInfoHelperMultiIndexContainer &iContainer, const GoFigure::FileType &iFileType, const std::string &iHeader, const unsigned int &iTimePoint)
 
void setupUi (QWidget *parent)
 
void ShowTraces (const unsigned int &iTimePoint)
 Show traces from container which are at the given time point. Only updates contours and meshes since tracks and lineages go over several time points. More...
 
void UpdateTFEditor ()
 
virtual void WriteSettings ()
 Write Settings for the tab element. More...
 
virtual ~QGoTabImageView3DwT ()
 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...
 

Public Attributes

QGoPrintDatabasem_DataBaseTables
 

Protected Slots

void ActorPickingInteractorBehavior (bool)
 Mouse interaction style allows user to pick contours. More...
 
void AddBookmark ()
 
void AddTraceIDIntoPolydata (vtkPolyData *iPolydata, unsigned int iTraceID, const char *iTrace)
 
void AngleWidgetInteractorBehavior (bool)
 
void Box3DPicking (bool)
 
virtual void DefaultInteractorBehavior (bool)
 Mouse interaction style set as default. More...
 
void DistanceWidgetInteractorBehavior (bool)
 
void EnableVolumeRendering (bool iEnable)
 
void GetTheOpenBookmarksActions ()
 
void GetTheRelatedToDBActions ()
 
void GoToLocation (int iX, int iY, int iZ, int iT)
 
void GoToRealLocation (double iX, double iY, double iZ, int iT)
 
void ImportContours ()
 
void ImportMeshes ()
 
void ImportTracks ()
 
void ImportVTKMesh ()
 
void ManualInteractorBehavior (bool)
 Mouse interaction style allows contours segmentation, according to the selected type of segmentation. More...
 
void MoveToNextTimePoint ()
 
void MoveToPreviousTimePoint ()
 
void OpenExistingBookmark ()
 
void PlaneWidgetInteractorBehavior (bool)
 
void SeedInteractorBehavior (bool)
 Mouse interaction style allows meshes segmentation, according to the selected type of segmentation. More...
 
void SetDatabaseContainersAndDelayedConnections ()
 give the adress for the contours, meshes and tracks container to the QGoPrintDatabase, and make the connection for the status bar once the database variables have been set for the QGoPrintDatabase More...
 
void SetTraceSettingsToolBarVisible (bool IsVisible)
 slot connected to the toggleaction of the TW, the contour and mesh editing, update the trace and collection name of the trace settings toolbar and widget and check if the trace settings toolbar needs to be shown/hidden More...
 
void StartDopplerView ()
 access to the megacapture reader to get the entity of interest images through time. updates the navigation widget. More...
 
virtual void TranslateInteractorBehavior (bool)
 Mouse interaction style allows user to Translate volume with all buttons. More...
 
void UpdateSeeds ()
 
void UpdateTracesEditingWidget ()
 depending on the doppler/classic mode, update the TimePoints and channels of the mesh and contour widget More...
 
virtual void ZoomInteractorBehavior (bool)
 Mouse interaction style allows user to zoom in/out volume with all buttons. More...
 

Protected Member Functions

std::vector< vtkActor * > AddContour (vtkPolyData *dataset, vtkProperty *property=NULL)
 
void BuildDopplerWidget ()
 
void CreateAllViewActions ()
 
void CreateBookmarkActions ()
 
template<typename T >
void CreateConnectionsTraceEditingWidget (int iTimeMin, int iTimeMax, T *iTraceWidget)
 
void CreateContour (vtkPolyData *contour_nodes, vtkPolyData *iView)
 
void CreateContourEditingDockWidget (int iTimeMin, int iTimeMax)
 
void CreateDataBaseTablesConnection ()
 
void CreateMeshEditingDockWidget (int iTimeMin, int iTimeMax)
 
void CreateToolsActions ()
 
void CreateTracesActions ()
 
void CreateVisuDockWidget ()
 
void GetBackgroundColorFromImageViewer ()
 
std::vector< int > GetBoundingBox (vtkPolyData *contour)
 
int * GetImageCoordinatesFromWorldCoordinates (double pos[3])
 
void SaveContour (vtkPolyData *contour, vtkPolyData *contour_nodes, int iTCoord)
 
void SaveMesh (vtkPolyData *iMesh, int iTCoord, int iCollectionID=-1)
 Save mesh in Database. More...
 
void SetBackgroundColorToImageViewer ()
 
void SetTheContainersForDB ()
 give the adress for the contours, meshes and tracks container to the QGoPrintDatabase More...
 
void UpdateImage ()
 
template<class TIndex >
void VisualizeContour (typename ContourContainer::MultiIndexContainerType::template index< TIndex >::type::iterator iIt, vtkPolyData *iContour)
 
template<class TIndex >
void VisualizeMesh (typename MeshContainer::MultiIndexContainerType::template index< TIndex >::type::iterator iIt)
 
std::vector< vtkActor * > VisualizeTrace (vtkPolyData *iTrace, double *iRGBA)
 
template<class TContainer , class TIndex >
void VisualizeTraceBase (TContainer *iContainer, typename TContainer::MultiIndexContainerType::template index< TIndex >::type::iterator iIt, const double &iHighlighted, const double &iVisible, vtkPolyData *iContour=NULL)
 
template<class TIndex >
void VisualizeTrack (typename TrackContainer::MultiIndexContainerType::template index< TIndex >::type::iterator iIt)
 

Protected Attributes

QColor m_BackgroundColor
 
QAction * m_BackgroundColorAction
 
int m_CCoord
 
ContourContainerm_ContourContainer
 
QGoContourEditingWidgetManagerm_ContourEditingWidget
 
GoFigureFileInfoHelperMultiIndexContainer m_FileList
 
GoFigure::FileType m_FileType
 
vtkProperty * m_HighlightedContoursProperty
 
vtkProperty * m_HighlightedMeshesProperty
 
GoImageProcessorm_ImageProcessor
 
QGoImageView3Dm_ImageView
 
float m_IntersectionLineWidth
 
LineageContainerm_LineageContainer
 
QGoLineageViewDockWidgetm_LineageViewDockWidget
 
itk::MegaCaptureReader::Pointer m_MegaCaptureReader
 
MeshContainerm_MeshContainer
 
QGoMeshEditingWidgetManagerm_MeshEditingWidget
 
QGoNavigationDockWidgetm_NavigationDockWidget
 
int m_PCoord
 
QGoLineageViewerWidgetm_QGoLineageViewerWidget
 
int m_RCoord
 
std::vector< vtkPoints * > m_Seeds
 
QAction * m_TakeSnapshotAction
 
int m_TCoord
 
QToolBar * m_TraceSettingsToolBar
 
QGoTraceSettingsWidgetm_TraceSettingsWidget
 
TrackContainerm_TrackContainer
 
QGoTrackViewDockWidgetm_TrackViewDockWidget
 
QGoTransferFunctionDockWidgetm_TransferFunctionDockWidget
 
int m_XTileCoord
 
int m_YTileCoord
 
int m_ZTileCoord
 
- 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

void CreateDopplerTFEditor ()
 
void createTransferFunctionEditor (QString iName)
 
std::vector< QString > GetChannelNames ()
 
void InitializeImageRelatedWidget ()
 
 Q_DISABLE_COPY (QGoTabImageView3DwT)
 
void SetUpShortcuts ()
 

Private Attributes

bool m_VolumeRenderingEnabled
 

Detailed Description

Examples:
GUI/lib/qgotabimageview3dwt.cxx.

Definition at line 103 of file QGoTabImageView3DwT.h.

Member Typedef Documentation

Definition at line 120 of file QGoTabImageView3DwT.h.

Definition at line 119 of file QGoTabImageView3DwT.h.

Definition at line 118 of file QGoTabImageView3DwT.h.

Constructor & Destructor Documentation

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

Default Constructor.

Parameters
parent

Definition at line 124 of file QGoTabImageView3DwT.cxx.

QGoTabImageView3DwT::~QGoTabImageView3DwT ( )
virtual

Destructor.

Definition at line 272 of file QGoTabImageView3DwT.cxx.

Member Function Documentation

void QGoTabImageView3DwT::ActorPickingInteractorBehavior ( bool  iVisible)
protectedslot

Mouse interaction style allows user to pick contours.

Mouse interaction style allows user to pick contours

Definition at line 522 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::AddBookmark ( )
protectedslot

Definition at line 2245 of file QGoTabImageView3DwT.cxx.

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

Definition at line 2084 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::AddContourForMeshToContours ( vtkPolyData *  iInput)
slot

Definition at line 2568 of file QGoTabImageView3DwT.cxx.

template<class TIndex >
void QGoTabImageView3DwT::AddContourFromNodes ( typename ContourContainer::MultiIndexContainerType::index< TIndex >::type::iterator  iIt)
inline

Definition at line 205 of file QGoTabImageView3DwT.h.

template<class TIndex >
void QGoTabImageView3DwT::AddMeshFromNodes ( typename ContourMeshContainer::MultiIndexContainerType::index< TIndex >::type::iterator  iIt)
inline

Definition at line 187 of file QGoTabImageView3DwT.h.

void QGoTabImageView3DwT::AddTraceIDIntoPolydata ( vtkPolyData *  iPolydata,
unsigned int  iTraceID,
const char *  iTrace 
)
protectedslot

Definition at line 3011 of file QGoTabImageView3DwT.cxx.

template<class TIndex >
void QGoTabImageView3DwT::AddTrackFromNodes ( typename TrackContainer::MultiIndexContainerType::index< TIndex >::type::iterator  iIt)
inline

Definition at line 195 of file QGoTabImageView3DwT.h.

void QGoTabImageView3DwT::AdjustWindowLevel ( double  iMin,
double  iMax 
)
slot

Definition at line 3655 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::AngleWidgetInteractorBehavior ( bool  iActive)
protectedslot

Definition at line 543 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::Box3DPicking ( bool  iActive)
protectedslot

Definition at line 552 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::BuildDopplerWidget ( )
protected

Definition at line 1520 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::Change3DPerspectiveToAxial ( )
slot

Definition at line 2257 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::Change3DPerspectiveToCoronal ( )
slot

Definition at line 2266 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::Change3DPerspectiveToSagittal ( )
slot

Definition at line 2275 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ChangeBackgroundColor ( )
slot

Definition at line 1817 of file QGoTabImageView3DwT.cxx.

GoFigureMeshAttributes QGoTabImageView3DwT::ComputeMeshAttributes ( vtkPolyData *  iMesh,
const bool &  iIntensity,
const unsigned int &  iTCoord 
)

Definition at line 2634 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ContourRepresentationPropertiesChanged ( )
signal
void QGoTabImageView3DwT::CreateAllViewActions ( )
protected
Todo:
create group actions for views changing

Definition at line 726 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateBookmarkActions ( )
protected

Definition at line 1094 of file QGoTabImageView3DwT.cxx.

template<typename T >
void QGoTabImageView3DwT::CreateConnectionsTraceEditingWidget ( int  iTimeMin,
int  iTimeMax,
T *  iTraceWidget 
)
inlineprotected

Definition at line 577 of file QGoTabImageView3DwT.h.

void QGoTabImageView3DwT::CreateContour ( vtkPolyData *  contour_nodes,
vtkPolyData *  iView 
)
protected

Definition at line 2353 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateContourEditingDockWidget ( int  iTimeMin,
int  iTimeMax 
)
protected

Definition at line 357 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateContoursActorsFromVisuContainer ( std::list< unsigned int >  iTPointToLoad)

Creates actors for the contours which are at the given time points in the container. The actors are not visible by default. (see ShowTraces)

Parameters
[in]iTPointToLoadTime points to be used to create actors.

Definition at line 3493 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateContoursActorsFromVisuContainer ( )

Definition at line 3471 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateDataBaseTablesConnection ( )
protected

Definition at line 621 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateDopplerTFEditor ( )
private

Definition at line 3756 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateMeshEditingDockWidget ( int  iTimeMin,
int  iTimeMax 
)
protected
Todo:
connect the signal, reimplement the slot

Definition at line 409 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateMeshesActorsFromVisuContainer ( std::list< unsigned int >  iTPointToLoad)

Creates actors for the meshes which are at the given time points in the container. The actors are not visible by default. (see ShowTraces)

Parameters
[in]iTPointToLoadTime points to be used to create actors.

Definition at line 3552 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateMeshesActorsFromVisuContainer ( )

Definition at line 3530 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateMeshFromSelectedContours ( std::list< unsigned int >  ListContourIDs,
int  iMeshID 
)
slot
Todo:
Bug iMeshID is not the one it is supposed to be

Definition at line 2792 of file QGoTabImageView3DwT.cxx.

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

Reimplemented from QGoTabElementBase.

Definition at line 3180 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateToolsActions ( )
protected

Definition at line 1071 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateTracesActions ( )
protected

Definition at line 1001 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::createTransferFunctionEditor ( QString  iName)
private

Definition at line 3346 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::CreateVisuDockWidget ( )
protected
Todo:
update annotation on current slice (i.e. slice x/23) when moving through x via this dockwidget

Definition at line 570 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::DefaultInteractorBehavior ( bool  iVisible)
protectedvirtualslot

Mouse interaction style set as default.

Definition at line 485 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::DistanceWidgetInteractorBehavior ( bool  iActive)
protectedslot

Definition at line 534 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::DopplerSizeChanged ( int  iSize)
slot

Definition at line 3320 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::EnableVolumeRendering ( bool  iEnable)
protectedslot

Definition at line 3452 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::FullScreenViewChanged ( int  FullScreen)
signal
void QGoTabImageView3DwT::FullScreenViewXY ( )
slot

Definition at line 1744 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::FullScreenViewXYZ ( )
slot

Definition at line 1783 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::FullScreenViewXZ ( )
slot

Definition at line 1757 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::FullScreenViewYZ ( )
slot

Definition at line 1770 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::GetBackgroundColorFromImageViewer ( )
protected

Definition at line 1796 of file QGoTabImageView3DwT.cxx.

std::vector< int > QGoTabImageView3DwT::GetBoundingBox ( vtkPolyData *  contour)
protected

Definition at line 1930 of file QGoTabImageView3DwT.cxx.

std::vector< QString > QGoTabImageView3DwT::GetChannelNames ( )
private

Definition at line 339 of file QGoTabImageView3DwT.cxx.

ContourContainer* QGoTabImageView3DwT::GetContourContainer ( )
inline

Definition at line 171 of file QGoTabImageView3DwT.h.

int * QGoTabImageView3DwT::GetImageCoordinatesFromWorldCoordinates ( double  pos[3])
protected

Definition at line 2076 of file QGoTabImageView3DwT.cxx.

MeshContainer* QGoTabImageView3DwT::GetMeshContainer ( )
inline

Definition at line 176 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::GetSliceViewXY ( ) const

Definition at line 2205 of file QGoTabImageView3DwT.cxx.

int QGoTabImageView3DwT::GetSliceViewXZ ( ) const

Definition at line 2213 of file QGoTabImageView3DwT.cxx.

int QGoTabImageView3DwT::GetSliceViewYZ ( ) const

Definition at line 2221 of file QGoTabImageView3DwT.cxx.

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

Implements QGoTabElementBase.

Definition at line 1333 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::GetTheOpenBookmarksActions ( )
protectedslot

Definition at line 1176 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::GetTheRelatedToDBActions ( )
protectedslot

Definition at line 1114 of file QGoTabImageView3DwT.cxx.

int QGoTabImageView3DwT::GetTimeInterval ( ) const

Definition at line 2237 of file QGoTabImageView3DwT.cxx.

int QGoTabImageView3DwT::GetTimePoint ( ) const

Definition at line 2229 of file QGoTabImageView3DwT.cxx.

TrackContainer* QGoTabImageView3DwT::GetTrackContainer ( )
inline

Definition at line 181 of file QGoTabImageView3DwT.h.

void QGoTabImageView3DwT::GoToDefaultMenu ( bool  iEnable = false)
slot

Definition at line 2620 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::GoToLocation ( int  iX,
int  iY,
int  iZ,
int  iT 
)
protectedslot

Definition at line 2982 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::GoToRealLocation ( double  iX,
double  iY,
double  iZ,
int  iT 
)
protectedslot

Definition at line 2993 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::HighlightPickedActor ( )
slot

Definition at line 2134 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ImportContours ( )
protectedslot

Definition at line 2778 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ImportMeshes ( )
protectedslot

Definition at line 2873 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ImportTracks ( )
protectedslot

Definition at line 2886 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ImportVTKMesh ( )
protectedslot

Definition at line 2902 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::InitializeImageRelatedWidget ( )
private

Definition at line 1409 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::InitializeToolsForTracesToolBar ( QMenu *  iMenu,
QToolBar *  iToolBar 
)

Definition at line 3059 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::InitializeTraceSettingsToolBar ( QToolBar *  iToolBar)

Definition at line 3128 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ManualInteractorBehavior ( bool  iVisible)
protectedslot

Mouse interaction style allows contours segmentation, according to the selected type of segmentation.

Definition at line 467 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::MergeInDBAndRenderMeshForVisu ( vtkPolyData *  iVectPolydata)
slot

Definition at line 2463 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ModeChanged ( int  iChannel)
slot

Definition at line 1839 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::MoveToNextTimePoint ( )
protectedslot

Definition at line 3738 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::MoveToPreviousTimePoint ( )
protectedslot

Definition at line 3747 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::OpenExistingBookmark ( )
protectedslot

Definition at line 1222 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::PlaneWidgetInteractorBehavior ( bool  iActive)
protectedslot

Definition at line 561 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::PolydatasRequested ( )
slot

Definition at line 3701 of file QGoTabImageView3DwT.cxx.

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

Definition at line 1731 of file QGoTabImageView3DwT.cxx.

virtual void QGoTabImageView3DwT::ReadSettings ( )
inlinevirtual

Read Settings for the related tab element.

Implements QGoTabElementBase.

Definition at line 169 of file QGoTabImageView3DwT.h.

void QGoTabImageView3DwT::ReEditContour ( const unsigned int &  iId)
slot

Definition at line 2093 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::RequestedPolydatas ( std::list< vtkPolyData * >  )
signal
void QGoTabImageView3DwT::retranslateUi ( QWidget *  parent)
Parameters
parent

Definition at line 1324 of file QGoTabImageView3DwT.cxx.

int QGoTabImageView3DwT::SaveAndVisuContour ( int  iTCoord,
vtkPolyData *  iView = NULL 
)
slot

Definition at line 2298 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SaveAndVisuMesh ( vtkPolyData *  iView,
unsigned int  iTCoord,
int  iCollection = -1 
)
slot

Save a mesh in the database and render the mesh at the given time point.

Parameters
[in]iCollectionCollection ID we want the mesh to belong to. if -1, we get the collection ID from the trace editing widget.
Todo:
to be renamed

Definition at line 2534 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SaveContour ( vtkPolyData *  contour,
vtkPolyData *  contour_nodes,
int  iTCoord 
)
protected
Todo:
remove m_FFMPEGWriter and m_AVIWriter from this class

Definition at line 1907 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SaveInDBAndRenderContourForVisu ( std::vector< vtkPolyData * >  iVectPolydata,
int  iTCoord 
)
slot

Definition at line 2518 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SaveInDBAndRenderMeshForVisu ( std::vector< vtkPolyData * >  iVectPolydata,
int  iTCoord 
)
slot

Save a mesh in the database and render the mesh. at the current time point.

Definition at line 2401 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SaveInDBAndRenderSetOfContoursForVisu ( std::vector< std::vector< vtkPolyData * > >  iVectorSetOfContours,
int  iTCoord 
)
slot

Definition at line 2497 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SaveMesh ( vtkPolyData *  iMesh,
int  iTCoord,
int  iCollectionID = -1 
)
protected

Save mesh in Database.

Parameters
[in]iMeshmesh to be saved
[in]iTCoord

Definition at line 2379 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SeedInteractorBehavior ( bool  iVisible)
protectedslot

Mouse interaction style allows meshes segmentation, according to the selected type of segmentation.

Definition at line 477 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetBackgroundColorToImageViewer ( )
protected

Definition at line 1808 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetDatabaseContainersAndDelayedConnections ( )
protectedslot

give the adress for the contours, meshes and tracks container to the QGoPrintDatabase, and make the connection for the status bar once the database variables have been set for the QGoPrintDatabase

Definition at line 660 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetFullScreenView ( int  iS)
slot

Definition at line 1722 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetLSMReader ( vtkLSMReader iReader,
const int &  iTimePoint 
)
Parameters
[in]iReader
[in]iTimePoint
Examples:
GUI/lib/qgotabimageview3dwt.cxx.

Definition at line 1342 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetMegaCaptureFile ( const GoFigureFileInfoHelperMultiIndexContainer iContainer,
const GoFigure::FileType iFileType,
const std::string &  iHeader,
const unsigned int &  iTimePoint 
)
Parameters
[in]iContainerMegaCapture file container
[in]iFileTypefile type (PNG, JPEG...)
[in]iHeaderpath to MegaCapture header
[in]iTimePointTime point

Definition at line 1369 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetSliceView ( )
slot

Definition at line 2284 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetSliceViewXY ( int  iS)
slot

Definition at line 1695 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetSliceViewXZ ( int  iS)
slot

Definition at line 1704 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetSliceViewYZ ( int  iS)
slot

Definition at line 1713 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetTheContainersForDB ( )
protected

give the adress for the contours, meshes and tracks container to the QGoPrintDatabase

Definition at line 673 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetTimePoint ( const int &  iTimePoint)
slot
Examples:
GUI/lib/qgotabimageview3dwt.cxx.

Definition at line 1554 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetTraceSettingsToolBarVisible ( bool  IsVisible)
protectedslot

slot connected to the toggleaction of the TW, the contour and mesh editing, update the trace and collection name of the trace settings toolbar and widget and check if the trace settings toolbar needs to be shown/hidden

Definition at line 3025 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SetUpShortcuts ( )
private

Definition at line 3711 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::setupUi ( QWidget *  parent)
Parameters
parent

Definition at line 1280 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ShowTraces ( const unsigned int &  iTimePoint)

Show traces from container which are at the given time point. Only updates contours and meshes since tracks and lineages go over several time points.

Parameters
[in]iTimePointVisible time point.

Definition at line 3639 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SliceViewXYChanged ( int  Slice)
signal
void QGoTabImageView3DwT::SliceViewXZChanged ( int  Slice)
signal
void QGoTabImageView3DwT::SliceViewYZChanged ( int  Slice)
signal
QString QGoTabImageView3DwT::SnapshotViewXY ( GoFigure::FileType  iType,
QString  iBaseName = QString("snapshot-xy-") 
)
slot

Definition at line 1651 of file QGoTabImageView3DwT.cxx.

QString QGoTabImageView3DwT::SnapshotViewXYZ ( GoFigure::FileType  iType,
QString  iBaseName = QString("snapshot-xyz-") 
)
slot

Definition at line 1684 of file QGoTabImageView3DwT.cxx.

QString QGoTabImageView3DwT::SnapshotViewXZ ( GoFigure::FileType  iType,
QString  BaseName = QString("snapshot-xz-") 
)
slot

Definition at line 1662 of file QGoTabImageView3DwT.cxx.

QString QGoTabImageView3DwT::SnapshotViewYZ ( GoFigure::FileType  iType,
QString  iBaseName = QString("snapshot-yz-") 
)
slot

Definition at line 1673 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::SplitInDBAndRenderMeshForVisu ( std::vector< vtkPolyData * >  iVectPolydata)
slot

Definition at line 2417 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::StartContourSegmentation ( vtkPoints *  iPoints)
signal
void QGoTabImageView3DwT::StartDopplerView ( )
protectedslot

access to the megacapture reader to get the entity of interest images through time. updates the navigation widget.

Definition at line 1012 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::StartMeshSegmentation ( vtkPoints *  iPoints)
signal
void QGoTabImageView3DwT::StepChanged ( int  iStep)
slot

Definition at line 1882 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::TakeSnapshot ( )
slot

Definition at line 1243 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::TimePointChanged ( int  TimePoint)
signal
void QGoTabImageView3DwT::TranslateInteractorBehavior ( bool  iVisible)
protectedvirtualslot

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

Definition at line 509 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::UpdateBookmarkOpenActions ( std::vector< QAction * >  )
signal
void QGoTabImageView3DwT::UpdateImage ( )
protected

Definition at line 1483 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::updatePoints ( QString  iName,
std::map< unsigned int, unsigned int >  iPoints,
QColor  iColor,
int  iMin,
int  iMax,
int  iGamma 
)
slot

Definition at line 3423 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::UpdateSeeds ( )
protectedslot

Definition at line 326 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::updateSlot ( )
slot

Definition at line 3411 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::UpdateTFEditor ( )

Definition at line 3674 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::UpdateTracesEditingWidget ( )
protectedslot

depending on the doppler/classic mode, update the TimePoints and channels of the mesh and contour widget

Definition at line 3141 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::ValidateContour ( int  iTCoord)
slot
Todo:
Nicolas - Fix leaks generated by

Definition at line 2018 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::visibilityChanged ( QString  iName,
bool  iVisibility 
)
slot

Definition at line 3305 of file QGoTabImageView3DwT.cxx.

void QGoTabImageView3DwT::VisibilityPickedActor ( )
slot

Definition at line 2171 of file QGoTabImageView3DwT.cxx.

template<class TIndex >
void QGoTabImageView3DwT::VisualizeContour ( typename ContourContainer::MultiIndexContainerType::template index< TIndex >::type::iterator  iIt,
vtkPolyData *  iContour 
)
inlineprotected

Definition at line 487 of file QGoTabImageView3DwT.h.

template<class TIndex >
void QGoTabImageView3DwT::VisualizeMesh ( typename MeshContainer::MultiIndexContainerType::template index< TIndex >::type::iterator  iIt)
inlineprotected

Definition at line 512 of file QGoTabImageView3DwT.h.

std::vector< vtkActor * > QGoTabImageView3DwT::VisualizeTrace ( vtkPolyData *  iTrace,
double *  iRGBA 
)
protected

Definition at line 1986 of file QGoTabImageView3DwT.cxx.

template<class TContainer , class TIndex >
void QGoTabImageView3DwT::VisualizeTraceBase ( TContainer *  iContainer,
typename TContainer::MultiIndexContainerType::template index< TIndex >::type::iterator  iIt,
const double &  iHighlighted,
const double &  iVisible,
vtkPolyData *  iContour = NULL 
)
inlineprotected

Definition at line 546 of file QGoTabImageView3DwT.h.

template<class TIndex >
void QGoTabImageView3DwT::VisualizeTrack ( typename TrackContainer::MultiIndexContainerType::template index< TIndex >::type::iterator  iIt)
inlineprotected

Definition at line 529 of file QGoTabImageView3DwT.h.

virtual void QGoTabImageView3DwT::WriteSettings ( )
inlinevirtual

Write Settings for the tab element.

Implements QGoTabElementBase.

Definition at line 165 of file QGoTabImageView3DwT.h.

void QGoTabImageView3DwT::ZoomInteractorBehavior ( bool  iVisible)
protectedvirtualslot

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

Definition at line 497 of file QGoTabImageView3DwT.cxx.

Member Data Documentation

QColor QGoTabImageView3DwT::m_BackgroundColor
protected

Definition at line 428 of file QGoTabImageView3DwT.h.

QAction* QGoTabImageView3DwT::m_BackgroundColorAction
protected

Definition at line 429 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::m_CCoord
protected

Definition at line 437 of file QGoTabImageView3DwT.h.

ContourContainer* QGoTabImageView3DwT::m_ContourContainer
protected

Definition at line 465 of file QGoTabImageView3DwT.h.

QGoContourEditingWidgetManager* QGoTabImageView3DwT::m_ContourEditingWidget
protected

Definition at line 452 of file QGoTabImageView3DwT.h.

QGoPrintDatabase* QGoTabImageView3DwT::m_DataBaseTables

Definition at line 241 of file QGoTabImageView3DwT.h.

GoFigureFileInfoHelperMultiIndexContainer QGoTabImageView3DwT::m_FileList
protected

Definition at line 426 of file QGoTabImageView3DwT.h.

GoFigure::FileType QGoTabImageView3DwT::m_FileType
protected

Definition at line 427 of file QGoTabImageView3DwT.h.

vtkProperty* QGoTabImageView3DwT::m_HighlightedContoursProperty
protected

Definition at line 420 of file QGoTabImageView3DwT.h.

vtkProperty* QGoTabImageView3DwT::m_HighlightedMeshesProperty
protected

Definition at line 421 of file QGoTabImageView3DwT.h.

GoImageProcessor* QGoTabImageView3DwT::m_ImageProcessor
protected

Definition at line 423 of file QGoTabImageView3DwT.h.

QGoImageView3D* QGoTabImageView3DwT::m_ImageView
protected

Definition at line 418 of file QGoTabImageView3DwT.h.

float QGoTabImageView3DwT::m_IntersectionLineWidth
protected

Definition at line 433 of file QGoTabImageView3DwT.h.

LineageContainer* QGoTabImageView3DwT::m_LineageContainer
protected

Definition at line 468 of file QGoTabImageView3DwT.h.

QGoLineageViewDockWidget* QGoTabImageView3DwT::m_LineageViewDockWidget
protected

Definition at line 456 of file QGoTabImageView3DwT.h.

itk::MegaCaptureReader::Pointer QGoTabImageView3DwT::m_MegaCaptureReader
protected

Definition at line 425 of file QGoTabImageView3DwT.h.

MeshContainer* QGoTabImageView3DwT::m_MeshContainer
protected

Definition at line 466 of file QGoTabImageView3DwT.h.

QGoMeshEditingWidgetManager* QGoTabImageView3DwT::m_MeshEditingWidget
protected

Definition at line 451 of file QGoTabImageView3DwT.h.

QGoNavigationDockWidget* QGoTabImageView3DwT::m_NavigationDockWidget
protected

Definition at line 443 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::m_PCoord
protected

Definition at line 435 of file QGoTabImageView3DwT.h.

QGoLineageViewerWidget* QGoTabImageView3DwT::m_QGoLineageViewerWidget
protected

Definition at line 458 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::m_RCoord
protected

Definition at line 436 of file QGoTabImageView3DwT.h.

std::vector< vtkPoints* > QGoTabImageView3DwT::m_Seeds
protected

Definition at line 462 of file QGoTabImageView3DwT.h.

QAction* QGoTabImageView3DwT::m_TakeSnapshotAction
protected

Definition at line 430 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::m_TCoord
protected

Definition at line 441 of file QGoTabImageView3DwT.h.

QToolBar* QGoTabImageView3DwT::m_TraceSettingsToolBar
protected

Definition at line 431 of file QGoTabImageView3DwT.h.

QGoTraceSettingsWidget* QGoTabImageView3DwT::m_TraceSettingsWidget
protected

Definition at line 460 of file QGoTabImageView3DwT.h.

TrackContainer* QGoTabImageView3DwT::m_TrackContainer
protected

Definition at line 467 of file QGoTabImageView3DwT.h.

QGoTrackViewDockWidget* QGoTabImageView3DwT::m_TrackViewDockWidget
protected

Definition at line 454 of file QGoTabImageView3DwT.h.

QGoTransferFunctionDockWidget* QGoTabImageView3DwT::m_TransferFunctionDockWidget
protected

Definition at line 444 of file QGoTabImageView3DwT.h.

bool QGoTabImageView3DwT::m_VolumeRenderingEnabled
private

Definition at line 770 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::m_XTileCoord
protected

Definition at line 438 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::m_YTileCoord
protected

Definition at line 439 of file QGoTabImageView3DwT.h.

int QGoTabImageView3DwT::m_ZTileCoord
protected

Definition at line 440 of file QGoTabImageView3DwT.h.


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