|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
34 #include "ui_FrameEditor.h"
89 #endif // FRAMEEDITOR_H
Ui::FrameEditor ui
the Qt Gui
Definition: FrameEditor.h:102
virtual void transformationChanged()
Definition: FrameEditor.cpp:193
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
const vtkSmartPointer< vtkTransform > getTransform() const override
Get the transformation with respect to the parent frame.
Definition: sdk/libraries/core/component/Component.cpp:824
virtual void setTranslation()
Definition: FrameEditor.cpp:256
camitk::Component * currentComponent
Definition: FrameEditor.h:106
virtual QWidget * getWidget()
this method creates and returns the widget containing the user interface for the action
Definition: FrameEditor.cpp:134
@ SUCCESS
everything went according to plan
Definition: Action.h:248
virtual void setRotation()
Definition: FrameEditor.cpp:289
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
virtual void rotateVTK(double aroundX, double aroundY, double aroundZ)=0
Apply a rotation relative to the current position, using the VTK rotation order (Z,...
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
This action allows you to apply a linear transformation (translation,rotation around axes) on the top...
Definition: FrameEditor.h:39
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:166
virtual camitk::Action::ApplyStatus apply()
Update the component's frame with the translation and rotation parameters of the widget.
Definition: FrameEditor.cpp:307
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
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 setTransformTranslationVTK(double x, double y, double z)=0
Set the translation part of the 3D space transformation of the current frame.
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
resetTransform double double setTransformRotation
Definition: sdk/libraries/core/component/Component.h:793
void init()
initialize the dialog
Definition: FrameEditor.cpp:53
virtual void initializeDialogWithCurrentComponent()
Definition: FrameEditor.cpp:147
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
virtual void setTransformation()
Definition: FrameEditor.cpp:225
#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:256
resetTransform rotate
Definition: sdk/libraries/core/component/Component.h:785
virtual void translate(double x, double y, double z)=0
Apply a translation relative to the current position.
QWidget * myWidget
Definition: FrameEditor.h:104
virtual void rotate()
Definition: FrameEditor.cpp:271
void refresh()
refresh the display
FrameEditor(camitk::ActionExtension *)
the constructor
Definition: FrameEditor.cpp:35
QVector< QVector< QLineEdit * > > transfromMatrixElements
Definition: FrameEditor.h:108
virtual void setTransform(vtkSmartPointer< vtkTransform > transform)=0
Set the current input frame position (according to its parent Frame)
virtual void translate()
Definition: FrameEditor.cpp:246
virtual void translationChanged()
Definition: FrameEditor.cpp:241
virtual ~FrameEditor()
Destructor.
Definition: FrameEditor.cpp:127
virtual void rotationChanged()
Definition: FrameEditor.cpp:266
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
Definition: Action.cpp:35