26#ifndef INTERFACEFRAME_H
27#define INTERFACEFRAME_H
30#include <vtkAxesActor.h>
35class FrameOfReference;
59 virtual void setFrame(
const std::shared_ptr<FrameOfReference>& frame) = 0;
69 virtual QMultiMap<const FrameOfReference*, Component*>
getAllFrames(
bool includeChildrenFrames =
true) = 0;
74 virtual QMultiMap<const Transformation*, Component*>
getAllTransformations(
bool includeChildrenTransformations =
true) = 0;
FrameOfReference is only a label for an abstract coordinate system.
Definition FrameOfReference.h:71
This class describes the methods to implement in order to manage a Component position in space.
Definition InterfaceFrame.h:51
virtual void resetFrame()=0
Reset this object's FrameOfReference, that is call setFrame with a newly created frame of reference.
virtual bool getFrameVisibility(QString) const =0
get the visibility of the Frame axis actor FIXME
virtual void setFrameVisibility(QString, bool)=0
set the visibility of the Frame axis actor FIXME
virtual void setFrameFrom(const InterfaceFrame *)=0
Modify this object's frame using the given object's frame.
virtual const FrameOfReference * getFrame() const =0
Get the pointer to this object's FrameOfReference.
virtual vtkSmartPointer< vtkAxesActor > getFrameAxisActor(QString)=0
add a 3D Actor representing the Frame FIXME
virtual QMultiMap< const Transformation *, Component * > getAllTransformations(bool includeChildrenTransformations=true)=0
Get all Transformation owned by this object.
virtual QMultiMap< const FrameOfReference *, Component * > getAllFrames(bool includeChildrenFrames=true)=0
Get all FrameOfReference owned by this object.
virtual ~InterfaceFrame()=default
empty virtual destructor, to avoid memory leak
virtual void setFrame(const std::shared_ptr< FrameOfReference > &frame)=0
Set the FrameOfReference of this object.