220#define CAMITK_WINDOWS_SYSTEM_ERROR_SAFEGUARD ERROR
232#ifdef CAMITK_WINDOWS_SYSTEM_ERROR_SAFEGUARD
233#define ERROR CAMITK_WINDOWS_SYSTEM_ERROR_SAFEGUARD
237 static QString getStatusAsString(ApplyStatus);
289 void setInputComponent(
Component* input);
312 virtual QAction* getQAction(
Component* target =
nullptr);
334 QString getComponent()
const {
335 return getComponentClassName();
341 return componentClassName;
350 QString getExtensionName()
const;
387 virtual QWidget* getWidget();
390 virtual QPixmap getIcon();
396 void updateTargets();
402 bool getAutoUpdateProperties()
const;
405 void setAutoUpdateProperties(
bool);
423 virtual bool addParameter(
Property*);
451 void setName(QString name);
466 void setComponent(QString component);
470 void setComponentClassName(QString componentClassName);
473 void setFamily(QString family);
476 void addTag(QString tag);
479 void setEmbedded(
bool isEmbedded);
482 void setIcon(QPixmap);
485 QWidget* actionWidget;
496 QString componentClassName;
517 QMap<QString,
Property*> parameterMap;
531 bool autoUpdateProperties;
587 void preProcessInPipeline();
593 void postProcessInPipeline();
#define CAMITK_API_DEPRECATED(X)
Definition: CamiTKAPI.h:94
#define CAMITK_API
Definition: CamiTKAPI.h:49
const char * description
Definition: applications/cepgenerator/main.cpp:38
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:208
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:224
@ ERROR
apply() failed : an error occurred (usually it means that the apply() was interrupted)
Definition: Action.h:226
@ SUCCESS
everything went according to plan
Definition: Action.h:225
@ ABORTED
the action was aborted before completion
Definition: Action.h:228
@ WARNING
some (partial) error occurred during the application of the algorithm
Definition: Action.h:227
virtual camitk::Action::ApplyStatus apply()=0
This method is called when the action has to be applied on the target list (get the target lists usin...
QString getFamily() const
the name of the family in which this action is associated
Definition: Action.h:345
QString getName() const
get the name of the action
Definition: Action.h:315
QStringList getTag() const
the name of the tag called this action
Definition: Action.h:353
bool getEmbedded() const
argument use to know if the widget is embedded or not
Definition: Action.h:358
QString getDescription() const
the description of the action
Definition: Action.h:320
QString getComponentClassName() const
the name of the component class that can be used by this action
Definition: Action.h:340
TargetPositionningPolicy
: Policy to determine how a newly instantiated component's frame should be initialized regarding of i...
Definition: Application.h:88
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
HistoryItem class describes the entry of an action used in a pipeline, in the history.
Definition: HistoryItem.h:61
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:280
Definition: Action.cpp:35
QSizePolicy policy(QSizePolicy::Expanding, QSizePolicy::Expanding)
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:127