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

Data class that represents a donut. More...

#include <cxSphereMetric.h>

Inheritance diagram for cx::SphereMetric:
cx::DataMetric cx::Data

Public Member Functions

virtual ~SphereMetric ()
 
MetricReferenceArgumentListPtr getArguments ()
 
virtual bool isValid () const
 
void setRadius (double val)
 
double getRadius () 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 Vector3D getRefCoord () const
 
virtual QString getType () const
 
virtual QIcon getIcon ()
 
virtual QString getValueAsString () const
 
virtual bool showValueInGraphics () const
 
- Public Member Functions inherited from cx::DataMetric
 DataMetric (const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
 
virtual ~DataMetric ()
 
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...
 
- 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 void save (const QString &basePath, FileManagerServicePtr port)=0
 
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 SphereMetricPtr 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
 
REGISTRATION_STATUS mRegistrationStatus
 
RegistrationHistoryPtr m_rMd_History
 
std::vector< vtkPlanePtrmPersistentClipPlanes
 
std::vector< vtkPlanePtrmInteractiveClipPlanes
 
vtkPlanePtr mInteractiveClipPlane
 

Detailed Description

Data class that represents a donut.

Date
2014-02-11
Author
Christian Askeland, SINTEF

Definition at line 37 of file cxSphereMetric.h.

Constructor & Destructor Documentation

◆ ~SphereMetric()

cx::SphereMetric::~SphereMetric ( )
virtual

Definition at line 34 of file cxSphereMetric.cpp.

Member Function Documentation

◆ addXml()

void cx::SphereMetric::addXml ( QDomNode &  dataNode)
virtual

adds xml information about the data and its variabels

Reimplemented from cx::DataMetric.

Definition at line 38 of file cxSphereMetric.cpp.

◆ boundingBox()

DoubleBoundingBox3D cx::SphereMetric::boundingBox ( ) const
virtual

Implements cx::Data.

Definition at line 63 of file cxSphereMetric.cpp.

◆ create()

SphereMetricPtr cx::SphereMetric::create ( QString  uid,
QString  name,
PatientModelServicePtr  dataManager,
SpaceProviderPtr  spaceProvider 
)
static

Definition at line 29 of file cxSphereMetric.cpp.

◆ getArguments()

MetricReferenceArgumentListPtr cx::SphereMetric::getArguments ( )
inline

Definition at line 44 of file cxSphereMetric.h.

◆ getIcon()

virtual QIcon cx::SphereMetric::getIcon ( )
inlinevirtual

Reimplemented from cx::DataMetric.

Definition at line 62 of file cxSphereMetric.h.

◆ getRadius()

double cx::SphereMetric::getRadius ( ) const

Definition at line 74 of file cxSphereMetric.cpp.

◆ getRefCoord()

Vector3D cx::SphereMetric::getRefCoord ( ) const
virtual

Implements cx::DataMetric.

Definition at line 58 of file cxSphereMetric.cpp.

◆ getType()

virtual QString cx::SphereMetric::getType ( ) const
inlinevirtual

Reimplemented from cx::Data.

Definition at line 54 of file cxSphereMetric.h.

◆ getTypeName()

static QString cx::SphereMetric::getTypeName ( )
inlinestatic

Definition at line 58 of file cxSphereMetric.h.

◆ getValueAsString()

QString cx::SphereMetric::getValueAsString ( ) const
virtual

Implements cx::DataMetric.

Definition at line 79 of file cxSphereMetric.cpp.

◆ isValid()

bool cx::SphereMetric::isValid ( ) const
virtual

Reimplemented from cx::DataMetric.

Definition at line 53 of file cxSphereMetric.cpp.

◆ parseXml()

void cx::SphereMetric::parseXml ( QDomNode &  dataNode)
virtual

Use a XML node to load data.

Parameters
dataNodeA XML data representation of this object.

Reimplemented from cx::DataMetric.

Definition at line 45 of file cxSphereMetric.cpp.

◆ setRadius()

void cx::SphereMetric::setRadius ( double  val)

Definition at line 68 of file cxSphereMetric.cpp.

◆ showValueInGraphics()

virtual bool cx::SphereMetric::showValueInGraphics ( ) const
inlinevirtual

Reimplemented from cx::DataMetric.

Definition at line 64 of file cxSphereMetric.h.


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