44#define CamiTKActionDeclaration(X) extern "C"
45#define CamiTKActionImplementation(X) extern "C"
227#define CAMITK_WINDOWS_SYSTEM_ERROR_SAFEGUARD ERROR
239#ifdef CAMITK_WINDOWS_SYSTEM_ERROR_SAFEGUARD
240#define ERROR CAMITK_WINDOWS_SYSTEM_ERROR_SAFEGUARD
244 static QString getStatusAsString(ApplyStatus);
296 void setInputComponent(
Component* input);
319 virtual QAction* getQAction(
Component* target =
nullptr);
333 return componentClassName;
342 QString getExtensionName()
const;
379 virtual QWidget* getWidget();
382 void setDefaultWidgetButtonVisibility(
bool);
385 void setDefaultWidgetApplyButtonText(QString);
388 virtual QPixmap getIcon();
394 void updateTargets();
400 bool getAutoUpdateProperties()
const;
403 void setAutoUpdateProperties(
bool);
416 virtual QVariant getParameterValue(
const QString& name)
const;
421 virtual bool setParameterValue(
const QString& name, QVariant newValue);
425 virtual QString getParameterValueAsString(
const QString& name)
const;
435 virtual bool addParameter(
Property*);
444 virtual QVariant toVariant()
const override;
447 virtual void fromVariant(
const QVariant&)
override;
450 virtual QUuid getUuid()
const override;
458 virtual bool setUuid(QUuid)
override;
469 void setName(QString name);
475 void setComponentClassName(QString componentClassName);
478 void setFamily(QString family);
481 void addTag(QString tag);
484 void setEmbedded(
bool isEmbedded);
487 void setIcon(QPixmap);
498 void refreshApplication();
511 QString componentClassName;
523 bool defaultWidgetButtonVisibility;
526 QString defaultWidgetApplyButtonText;
538 QMap<QString, Property*> parameterMap;
552 bool autoUpdateProperties;
608 void preProcessInPipeline();
614 void postProcessInPipeline();
#define CAMITK_API
Definition CamiTKAPI.h:66
const char * description
Definition applications/cepgenerator/main.cpp:38
A component is something that composed something and could also be a part of something.
Definition modeling/libraries/pml/Component.h:48
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 an algorithm that wor...
Definition Action.h:215
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition Action.h:231
@ ERROR
apply() failed : an error occurred (usually it means that the apply() was interrupted)
Definition Action.h:233
@ SUCCESS
everything went according to plan
Definition Action.h:232
@ ABORTED
the action was aborted before completion
Definition Action.h:235
@ WARNING
some (partial) error occurred during the application of the algorithm
Definition Action.h:234
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:337
QString getName() const
get the name of the action
Definition Action.h:322
QStringList getTag() const
the name of the tag called this action
Definition Action.h:345
bool getEmbedded() const
argument use to know if the widget is embedded or not
Definition Action.h:350
QWidget * actionWidget
the action widget
Definition Action.h:490
QString getDescription() const
the description of the action
Definition Action.h:327
QString getComponentClassName() const
the name of the component class that can be used by this action
Definition Action.h:332
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition sdk/libraries/core/component/Component.h:304
HistoryItem class describes the entry of an action used in a pipeline, in the history.
Definition HistoryItem.h:61
Interface for all objects that should be serialized by the PersistenceManager.
Definition InterfacePersistence.h:38
This class describes a property that can be used in components and actions or any class that needs to...
Definition Property.h:306