Fraxinus
16.5.0-fx-rc9
An IGT application
|
Data class that represents an angle between two lines. More...
#include <cxAngleMetric.h>
Public Member Functions | |
virtual | ~AngleMetric () |
double | getAngle () const |
std::vector< Vector3D > | getEndpoints () const |
virtual QIcon | getIcon () |
MetricReferenceArgumentListPtr | getArguments () |
virtual bool | isValid () const |
virtual QString | getAsSingleLineString () 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 QString | getValueAsString () const |
virtual bool | showValueInGraphics () const |
bool | getUseSimpleVisualization () const |
void | setUseSimpleVisualization (bool val) |
Public Member Functions inherited from cx::DataMetric | |
DataMetric (const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider) | |
virtual | ~DataMetric () |
virtual QString | getSpace () |
void | setColor (const QColor &color) |
QColor | getColor () |
void | addXml (QDomNode &dataNode) |
adds xml information about the data and its variabels More... | |
void | parseXml (QDomNode &dataNode) |
Use a XML node to load data. More... | |
virtual bool | load (QString path) |
metrics don't store info in file, xml only. More... | |
virtual void | save (const QString &basePath) |
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 QString | getFilename () const |
virtual void | setFilename (QString val) |
virtual QString | getParentSpace () |
virtual CoordinateSystem | getCoordinateSystem () |
virtual void | addPersistentClipPlane (vtkPlanePtr plane) |
virtual std::vector< vtkPlanePtr > | getAllClipPlanes () |
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 AngleMetricPtr | 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 Member Functions inherited from cx::DataMetric | |
QString | getSingleLineHeader () const |
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< vtkPlanePtr > | mPersistentClipPlanes |
std::vector< vtkPlanePtr > | mInteractiveClipPlanes |
vtkPlanePtr | mInteractiveClipPlane |
Data class that represents an angle between two lines.
The lines are defined by four points ABCD. The computed angle is from vector BA to vector CD.
The angle ABC can by found by setting the two mid point equal, .ie. ABBC.
Definition at line 67 of file cxAngleMetric.h.
|
virtual |
Definition at line 67 of file cxAngleMetric.cpp.
|
virtual |
adds xml information about the data and its variabels
Reimplemented from cx::Data.
Definition at line 71 of file cxAngleMetric.cpp.
|
virtual |
Implements cx::Data.
Definition at line 131 of file cxAngleMetric.cpp.
|
static |
Definition at line 55 of file cxAngleMetric.cpp.
double cx::AngleMetric::getAngle | ( | ) | const |
Definition at line 112 of file cxAngleMetric.cpp.
|
inline |
Definition at line 80 of file cxAngleMetric.h.
|
virtual |
Implements cx::DataMetric.
Definition at line 136 of file cxAngleMetric.cpp.
std::vector< Vector3D > cx::AngleMetric::getEndpoints | ( | ) | const |
Definition at line 98 of file cxAngleMetric.cpp.
|
inlinevirtual |
Reimplemented from cx::DataMetric.
Definition at line 77 of file cxAngleMetric.h.
|
virtual |
Implements cx::DataMetric.
Definition at line 107 of file cxAngleMetric.cpp.
|
inlinevirtual |
Reimplemented from cx::Data.
Definition at line 88 of file cxAngleMetric.h.
|
inlinestatic |
Definition at line 92 of file cxAngleMetric.h.
bool cx::AngleMetric::getUseSimpleVisualization | ( | ) | const |
Definition at line 143 of file cxAngleMetric.cpp.
|
virtual |
Implements cx::DataMetric.
Definition at line 126 of file cxAngleMetric.cpp.
|
virtual |
Reimplemented from cx::DataMetric.
Definition at line 93 of file cxAngleMetric.cpp.
|
virtual |
Use a XML node to load data.
dataNode | A XML data representation of this object. |
Reimplemented from cx::Data.
Definition at line 78 of file cxAngleMetric.cpp.
void cx::AngleMetric::setUseSimpleVisualization | ( | bool | val | ) |
Definition at line 148 of file cxAngleMetric.cpp.
|
inlinevirtual |
Reimplemented from cx::DataMetric.
Definition at line 98 of file cxAngleMetric.h.