NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::ViewGroupData Class Reference

Container for data shared between all members of a view group. More...

#include <cxViewGroupData.h>

Inheritance diagram for cx::ViewGroupData:

Classes

struct  Options
 

Signals

void dataViewPropertiesChanged (QString uid)
 
void videoSourceChanged (QString uid)
 
void initialized ()
 
void optionsChanged ()
 
void controllingToolChanged ()
 

Public Member Functions

 ViewGroupData (CoreServicesPtr services, QString uid)
 
void requestInitialize ()
 
QString getUid () const
 
std::vector< DataPtrgetData (DataViewProperties properties=DataViewProperties::createFull()) const
 
QString getVideoSource () const
 
void addData (QString uid)
 
void addDataSorted (QString uid)
 add data in a predefined ordering: CT/MR/SC/US/USA/Mesh/Metrics More...
 
void setVideoSource (QString uid)
 
bool removeData (QString uid)
 
void clearData ()
 
std::vector< ImagePtrgetImages (DataViewProperties properties) const
 
std::vector< MeshPtrgetMeshes (DataViewProperties properties) const
 
std::vector< TrackedStreamPtrgetTrackedStreams (DataViewProperties properties) const
 
std::vector< ImagePtrgetImagesAndChangingImagesFromTrackedStreams (DataViewProperties properties, bool include2D=false) const
 
DataViewProperties getProperties (QString uid)
 
void setProperties (QString uid, DataViewProperties properties)
 
void initializeGlobal2DZoom (SyncedValuePtr val)
 
SyncedValuePtr getGroup2DZoom ()
 
SyncedValuePtr getGlobal2DZoom ()
 
CameraDataPtr getCamera3D ()
 
void zoomCamera3D (int zoomFactor)
 
PlaneTypeCollection getSliceDefinitions ()
 
void setSliceDefinitions (PlaneTypeCollection val)
 
StringListPropertyPtr getSliceDefinitionProperty ()
 
ToolPtr getControllingTool ()
 
void setControllingTool (ToolPtr tool)
 
Options getOptions () const
 
void setOptions (Options options)
 
void setRegistrationMode (REGISTRATION_STATUS mode)
 
void addXml (QDomNode &dataNode)
 
void parseXml (QDomNode dataNode)
 

Detailed Description

Container for data shared between all members of a view group.

Definition at line 108 of file cxViewGroupData.h.

Constructor & Destructor Documentation

◆ ViewGroupData()

cx::ViewGroupData::ViewGroupData ( CoreServicesPtr  services,
QString  uid 
)
explicit

Definition at line 309 of file cxViewGroupData.cpp.

Member Function Documentation

◆ addData()

void cx::ViewGroupData::addData ( QString  uid)

Definition at line 352 of file cxViewGroupData.cpp.

◆ addDataSorted()

void cx::ViewGroupData::addDataSorted ( QString  uid)

add data in a predefined ordering: CT/MR/SC/US/USA/Mesh/Metrics

Definition at line 359 of file cxViewGroupData.cpp.

◆ addXml()

void cx::ViewGroupData::addXml ( QDomNode &  dataNode)

Definition at line 613 of file cxViewGroupData.cpp.

◆ clearData()

void cx::ViewGroupData::clearData ( )

Definition at line 451 of file cxViewGroupData.cpp.

◆ controllingToolChanged

void cx::ViewGroupData::controllingToolChanged ( )
signal

◆ dataViewPropertiesChanged

void cx::ViewGroupData::dataViewPropertiesChanged ( QString  uid)
signal

◆ getCamera3D()

CameraDataPtr cx::ViewGroupData::getCamera3D ( )
inline

Definition at line 134 of file cxViewGroupData.h.

◆ getControllingTool()

ToolPtr cx::ViewGroupData::getControllingTool ( )

Definition at line 679 of file cxViewGroupData.cpp.

◆ getData()

std::vector< DataPtr > cx::ViewGroupData::getData ( DataViewProperties  properties = DataViewProperties::createFull()) const

Definition at line 485 of file cxViewGroupData.cpp.

◆ getGlobal2DZoom()

SyncedValuePtr cx::ViewGroupData::getGlobal2DZoom ( )

Definition at line 563 of file cxViewGroupData.cpp.

