36 #include "boost/bind.hpp"
37 #include <vtkAxesActor.h>
38 #include <vtkRenderer.h>
39 #include <vtkMatrix4x4.h>
40 #include <vtkCaptionActor2D.h>
41 #include <vtkTextProperty.h>
42 #include <vtkAssembly.h>
72 mAxes->setRenderer(view->getRenderer());
77 mAxes->setRenderer(NULL);
82 mAxes->setVisible(on);
87 mAxes->setShowAxesLabels(on);
92 mAxes->setCaption(caption, color);
97 mAxes->setFontSize(size);
102 mAxes->setAxisLength(length);
107 mAxes->setTransform(rMt);
void setShowAxesLabels(bool on)
void setFontSize(double size)
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
void setCaption(const QString &caption, const Vector3D &color)
Visualization for one 3D coordinate axis triplet.
static AxesRepPtr New(const QString &uid="")
static boost::shared_ptr< REP > wrap_new(REP *object, QString uid)
boost::shared_ptr< class View > ViewPtr
void setTransform(Transform3D rMt)
virtual void removeRepActorsFromViewRenderer(ViewPtr view)
void setAxisLength(double length)
boost::shared_ptr< class AxesRep > AxesRepPtr
Default implementation of Rep.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
RealScalar length() const
virtual void addRepActorsToViewRenderer(ViewPtr view)