NorMIT-nav
22.09
An IGT application
|
Display direction annotations in a 2D view. More...
#include <cxOrientationAnnotationRep.h>
Public Member Functions | |
virtual | ~OrientationAnnotationRep () |
virtual QString | getType () const |
void | setPlaneType (PLANE_TYPE type) |
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 OrientationAnnotationRepPtr | New (PatientModelServicePtr dataManager, 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 | |
OrientationAnnotationRep (PatientModelServicePtr dataManager) | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
void | setPlaneTypeNeurology (PLANE_TYPE type) |
void | setPlaneTypeRadiology (PLANE_TYPE type) |
void | createAnnotation () |
Protected Member Functions inherited from cx::RepImpl | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
virtual void | onEveryRender () |
Protected Attributes | |
OrientationAnnotationPtr | mOrientation |
PLANE_TYPE | mPlane |
PatientModelServicePtr | mDataManager |
QString | mNorthAnnotation |
QString | mSouthAnnotation |
QString | mEastAnnotation |
QString | mWestAnnotation |
Additional Inherited Members | |
Protected Slots inherited from cx::RepImpl | |
void | setModified () |
Display direction annotations in a 2D view.
Based on the input PLANE_TYPE, decorate with the letters APSILR (Anterior, Posterior, Superior, Inferior, Left, Right) in the four main directions of the view. Oblique views are not decorated.
Use cx::OrientationAnnotationRep instead if decoration of oblique views also is needed.
Definition at line 52 of file cxOrientationAnnotationRep.h.
|
virtual |
Definition at line 100 of file cxOrientationAnnotationRep.cpp.
|
protected |
Definition at line 87 of file cxOrientationAnnotationRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 213 of file cxOrientationAnnotationRep.cpp.
|
protected |
Definition at line 224 of file cxOrientationAnnotationRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 58 of file cxOrientationAnnotationRep.h.
|
static |
Definition at line 95 of file cxOrientationAnnotationRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 219 of file cxOrientationAnnotationRep.cpp.
void cx::OrientationAnnotationRep::setPlaneType | ( | PLANE_TYPE | type | ) |
Definition at line 116 of file cxOrientationAnnotationRep.cpp.
|
protected |
Definition at line 137 of file cxOrientationAnnotationRep.cpp.
|
protected |
Definition at line 175 of file cxOrientationAnnotationRep.cpp.
void cx::OrientationAnnotationRep::setVisible | ( | bool | visible | ) |
Definition at line 105 of file cxOrientationAnnotationRep.cpp.
|
protected |
Definition at line 75 of file cxOrientationAnnotationRep.h.
|
protected |
Definition at line 79 of file cxOrientationAnnotationRep.h.
|
protected |
Definition at line 77 of file cxOrientationAnnotationRep.h.
|
protected |
Definition at line 73 of file cxOrientationAnnotationRep.h.
|
protected |
Definition at line 74 of file cxOrientationAnnotationRep.h.
|
protected |
Definition at line 78 of file cxOrientationAnnotationRep.h.
|
protected |
Definition at line 80 of file cxOrientationAnnotationRep.h.