15 #include "boost/bind.hpp" 16 #include <vtkAxesActor.h> 17 #include <vtkRenderer.h> 18 #include <vtkMatrix4x4.h> 19 #include <vtkCaptionActor2D.h> 20 #include <vtkTextProperty.h> 21 #include <vtkAssembly.h> 51 mAxes->setRenderer(view->getRenderer());
56 mAxes->setRenderer(NULL);
61 mAxes->setVisible(on);
66 mAxes->setShowAxesLabels(on);
71 mAxes->setCaption(caption, color);
76 mAxes->setFontSize(size);
81 mAxes->setAxisLength(length);
86 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)
Namespace for all CustusX production code.