Fraxinus
22.09
An IGT application
|
#include <cxLandmarkRep.h>
Classes | |
struct | LandmarkGraphics |
Public Member Functions | |
virtual | ~LandmarkRep () |
void | setColor (QColor color) |
sets the reps color More... | |
void | setSecondaryColor (QColor color) |
sets the reps color More... | |
void | showLandmarks (bool on) |
turn on or off showing landmarks More... | |
void | setGraphicsSize (double size) |
void | setLabelSize (double size) |
virtual QString | getType () const |
void | setPrimarySource (LandmarksSourcePtr primary) |
void | setSecondarySource (LandmarksSourcePtr secondary) |
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 LandmarkRepPtr | 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 Types | |
typedef std::map< QString, LandmarkGraphics > | LandmarkGraphicsMapType |
Protected Slots | |
void | internalUpdate () |
updates the text, color, scale etc More... | |
Protected Slots inherited from cx::RepImpl | |
void | setModified () |
Protected Member Functions | |
LandmarkRep (PatientModelServicePtr dataManager) | |
sets default text scaling to 20 More... | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
void | clearAll () |
void | addAll () |
void | addLandmark (QString uid) |
void | rescale () |
Protected Member Functions inherited from cx::RepImpl | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
virtual void | onEveryRender () |
Protected Attributes | |
QColor | mInactiveColor |
color given to inactive landmarks More... | |
QColor | mColor |
the color of the landmark actors More... | |
QColor | mSecondaryColor |
color used on the secondary coordinate More... | |
bool | mShowLandmarks |
whether or not the actors should be showed in (all) views More... | |
double | mGraphicsSize |
double | mLabelSize |
LandmarkGraphicsMapType | mGraphics |
ViewportListenerPtr | mViewportListener |
LandmarksSourcePtr | mPrimary |
LandmarksSourcePtr | mSecondary |
PatientModelServicePtr | mDataManager |
Definition at line 98 of file cxLandmarkRep.h.
|
protected |
Definition at line 141 of file cxLandmarkRep.h.
|
virtual |
Definition at line 142 of file cxLandmarkRep.cpp.
|
protected |
sets default text scaling to 20
Definition at line 125 of file cxLandmarkRep.cpp.
|
protected |
Definition at line 213 of file cxLandmarkRep.cpp.
|
protected |
Use the inpup coord in ref space to render a landmark.
Definition at line 257 of file cxLandmarkRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 239 of file cxLandmarkRep.cpp.
|
protected |
Definition at line 233 of file cxLandmarkRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 110 of file cxLandmarkRep.h.
|
protectedslot |
updates the text, color, scale etc
Definition at line 225 of file cxLandmarkRep.cpp.
|
static |
Definition at line 120 of file cxLandmarkRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 248 of file cxLandmarkRep.cpp.
|
protected |
Definition at line 343 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setColor | ( | QColor | color | ) |
sets the reps color
Definition at line 170 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setGraphicsSize | ( | double | size | ) |
Definition at line 182 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setLabelSize | ( | double | size | ) |
Definition at line 188 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setPrimarySource | ( | LandmarksSourcePtr | primary | ) |
Definition at line 146 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setSecondaryColor | ( | QColor | color | ) |
sets the reps color
Definition at line 176 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setSecondarySource | ( | LandmarksSourcePtr | secondary | ) |
Definition at line 159 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::showLandmarks | ( | bool | on | ) |
turn on or off showing landmarks
Definition at line 194 of file cxLandmarkRep.cpp.
|
protected |
the color of the landmark actors
Definition at line 128 of file cxLandmarkRep.h.
|
protected |
Definition at line 149 of file cxLandmarkRep.h.
|
protected |
Definition at line 142 of file cxLandmarkRep.h.
|
protected |
Definition at line 131 of file cxLandmarkRep.h.
|
protected |
color given to inactive landmarks
Definition at line 127 of file cxLandmarkRep.h.
|
protected |
Definition at line 132 of file cxLandmarkRep.h.
|
protected |
Definition at line 146 of file cxLandmarkRep.h.
|
protected |
Definition at line 147 of file cxLandmarkRep.h.
|
protected |
color used on the secondary coordinate
Definition at line 129 of file cxLandmarkRep.h.
|
protected |
whether or not the actors should be showed in (all) views
Definition at line 130 of file cxLandmarkRep.h.
|
protected |
Definition at line 143 of file cxLandmarkRep.h.