CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
A class that annotated 2D views with otientation information.The slice proxy is used to find the orientation of a slice in space r, which is assumed to be a valid DICOM space, and combinations of the letters Anterior - Posterior Left - Right Superior - Inferior are used. Combinations of the letters are used for oblique angles. More...
#include <cxOrientationAnnotation2DRep.h>
Public Member Functions | |
virtual | ~OrientationAnnotationSmartRep () |
virtual QString | getType () const |
void | setSliceProxy (SliceProxyPtr slicer) |
void | ThresholdAngle (double angle) |
double | ThresholdAngle () const |
void | setVisible (bool visible) |
Public Member Functions inherited from cx::RepImpl | |
RepImpl (const QString &uid="", const QString &name="") | |
virtual | ~RepImpl () |
virtual void | connectToView (ViewPtr theView) |
virtual void | disconnectFromView (ViewPtr theView) |
virtual bool | isConnectedToView (ViewPtr theView) const |
void | setName (QString name) |
QString | getName () const |
QString | getUid () const |
virtual void | printSelf (std::ostream &os, Indent indent) |
Public Member Functions inherited from cx::Rep | |
virtual | ~Rep () |
Static Public Member Functions | |
static OrientationAnnotationSmartRepPtr | New (const QString &uid="") |
Static Public Member Functions inherited from cx::RepImpl | |
template<class REP > | |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
Protected Member Functions | |
OrientationAnnotationSmartRep () | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
QString | determineAnnotation (Vector3D planeDir_s, Transform3D rMs) |
void | createAnnotation () |
Protected Member Functions inherited from cx::RepImpl | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
virtual void | onEveryRender () |
Protected Attributes | |
double | mAngle |
SliceProxyPtr | mSlicer |
OrientationAnnotationPtr | mOrientation |
std::map< QString, Vector3D > | mDCMDirections_r |
directions of DICOM labels APSILR More... | |
std::vector< Vector3D > | mPlaneDirections_s |
the four directions in the slice plane More... | |
Additional Inherited Members | |
Protected Slots inherited from cx::RepImpl | |
void | setModified () |
A class that annotated 2D views with otientation information.
The slice proxy is used to find the orientation of a slice in space r, which is assumed to be a valid DICOM space, and combinations of the letters Anterior - Posterior Left - Right Superior - Inferior are used. Combinations of the letters are used for oblique angles.
Definition at line 42 of file cxOrientationAnnotation2DRep.h.
|
virtual |
Definition at line 60 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 31 of file cxOrientationAnnotation2DRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 108 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 130 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 89 of file cxOrientationAnnotation2DRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 48 of file cxOrientationAnnotation2DRep.h.
|
static |
Definition at line 55 of file cxOrientationAnnotation2DRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 114 of file cxOrientationAnnotation2DRep.cpp.
void cx::OrientationAnnotationSmartRep::setSliceProxy | ( | SliceProxyPtr | slicer | ) |
Definition at line 70 of file cxOrientationAnnotation2DRep.cpp.
void cx::OrientationAnnotationSmartRep::setVisible | ( | bool | visible | ) |
Definition at line 65 of file cxOrientationAnnotation2DRep.cpp.
void cx::OrientationAnnotationSmartRep::ThresholdAngle | ( | double | angle | ) |
The maximum angular deviation from a major axis for annotation to be displayed.
Definition at line 119 of file cxOrientationAnnotation2DRep.cpp.
double cx::OrientationAnnotationSmartRep::ThresholdAngle | ( | ) | const |
Definition at line 125 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 68 of file cxOrientationAnnotation2DRep.h.
|
protected |
directions of DICOM labels APSILR
Definition at line 71 of file cxOrientationAnnotation2DRep.h.
|
protected |
Definition at line 70 of file cxOrientationAnnotation2DRep.h.
|
protected |
the four directions in the slice plane
Definition at line 72 of file cxOrientationAnnotation2DRep.h.
|
protected |
Definition at line 69 of file cxOrientationAnnotation2DRep.h.