This class describes the methods to implement in order to manage a Component position in space. More...
#include <InterfaceFrame.h>
Inheritance diagram for camitk::InterfaceFrame:
Collaboration diagram for camitk::InterfaceFrame:Public Member Functions | |
| virtual QMultiMap< const FrameOfReference *, Component * > | getAllFrames (bool includeChildrenFrames=true)=0 |
| Get all FrameOfReference owned by this object. | |
| virtual QMultiMap< const Transformation *, Component * > | getAllTransformations (bool includeChildrenTransformations=true)=0 |
| Get all Transformation owned by this object. | |
| 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 bool | getFrameVisibility (QString) const =0 |
| get the visibility of the Frame axis actor FIXME | |
| virtual void | resetFrame ()=0 |
| Reset this object's FrameOfReference, that is call setFrame with a newly created frame of reference. | |
| virtual void | setFrame (const std::shared_ptr< FrameOfReference > &frame)=0 |
| Set the FrameOfReference of this object. | |
| virtual void | setFrameFrom (const InterfaceFrame *)=0 |
| Modify this object's frame using the given object's frame. | |
| virtual void | setFrameVisibility (QString, bool)=0 |
| set the visibility of the Frame axis actor FIXME | |
| virtual | ~InterfaceFrame ()=default |
| empty virtual destructor, to avoid memory leak | |
This class describes the methods to implement in order to manage a Component position in space.
Each Component has a frame of reference which is used to define its relation to other objects. You can define new frames and transformations between frames as required, but all FrameOfReference and Transformation objects must be managed by the TransformationManager.
|
virtualdefault |
empty virtual destructor, to avoid memory leak
|
pure virtual |
Get all FrameOfReference owned by this object.
Implemented in camitk::ArbitrarySingleImageComponent, camitk::Component, and camitk::ImageComponent.
|
pure virtual |
Get all Transformation owned by this object.
Implemented in camitk::ArbitrarySingleImageComponent, camitk::Component, and camitk::ImageComponent.
|
pure virtual |
Get the pointer to this object's FrameOfReference.
Implemented in camitk::Component.
Referenced by camitk::Component::setFrameFrom().
Here is the caller graph for this function:
|
pure virtual |
add a 3D Actor representing the Frame FIXME
Implemented in camitk::Component.
|
pure virtual |
get the visibility of the Frame axis actor FIXME
Implemented in camitk::Component.
|
pure virtual |
Reset this object's FrameOfReference, that is call setFrame with a newly created frame of reference.
Implemented in camitk::Component, and camitk::ImageComponent.
|
pure virtual |
Set the FrameOfReference of this object.
Note that this methods will take ownership of the given frame thanks to the shared_ptr.
Implemented in camitk::ArbitrarySingleImageComponent, camitk::Component, and camitk::ImageComponent.
|
pure virtual |
Modify this object's frame using the given object's frame.
Implemented in camitk::Component, and camitk::ImageComponent.
|
pure virtual |
set the visibility of the Frame axis actor FIXME
Implemented in camitk::Component.