32 class vtkTransformPolyDataFilter;
70 const QString& getFrameName()
const override final;
73 void setFrameName(QString name)
override;
89 void setParentFrame(
InterfaceFrame* parent,
bool keepTransform =
true)
override final;
95 const QVector<InterfaceFrame*>& getChildrenFrame()
const override;
103 const vtkSmartPointer<vtkTransform> getTransformFromWorld()
const override;
106 const vtkSmartPointer<vtkTransform> getTransform()
const override;
109 const vtkSmartPointer<vtkTransform> getTransformFromFrame(
InterfaceFrame* frame)
const override;
115 void setTransform(vtkSmartPointer<vtkTransform>
transform)
override final;
121 void resetTransform()
override;
126 void translate(
double x,
double y,
double z)
override;
133 void rotate(
double aroundX,
double aroundY,
double aroundZ)
override;
139 void rotateVTK(
double aroundX,
double aroundY,
double aroundZ)
override;
146 void setTransformTranslation(
double x,
double y,
double z)
override;
154 void setTransformTranslationVTK(
double x,
double y,
double z)
override;
161 void setTransformRotation(
double aroundX,
double aroundY,
double aroundZ)
override;
169 void setTransformRotationVTK(
double aroundX,
double aroundY,
double aroundZ)
override;
176 vtkSmartPointer<vtkAxesActor> getFrameAxisActor()
override;
189 CAMITK_API_DEPRECATED(
"Please use Frame::setFrameVisibility(QString viewerName, bool) instead")
void setFrameVisibility(
Viewer*,
bool)
override;
194 CAMITK_API_DEPRECATED(
"Please use Frame::getFrameVisibility(QString viewerName, bool) instead")
bool getFrameVisibility(
Viewer*)
const override;
200 void setFrameVisibility(QString,
bool)
override;
205 bool getFrameVisibility(QString)
const override;
215 void initAttributes();
267 static int nbTotalFrames;
270 vtkSmartPointer<vtkAxesActor>
axes;
273 QMap<Viewer*, bool> frameViewers;
#define CAMITK_API_DEPRECATED(X)
Definition: CamiTKAPI.h:94
#define CAMITK_API
Definition: CamiTKAPI.h:49
Represents a hierarchy of frames.
Definition: Frame.h:52
vtkSmartPointer< vtkTransformPolyDataFilter > representationTransformFilter
Transform Filter to store the transformation for the Frame's 3D representation.
Definition: Frame.h:249
vtkSmartPointer< vtkTransform > transformWorldToMe
Transformation to represent my points (expressed in my frame) in the world's frame.
Definition: Frame.h:244
InterfaceFrame * parentFrame
The Parent Frame.
Definition: Frame.h:229
vtkSmartPointer< vtkTransform > transformParentToMe
Transformation to represent my points (expressed in my frame) in my parent's frame.
Definition: Frame.h:235
QString frameName
Frame unique identifier.
Definition: Frame.h:223
QVector< InterfaceFrame * > childrenFrame
List of children Frames to keep track of Frame hierarchy.
Definition: Frame.h:254
This class describes what are the methods to implement in order to manage a Component position in spa...
Definition: InterfaceFrame.h:64
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:181
Definition: Action.cpp:36
vtkSmartPointer< vtkTransform > transform
Definition: RendererWidget.cpp:416
axes
axes actor
Definition: RendererWidget.cpp:364