Fraxinus
16.5.0-fx-rc1
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 () |
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 119 of file cxLandmarkRep.h.
|
protected |
Definition at line 162 of file cxLandmarkRep.h.
|
virtual |
Definition at line 163 of file cxLandmarkRep.cpp.
|
protected |
sets default text scaling to 20
Definition at line 146 of file cxLandmarkRep.cpp.
|
protected |
Definition at line 234 of file cxLandmarkRep.cpp.
|
protected |
Use the inpup coord in ref space to render a landmark.
Definition at line 278 of file cxLandmarkRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 260 of file cxLandmarkRep.cpp.
|
protected |
Definition at line 254 of file cxLandmarkRep.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 131 of file cxLandmarkRep.h.
|
protectedslot |
updates the text, color, scale etc
Definition at line 246 of file cxLandmarkRep.cpp.
|
static |
Definition at line 141 of file cxLandmarkRep.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 269 of file cxLandmarkRep.cpp.
|
protected |
Definition at line 364 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setColor | ( | QColor | color | ) |
sets the reps color
Definition at line 191 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setGraphicsSize | ( | double | size | ) |
Definition at line 203 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setLabelSize | ( | double | size | ) |
Definition at line 209 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setPrimarySource | ( | LandmarksSourcePtr | primary | ) |
Definition at line 167 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setSecondaryColor | ( | QColor | color | ) |
sets the reps color
Definition at line 197 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::setSecondarySource | ( | LandmarksSourcePtr | secondary | ) |
Definition at line 180 of file cxLandmarkRep.cpp.
void cx::LandmarkRep::showLandmarks | ( | bool | on | ) |
turn on or off showing landmarks
Definition at line 215 of file cxLandmarkRep.cpp.
|
protected |
the color of the landmark actors
Definition at line 149 of file cxLandmarkRep.h.
|
protected |
Definition at line 170 of file cxLandmarkRep.h.
|
protected |
Definition at line 163 of file cxLandmarkRep.h.
|
protected |
Definition at line 152 of file cxLandmarkRep.h.
|
protected |
color given to inactive landmarks
Definition at line 148 of file cxLandmarkRep.h.
|
protected |
Definition at line 153 of file cxLandmarkRep.h.
|
protected |
Definition at line 167 of file cxLandmarkRep.h.
|
protected |
Definition at line 168 of file cxLandmarkRep.h.
|
protected |
color used on the secondary coordinate
Definition at line 150 of file cxLandmarkRep.h.
|
protected |
whether or not the actors should be showed in (all) views
Definition at line 151 of file cxLandmarkRep.h.
|
protected |
Definition at line 164 of file cxLandmarkRep.h.