Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::GuideRep2D Class Reference

#include <cxGuideRep2D.h>

Inheritance diagram for cx::GuideRep2D:
cx::DataMetricRep cx::RepImpl cx::Rep

Public Member Functions

virtual ~GuideRep2D ()
 
virtual QString getType () const
 
void setSliceProxy (SliceProxyPtr slicer)
 
void setOutlineWidth (double width)
 
void setRequestedAccuracy (double accuracy)
 
- Public Member Functions inherited from cx::DataMetricRep
virtual ~DataMetricRep ()
 
void setGraphicsSize (double size)
 
void setLabelSize (double size)
 
void setShowLabel (bool on)
 
void setShowAnnotation (bool on)
 
void setDataMetric (DataMetricPtr value)
 
DataMetricPtr getDataMetric ()
 
- 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 GuideRep2DPtr 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

virtual void clear ()
 
virtual void onModifiedStartRender ()
 
- Protected Member Functions inherited from cx::DataMetricRep
 DataMetricRep ()
 
void addRepActorsToViewRenderer (ViewPtr view)
 
void removeRepActorsFromViewRenderer (ViewPtr view)
 
void drawText ()
 
virtual QString getText ()
 
Vector3D getColorAsVector3D () const
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 

Additional Inherited Members

- Protected Slots inherited from cx::RepImpl
void setModified ()
 
- Protected Attributes inherited from cx::DataMetricRep
double mGraphicsSize
 
bool mShowLabel
 
double mLabelSize
 
bool mShowAnnotation
 
DataMetricPtr mMetric
 

Detailed Description

Rep for visualizing a PointMetric in 2D views.

Date
Jun 14, 2012
Author
Sigmund Augdal, SonoWand AS

Definition at line 57 of file cxGuideRep2D.h.

Constructor & Destructor Documentation

virtual cx::GuideRep2D::~GuideRep2D ( )
inlinevirtual

Definition at line 62 of file cxGuideRep2D.h.

Member Function Documentation

void cx::GuideRep2D::clear ( )
protectedvirtual

Reimplemented from cx::DataMetricRep.

Definition at line 65 of file cxGuideRep2D.cpp.

virtual QString cx::GuideRep2D::getType ( ) const
inlinevirtual
Returns
a string identifying the Rep type. Each suclass implement this with its own class name. Subclasses from other namespaces (such as cx and snw) should add that namespace as a prefix.

Implements cx::RepImpl.

Definition at line 64 of file cxGuideRep2D.h.

GuideRep2DPtr cx::GuideRep2D::New ( PatientModelServicePtr  dataManager,
const QString &  uid = "" 
)
static

Definition at line 52 of file cxGuideRep2D.cpp.

void cx::GuideRep2D::onModifiedStartRender ( )
protectedvirtual

Reimplemented from cx::RepImpl.

Definition at line 71 of file cxGuideRep2D.cpp.

void cx::GuideRep2D::setOutlineWidth ( double  width)

Set the width of the outline in fractions of the full size

Definition at line 146 of file cxGuideRep2D.cpp.

void cx::GuideRep2D::setRequestedAccuracy ( double  accuracy)

Definition at line 152 of file cxGuideRep2D.cpp.

void cx::GuideRep2D::setSliceProxy ( SliceProxyPtr  slicer)

Definition at line 136 of file cxGuideRep2D.cpp.


The documentation for this class was generated from the following files: