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

Display the Tool in 2D as a crosshair in the tool tip position. More...

#include <cxCrossHairRep2D.h>

Inheritance diagram for cx::CrossHairRep2D:
cx::RepImpl cx::Rep

Public Member Functions

virtual ~CrossHairRep2D ()
 
virtual QString getType () const
 
void setSliceProxy (SliceProxyPtr slicer)
 
void set_vpMs (const Transform3D &vpMs)
 
- 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 CrossHairRep2DPtr New (SpaceProviderPtr spaceProvider, 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

 CrossHairRep2D (SpaceProviderPtr spaceProvider)
 
virtual void addRepActorsToViewRenderer (ViewPtr view)
 
virtual void removeRepActorsFromViewRenderer (ViewPtr view)
 
- Protected Member Functions inherited from cx::RepImpl
ViewPtr getView () const
 
vtkRendererPtr getRenderer ()
 
RepPtr getSelf ()
 
virtual void onModifiedStartRender ()
 

Additional Inherited Members

- Protected Slots inherited from cx::RepImpl
void setModified ()
 

Detailed Description

Display the Tool in 2D as a crosshair in the tool tip position.

This is a simple Rep that can be used instead of the more elaborate ToolRep2D.

Definition at line 65 of file cxCrossHairRep2D.h.

Constructor & Destructor Documentation

cx::CrossHairRep2D::~CrossHairRep2D ( )
virtual

Definition at line 62 of file cxCrossHairRep2D.cpp.

cx::CrossHairRep2D::CrossHairRep2D ( SpaceProviderPtr  spaceProvider)
protected

Definition at line 55 of file cxCrossHairRep2D.cpp.

Member Function Documentation

void cx::CrossHairRep2D::addRepActorsToViewRenderer ( ViewPtr  view)
protectedvirtual

Implements cx::RepImpl.

Definition at line 100 of file cxCrossHairRep2D.cpp.

QString cx::CrossHairRep2D::getType ( ) const
virtual
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 71 of file cxCrossHairRep2D.cpp.

CrossHairRep2DPtr cx::CrossHairRep2D::New ( SpaceProviderPtr  spaceProvider,
const QString &  uid = "" 
)
static

Definition at line 66 of file cxCrossHairRep2D.cpp.

void cx::CrossHairRep2D::removeRepActorsFromViewRenderer ( ViewPtr  view)
protectedvirtual

Implements cx::RepImpl.

Definition at line 109 of file cxCrossHairRep2D.cpp.

void cx::CrossHairRep2D::set_vpMs ( const Transform3D vpMs)

Definition at line 76 of file cxCrossHairRep2D.cpp.

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

Definition at line 82 of file cxCrossHairRep2D.cpp.


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