|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
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);
86 mAxes->setTransform(rMt);
Namespace for all CustusX production code.
void setTransform(Transform3D rMt)
void setShowAxesLabels(bool on)
virtual void removeRepActorsFromViewRenderer(ViewPtr view)
static AxesRepPtr New(const QString &uid="")
RealScalar length() const
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
void setAxisLength(double length)
void setCaption(const QString &caption, const Vector3D &color)
void setFontSize(double size)
virtual void addRepActorsToViewRenderer(ViewPtr view)
Visualization for one 3D coordinate axis triplet.
boost::shared_ptr< class View > ViewPtr
Default implementation of Rep.
boost::shared_ptr< class AxesRep > AxesRepPtr
static boost::shared_ptr< REP > wrap_new(REP *object, QString uid)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.