◆ getGroup2DZoom()

SyncedValuePtr cx::ViewGroupData::getGroup2DZoom ( )

Definition at line 559 of file cxViewGroupData.cpp.

◆ getImages()

std::vector< ImagePtr > cx::ViewGroupData::getImages ( DataViewProperties  properties) const

Definition at line 512 of file cxViewGroupData.cpp.

◆ getImagesAndChangingImagesFromTrackedStreams()

std::vector< ImagePtr > cx::ViewGroupData::getImagesAndChangingImagesFromTrackedStreams ( DataViewProperties  properties,
bool  include2D = false 
) const

Definition at line 527 of file cxViewGroupData.cpp.

◆ getMeshes()

std::vector< MeshPtr > cx::ViewGroupData::getMeshes ( DataViewProperties  properties) const

Definition at line 517 of file cxViewGroupData.cpp.

◆ getOptions()

ViewGroupData::Options cx::ViewGroupData::getOptions ( ) const

Definition at line 543 of file cxViewGroupData.cpp.

◆ getProperties()

DataViewProperties cx::ViewGroupData::getProperties ( QString  uid)

Definition at line 402 of file cxViewGroupData.cpp.

◆ getSliceDefinitionProperty()

StringListPropertyPtr cx::ViewGroupData::getSliceDefinitionProperty ( )

Definition at line 608 of file cxViewGroupData.cpp.

◆ getSliceDefinitions()

PlaneTypeCollection cx::ViewGroupData::getSliceDefinitions ( )

Definition at line 596 of file cxViewGroupData.cpp.

◆ getTrackedStreams()

std::vector< TrackedStreamPtr > cx::ViewGroupData::getTrackedStreams ( DataViewProperties  properties) const

Definition at line 522 of file cxViewGroupData.cpp.

◆ getUid()

QString cx::ViewGroupData::getUid ( ) const
inline

Definition at line 115 of file cxViewGroupData.h.

◆ getVideoSource()

QString cx::ViewGroupData::getVideoSource ( ) const

Definition at line 480 of file cxViewGroupData.cpp.

◆ initialized

void cx::ViewGroupData::initialized ( )
signal

◆ initializeGlobal2DZoom()

void cx::ViewGroupData::initializeGlobal2DZoom ( SyncedValuePtr  val)

Definition at line 554 of file cxViewGroupData.cpp.

◆ optionsChanged

void cx::ViewGroupData::optionsChanged ( )
signal

◆ parseXml()

void cx::ViewGroupData::parseXml ( QDomNode  dataNode)

Definition at line 631 of file cxViewGroupData.cpp.

◆ removeData()

bool cx::ViewGroupData::removeData ( QString  uid)

Definition at line 439 of file cxViewGroupData.cpp.

◆ requestInitialize()

void cx::ViewGroupData::requestInitialize ( )

Definition at line 347 of file cxViewGroupData.cpp.

◆ setControllingTool()

void cx::ViewGroupData::setControllingTool ( ToolPtr  tool)

Definition at line 683 of file cxViewGroupData.cpp.

◆ setOptions()

void cx::ViewGroupData::setOptions ( ViewGroupData::Options  options)

Definition at line 548 of file cxViewGroupData.cpp.

◆ setProperties()

void cx::ViewGroupData::setProperties ( QString  uid,
DataViewProperties  properties 
)

Definition at line 409 of file cxViewGroupData.cpp.

◆ setRegistrationMode()

void cx::ViewGroupData::setRegistrationMode ( REGISTRATION_STATUS  mode)

Definition at line 657 of file cxViewGroupData.cpp.

◆ setSliceDefinitions()

void cx::ViewGroupData::setSliceDefinitions ( PlaneTypeCollection  val)

Definition at line 602 of file cxViewGroupData.cpp.

◆ setVideoSource()

void cx::ViewGroupData::setVideoSource ( QString  uid)

Definition at line 472 of file cxViewGroupData.cpp.

◆ videoSourceChanged

void cx::ViewGroupData::videoSourceChanged ( QString  uid)
signal

◆ zoomCamera3D()

void cx::ViewGroupData::zoomCamera3D ( int  zoomFactor)

Definition at line 568 of file cxViewGroupData.cpp.


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