CustusX  22.04-rc5
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

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

Definition at line 309 of file cxViewGroupData.cpp.

Member Function Documentation

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

Definition at line 352 of file cxViewGroupData.cpp.

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.

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

Definition at line 613 of file cxViewGroupData.cpp.

void cx::ViewGroupData::clearData ( )

Definition at line 451 of file cxViewGroupData.cpp.

void cx::ViewGroupData::controllingToolChanged ( )
signal
void cx::ViewGroupData::dataViewPropertiesChanged ( QString  uid)
signal
CameraDataPtr cx::ViewGroupData::getCamera3D ( )
inline

Definition at line 134 of file cxViewGroupData.h.

ToolPtr cx::ViewGroupData::getControllingTool ( )

Definition at line 679 of file cxViewGroupData.cpp.

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

Definition at line 485 of file cxViewGroupData.cpp.

SyncedValuePtr cx::ViewGroupData::getGlobal2DZoom ( )

Definition at line 563 of file cxViewGroupData.cpp.

SyncedValuePtr cx::ViewGroupData::getGroup2DZoom ( )

Definition at line 559 of file cxViewGroupData.cpp.

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

Definition at line 512 of file cxViewGroupData.cpp.

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

Definition at line 527 of file cxViewGroupData.cpp.

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

Definition at line 517 of file cxViewGroupData.cpp.

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

Definition at line 543 of file cxViewGroupData.cpp.

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

Definition at line 402 of file cxViewGroupData.cpp.

StringListPropertyPtr cx::ViewGroupData::getSliceDefinitionProperty ( )

Definition at line 608 of file cxViewGroupData.cpp.

PlaneTypeCollection cx::ViewGroupData::getSliceDefinitions ( )

Definition at line 596 of file cxViewGroupData.cpp.

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

Definition at line 522 of file cxViewGroupData.cpp.

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

Definition at line 115 of file cxViewGroupData.h.

QString cx::ViewGroupData::getVideoSource ( ) const

Definition at line 480 of file cxViewGroupData.cpp.

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

Definition at line 554 of file cxViewGroupData.cpp.

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

Definition at line 631 of file cxViewGroupData.cpp.

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

Definition at line 439 of file cxViewGroupData.cpp.

void cx::ViewGroupData::requestInitialize ( )

Definition at line 347 of file cxViewGroupData.cpp.

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

Definition at line 683 of file cxViewGroupData.cpp.

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

Definition at line 548 of file cxViewGroupData.cpp.

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

Definition at line 409 of file cxViewGroupData.cpp.

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

Definition at line 657 of file cxViewGroupData.cpp.

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

Definition at line 602 of file cxViewGroupData.cpp.

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

Definition at line 472 of file cxViewGroupData.cpp.

void cx::ViewGroupData::videoSourceChanged ( QString  uid)
signal
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: