CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::RegionOfInterestMetric Class Reference

#include <cxRegionOfInterestMetric.h>

Inheritance diagram for cx::RegionOfInterestMetric:
cx::DataMetric cx::Data

Public Member Functions

virtual ~RegionOfInterestMetric ()
virtual Vector3D getRefCoord () const
virtual QString getAsSingleLineString () const
virtual bool isValid () const
virtual void addXml (QDomNode &dataNode)
 adds xml information about the data and its variabels More...
virtual void parseXml (QDomNode &dataNode)
 Use a XML node to load data. More...
virtual DoubleBoundingBox3D boundingBox () const
virtual QString getType () const
virtual QString getValueAsString () const
virtual bool showValueInGraphics () const
QStringList getDataList ()
void setDataList (QStringList val)
bool getUseActiveTooltip ()
void setUseActiveTooltip (bool val)
double getMargin ()
void setMargin (double val)
QString getMaxBoundsData ()
void setMaxBoundsData (QString val)
RegionOfInterest getROI () const
- Public Member Functions inherited from cx::DataMetric
 DataMetric (const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
virtual ~DataMetric ()
virtual QIcon getIcon ()
virtual QString getSpace ()
virtual Transform3D getRefFrame () const
void setColor (const QColor &color)
QColor getColor ()
virtual bool load (QString path, FileManagerServicePtr filemanager)
 metrics don't store info in file, xml only. More...
virtual void save (const QString &basePath, FileManagerServicePtr filemanager)
 metrics don't store info in file, xml only. More...
- Public Member Functions inherited from cx::Data
 Data (const QString &uid, const QString &name="")
virtual ~Data ()
void setUid (const QString &uid)
void setName (const QString &name)
void setAcquisitionTime (QDateTime time)
void setSoftwareAcquisitionTime (QDateTime time)
void setOriginalAcquisitionTime (QDateTime time)
virtual RegistrationHistoryPtr get_rMd_History ()
LandmarksPtr getLandmarks ()
virtual QString getUid () const
virtual QString getName () const
virtual Transform3D get_rMd () const
virtual QDateTime getAcquisitionTime () const
virtual TimeInfo getAdvancedTimeInfo () const
virtual bool isEqual (DataPtr metric)
virtual QString getFilename () const
virtual void setFilename (QString val)
virtual QString getParentSpace ()
virtual std::vector< Vector3DgetPointCloud () const
virtual CoordinateSystem getCoordinateSystem ()
virtual void addPersistentClipPlane (vtkPlanePtr plane)
virtual std::vector< vtkPlanePtrgetAllClipPlanes ()
virtual void clearPersistentClipPlanes ()
virtual void setInteractiveClipPlane (vtkPlanePtr plane)
 set a plane that is not saved More...
void addInteractiveClipPlane (vtkPlanePtr plane)
void removeInteractiveClipPlane (vtkPlanePtr plane)

Static Public Member Functions

static RegionOfInterestMetricPtr create (QString uid, QString name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
static QString getTypeName ()

Additional Inherited Members

- Signals inherited from cx::Data
void transformChanged ()
 emitted when transform is changed More...
void propertiesChanged ()
 emitted when one of the metadata properties (uid, name etc) changes More...
void clipPlanesChanged ()
- Protected Slots inherited from cx::Data
virtual void transformChangedSlot ()
- Protected Attributes inherited from cx::DataMetric
PatientModelServicePtr mDataManager
SpaceProviderPtr mSpaceProvider
QColor mColor
- Protected Attributes inherited from cx::Data
QString mUid
QString mName
QString mFilename
TimeInfo mTimeInfo
LandmarksPtr mLandmarks
RegistrationHistoryPtr m_rMd_History
std::vector< vtkPlanePtrmPersistentClipPlanes
std::vector< vtkPlanePtrmInteractiveClipPlanes
vtkPlanePtr mInteractiveClipPlane

Detailed Description

Description of a region of interest, defined by a collection of other Data.

Definition at line 64 of file cxRegionOfInterestMetric.h.

Constructor & Destructor Documentation

cx::RegionOfInterestMetric::~RegionOfInterestMetric ( )

Definition at line 82 of file cxRegionOfInterestMetric.cpp.

Member Function Documentation

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

adds xml information about the data and its variabels

Reimplemented from cx::DataMetric.

Definition at line 96 of file cxRegionOfInterestMetric.cpp.

DoubleBoundingBox3D cx::RegionOfInterestMetric::boundingBox ( ) const

Implements cx::Data.

Definition at line 181 of file cxRegionOfInterestMetric.cpp.

RegionOfInterestMetricPtr cx::RegionOfInterestMetric::create ( QString  uid,
QString  name,
PatientModelServicePtr  dataManager,
SpaceProviderPtr  spaceProvider 

Definition at line 77 of file cxRegionOfInterestMetric.cpp.

QString cx::RegionOfInterestMetric::getAsSingleLineString ( ) const

Definition at line 186 of file cxRegionOfInterestMetric.cpp.

QStringList cx::RegionOfInterestMetric::getDataList ( )

Definition at line 91 of file cxRegionOfInterestMetric.h.

double cx::RegionOfInterestMetric::getMargin ( )

Definition at line 97 of file cxRegionOfInterestMetric.h.

QString cx::RegionOfInterestMetric::getMaxBoundsData ( )

Definition at line 100 of file cxRegionOfInterestMetric.h.

Vector3D cx::RegionOfInterestMetric::getRefCoord ( ) const

Implements cx::DataMetric.

Definition at line 86 of file cxRegionOfInterestMetric.cpp.

RegionOfInterest cx::RegionOfInterestMetric::getROI ( ) const

Definition at line 198 of file cxRegionOfInterestMetric.cpp.

virtual QString cx::RegionOfInterestMetric::getType ( ) const

Reimplemented from cx::Data.

Definition at line 79 of file cxRegionOfInterestMetric.h.

static QString cx::RegionOfInterestMetric::getTypeName ( )

Definition at line 83 of file cxRegionOfInterestMetric.h.

bool cx::RegionOfInterestMetric::getUseActiveTooltip ( )

Definition at line 94 of file cxRegionOfInterestMetric.h.

QString cx::RegionOfInterestMetric::getValueAsString ( ) const

Implements cx::DataMetric.

Definition at line 122 of file cxRegionOfInterestMetric.cpp.

bool cx::RegionOfInterestMetric::isValid ( ) const

Reimplemented from cx::DataMetric.

Definition at line 91 of file cxRegionOfInterestMetric.cpp.

void cx::RegionOfInterestMetric::parseXml ( QDomNode &  dataNode)

Use a XML node to load data.

dataNodeA XML data representation of this object.

Reimplemented from cx::DataMetric.

Definition at line 109 of file cxRegionOfInterestMetric.cpp.

void cx::RegionOfInterestMetric::setDataList ( QStringList  val)

Definition at line 127 of file cxRegionOfInterestMetric.cpp.

void cx::RegionOfInterestMetric::setMargin ( double  val)

Definition at line 140 of file cxRegionOfInterestMetric.cpp.

void cx::RegionOfInterestMetric::setMaxBoundsData ( QString  val)

Definition at line 146 of file cxRegionOfInterestMetric.cpp.

void cx::RegionOfInterestMetric::setUseActiveTooltip ( bool  val)

Definition at line 133 of file cxRegionOfInterestMetric.cpp.

virtual bool cx::RegionOfInterestMetric::showValueInGraphics ( ) const

Reimplemented from cx::DataMetric.

Definition at line 89 of file cxRegionOfInterestMetric.h.

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