Fraxinus
17.12-rc2
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 63 of file cxOrientationAnnotation2DRep.h.
|
virtual |
Definition at line 81 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 52 of file cxOrientationAnnotation2DRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 129 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 151 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 110 of file cxOrientationAnnotation2DRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 69 of file cxOrientationAnnotation2DRep.h.
|
static |
Definition at line 76 of file cxOrientationAnnotation2DRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 135 of file cxOrientationAnnotation2DRep.cpp.
void cx::OrientationAnnotationSmartRep::setSliceProxy | ( | SliceProxyPtr | slicer | ) |
Definition at line 91 of file cxOrientationAnnotation2DRep.cpp.
void cx::OrientationAnnotationSmartRep::setVisible | ( | bool | visible | ) |
Definition at line 86 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 140 of file cxOrientationAnnotation2DRep.cpp.
double cx::OrientationAnnotationSmartRep::ThresholdAngle | ( | ) | const |
Definition at line 146 of file cxOrientationAnnotation2DRep.cpp.
|
protected |
Definition at line 89 of file cxOrientationAnnotation2DRep.h.
|
protected |
directions of DICOM labels APSILR
Definition at line 92 of file cxOrientationAnnotation2DRep.h.
|
protected |
Definition at line 91 of file cxOrientationAnnotation2DRep.h.
|
protected |
the four directions in the slice plane
Definition at line 93 of file cxOrientationAnnotation2DRep.h.
|
protected |
Definition at line 90 of file cxOrientationAnnotation2DRep.h.