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

Representation for one 3D coordinate axis triplet. More...

#include <cxAxesRep.h>

Inheritance diagram for cx::AxesRep:
cx::RepImpl cx::Rep

Public Member Functions

virtual ~AxesRep ()
 
virtual QString getType () const
 
void setTransform (Transform3D rMt)
 
void setFontSize (double size)
 
void setAxisLength (double length)
 
void setVisible (bool on)
 
void setShowAxesLabels (bool on)
 
void setCaption (const QString &caption, const Vector3D &color)
 
- 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 AxesRepPtr New (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

 AxesRep ()
 
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 ()
 

Protected Attributes

GraphicalAxes3DPtr mAxes
 

Additional Inherited Members

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

Detailed Description

Representation for one 3D coordinate axis triplet.

Set the position using setTransform().

Definition at line 57 of file cxAxesRep.h.

Constructor & Destructor Documentation

cx::AxesRep::~AxesRep ( )
virtual

Definition at line 66 of file cxAxesRep.cpp.

cx::AxesRep::AxesRep ( )
protected

Definition at line 57 of file cxAxesRep.cpp.

Member Function Documentation

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

Implements cx::RepImpl.

Definition at line 70 of file cxAxesRep.cpp.

virtual QString cx::AxesRep::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 cxAxesRep.h.

AxesRepPtr cx::AxesRep::New ( const QString &  uid = "")
static

Definition at line 52 of file cxAxesRep.cpp.

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

Implements cx::RepImpl.

Definition at line 75 of file cxAxesRep.cpp.

void cx::AxesRep::setAxisLength ( double  length)

Definition at line 100 of file cxAxesRep.cpp.

void cx::AxesRep::setCaption ( const QString &  caption,
const Vector3D color 
)

Definition at line 90 of file cxAxesRep.cpp.

void cx::AxesRep::setFontSize ( double  size)

Definition at line 95 of file cxAxesRep.cpp.

void cx::AxesRep::setShowAxesLabels ( bool  on)

Definition at line 85 of file cxAxesRep.cpp.

void cx::AxesRep::setTransform ( Transform3D  rMt)

Definition at line 105 of file cxAxesRep.cpp.

void cx::AxesRep::setVisible ( bool  on)

Definition at line 80 of file cxAxesRep.cpp.

Member Data Documentation

GraphicalAxes3DPtr cx::AxesRep::mAxes
protected

Definition at line 76 of file cxAxesRep.h.


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