|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
virtual bool getFrameVisibility(QString) const =0
Get the Component Frame visibility for a given viewer.
virtual QWidget * getWidget() override
update the property visibility
Definition: ShowFrame.cpp:62
@ SUCCESS
everything went according to plan
Definition: Action.h:248
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
Interactive 3D viewer.
Definition: InteractiveGeometryViewer.h:56
virtual vtkSmartPointer< vtkAxesActor > getFrameAxisActor()=0
Gives the 3D representation of the frame (based on xyz arrows)
void setAutoUpdateProperties(bool)
are the properties to be udpated every time the user makes a change in the widget (default is false)?
Definition: Action.cpp:426
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:166
virtual void setFrameVisibility(QString, bool)=0
Set the Component Frame visible for a given viewer.
ShowFrame(camitk::ActionExtension *)
the constructor
Definition: ShowFrame.cpp:36
virtual bool event(QEvent *e) override
manage change immediatly
Definition: ShowFrame.cpp:93
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:303
camitk::Component * comp
Definition: ShowFrame.h:85
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
virtual ~ShowFrame()=default
Destructor.
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
void setAttribute(const QString &attribute, const QVariant &value)
Set a given property for this attribute.
Definition: Property.cpp:183
void refresh(Viewer *whoIsAsking=nullptr) override
Definition: InteractiveViewer.cpp:416
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
QAction * getQAction(camitk::Component *target=nullptr) override
Get the corresponding QAction (overriden to update the checked status)
Definition: ShowFrame.cpp:131
bool blockAutoUpdate
Definition: ShowFrame.h:82
void getBoundsOfSelected(double *bound)
Compute the bounding box of the selected elements [xmin,xmax, ymin,ymax, zmin,zmax].
Definition: InteractiveViewer.cpp:1552
virtual bool addParameter(Property *)
Add a new parameter to the action, using the CamiTK property class.
Definition: Action.cpp:440
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
double getFrameSize()
Definition: ShowFrame.cpp:115
void refresh()
refresh the display
virtual camitk::Action::ApplyStatus apply() override
show/hide the frame depending on the user choice
Definition: ShowFrame.cpp:145
This action allows you to show/hide the 3D axes representation of the component's frame.
Definition: ShowFrame.h:34
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