 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
30 #include "Component.h"
35 #include "ui_FrameEditor.h"
96 #endif // FRAMEEDITOR_H
Ui::FrameEditor ui
the Qt Gui
Definition: FrameEditor.h:109
virtual void transformationChanged()
Definition: FrameEditor.cpp:259
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:129
const vtkSmartPointer< vtkTransform > getTransform() const override
Get the transformation with respect to the parent frame.
Definition: sdk/libraries/core/component/Component.cpp:666
virtual void setTranslation()
Definition: FrameEditor.cpp:323
void setParentFrame(InterfaceFrame *frame, bool keepTransform=true) override
Set the parent frame and update or not its transform during the parent transition.
Definition: sdk/libraries/core/component/Component.cpp:638
camitk::Component * currentComponent
Definition: FrameEditor.h:113
virtual QWidget * getWidget()
this method creates and returns the widget containing the user interface for the action
Definition: FrameEditor.cpp:147
@ SUCCESS
everything went according to plan
Definition: Action.h:247
virtual void setRotation()
Definition: FrameEditor.cpp:356
ApplyStatus
Definition: Action.h:246
void setName(QString name)
Definition: Action.cpp:113
virtual void rotateVTK(double aroundX, double aroundY, double aroundZ)=0
Apply a rotation relative to the current position, using the VTK rotation order (Z,...
virtual vtkSmartPointer< vtkAxesActor > getFrameAxisActor()=0
Gives the 3D representation of the frame (based on xyz arrows)
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:124
This action allows you to apply a linear transformation (translation,rotation around axes) on the top...
Definition: FrameEditor.h:40
virtual void setFrameVisibility(Viewer *viewer, bool visible)=0
Set the Component Frame visible for a given viewer.
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:159
virtual ApplyStatus apply()
Update the component's frame with the translation and rotation parameters of the widget.
Definition: FrameEditor.cpp:374
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:134
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
virtual void setTransformRotationVTK(double aroundX, double aroundY, double aroundZ)=0
Set the rotation part of the 3D space transformation of the current frame.
virtual void setParentFrame()
Definition: FrameEditor.cpp:237
virtual void setTransformTranslationVTK(double x, double y, double z)=0
Set the translation part of the 3D space transformation of the current frame.
virtual void frameSizeChanged(int val)
Definition: FrameEditor.cpp:228
void setDescription(QString description)
the description of the action
Definition: Action.cpp:119
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:849
virtual bool getFrameVisibility(Viewer *viewer) const =0
Get the Component Frame visibility for a given viewer.
This class describes what are the methods to implement in order to manage a Component position in spa...
Definition: InterfaceFrame.h:64
resetTransform double double setTransformRotation
Definition: sdk/libraries/core/component/Component.h:746
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:89
virtual InterfaceFrame * getParentFrame() const =0
Get the parent frame.
void init()
initialize the dialog
Definition: FrameEditor.cpp:52
virtual void initializeDialogWithCurrentComponent()
Definition: FrameEditor.cpp:160
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:82
virtual void setTransformation()
Definition: FrameEditor.cpp:292
#define CAMITK_TRACE(MSG)
Log for trace verbosity (the most verbose one, should be used for bug report) The msg will appear onl...
Definition: Log.h:253
resetTransform rotate
Definition: sdk/libraries/core/component/Component.h:738
virtual void translate(double x, double y, double z)=0
Apply a translation relative to the current position.
QWidget * myWidget
Definition: FrameEditor.h:111
virtual void rotate()
Definition: FrameEditor.cpp:338
FrameEditor(camitk::ActionExtension *)
the constructor
Definition: FrameEditor.cpp:36
QVector< QVector< QLineEdit * > > transfromMatrixElements
Definition: FrameEditor.h:115
virtual void setTransform(vtkSmartPointer< vtkTransform > transform)=0
Set the current input frame position (according to its parent Frame)
virtual void translate()
Definition: FrameEditor.cpp:313
virtual void translationChanged()
Definition: FrameEditor.cpp:308
virtual ~FrameEditor()
Destructor.
Definition: FrameEditor.cpp:140
virtual void displayFrameToggled(bool)
Definition: FrameEditor.cpp:218
virtual void rotationChanged()
Definition: FrameEditor.cpp:333
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:298
Definition: Action.cpp:36