This class describes what is a generic Action extension.
More...
#include <ActionExtension.h>
This class describes what is a generic Action extension.
To add a ActionExtension to CamiTK core, write a new class that inherits from this class.
The following methods HAVE to be redefined in your subclass:
- getName: return the name of your extension
- getDescription: return a small description
- init: a simple enough method, just call registerNewAction(MyAction) for any MyAction class inheriting from camitk::Action
- See Also
- BasicMeshExtension For an example of an extension registering more than one actions
camitk::ActionExtension::ActionExtension |
( |
| ) |
|
|
inlineprotected |
virtual camitk::ActionExtension::~ActionExtension |
( |
| ) |
|
|
virtual |
const ActionList& camitk::ActionExtension::getActions |
( |
| ) |
|
get the list of actions registered y this extension
virtual QString camitk::ActionExtension::getDescription |
( |
| ) |
|
|
pure virtual |
returns the action extension small description (to be overriden in your ActionExtension)
virtual QString camitk::ActionExtension::getName |
( |
| ) |
|
|
pure virtual |
returns the action extension name (to be overriden in your ActionExtension)
virtual void camitk::ActionExtension::init |
( |
| ) |
|
|
pure virtual |
void camitk::ActionExtension::registerAction |
( |
Action * |
| ) |
|
|
protected |
register an action instance
The documentation for this class was generated from the following file: