![]() |
Computer Assited Medical Intervention Tool Kit
version 3.3
|
This class describes what is a generic Action extension. More...
#include <ActionExtension.h>
Public Member Functions | |
const ActionList & | getActions () |
get the list of actions registered y this extension More... | |
virtual QString | getDescription ()=0 |
returns the action extension small description (to be overriden in your ActionExtension) More... | |
virtual QString | getName ()=0 |
returns the action extension name (to be overriden in your ActionExtension) More... | |
virtual void | init ()=0 |
this method should just call registerNewAction(MyAction) for any MyAction class you need to register by this extension More... | |
virtual | ~ActionExtension () |
destructor More... | |
Protected Member Functions | |
ActionExtension () | |
constructor More... | |
void | registerAction (Action *) |
register an action instance More... | |
Protected Attributes | |
ActionList | actions |
the list of actions More... | |
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:
|
inlineprotected |
constructor
|
virtual |
destructor
const ActionList& camitk::ActionExtension::getActions | ( | ) |
get the list of actions registered y this extension
|
pure virtual |
returns the action extension small description (to be overriden in your ActionExtension)
Implemented in ApplicationActionExtension, MMLActionExtension, BasicTopologyExtension, ReconstructionExtension, MeshProcessingExtension, BasicMeshExtension, ImageLutExtension, BoxVOIExtension, MultiPickingExtension, ShowIn3DExtension, ArbitrarySliceExtension, VolumeRenderingExtension, ITKFiltersExtension, ITKSegmentationExtension, PixelColorChangerExtension, and ResampleExtension.
|
pure virtual |
returns the action extension name (to be overriden in your ActionExtension)
Implemented in ApplicationActionExtension, MMLActionExtension, BasicTopologyExtension, ReconstructionExtension, MeshProcessingExtension, BasicMeshExtension, ImageLutExtension, BoxVOIExtension, MultiPickingExtension, VolumeRenderingExtension, ITKFiltersExtension, ITKSegmentationExtension, ShowIn3DExtension, ArbitrarySliceExtension, PixelColorChangerExtension, and ResampleExtension.
|
pure virtual |
this method should just call registerNewAction(MyAction) for any MyAction class you need to register by this extension
Implemented in BoxVOIExtension, MultiPickingExtension, ShowIn3DExtension, ArbitrarySliceExtension, ITKFiltersExtension, ITKSegmentationExtension, ApplicationActionExtension, VolumeRenderingExtension, MMLActionExtension, BasicTopologyExtension, ResampleExtension, ReconstructionExtension, MeshProcessingExtension, BasicMeshExtension, ImageLutExtension, and PixelColorChangerExtension.
|
protected |
register an action instance
|
protected |
the list of actions