|
void | log (Logtype _type, QString _message) |
|
void | log (QString _message) |
|
void | emptyObjectAdded (int _id) |
|
void | addContextMenuItem (QAction *_action, ContextMenuType _type) |
|
void | addContextMenuItem (QAction *_action, DataType _objectType, ContextMenuType _type) |
|
virtual void | updateView () |
| Update current view in Main Application. More...
|
|
virtual void | setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) |
| Set a description for a public slot. More...
|
|
virtual void | setRenderer (unsigned int _viewer, QString _rendererName) |
| Set a renderer for the given viewer. More...
|
|
virtual void | save (int _id, QString _filename) |
| Save object to a file. More...
|
|
virtual void | load (QString _filename, DataType _type, int &_id) |
| Load object from file with a specific DataType. More...
|
|
virtual void | log (Logtype _type, QString _message)=0 |
|
virtual void | log (QString _message)=0 |
|
virtual void | emptyObjectAdded (int _id) |
| Emit this signal if an empty object has been created. More...
|
|
Definition at line 60 of file TypeSkeleton.hh.
◆ ~TypeSkeletonPlugin()
TypeSkeletonPlugin::~TypeSkeletonPlugin |
( |
| ) |
|
|
inline |
◆ TypeSkeletonPlugin()
TypeSkeletonPlugin::TypeSkeletonPlugin |
( |
| ) |
|
◆ addEmpty()
int TypeSkeletonPlugin::addEmpty |
( |
| ) |
|
|
virtual |
Create an empty object.
When this slot is called you have to create an object of your supported type.
- Returns
- Id of the new Object
Implements TypeInterface.
Definition at line 188 of file TypeSkeleton.cc.
◆ description()
QString TypeSkeletonPlugin::description |
( |
| ) |
|
|
inlinevirtual |
Return a description of what the plugin is doing.
This function has to return a basic description of the plugin
Implements BaseInterface.
Definition at line 105 of file TypeSkeleton.hh.
◆ generateBackup()
void TypeSkeletonPlugin::generateBackup |
( |
int |
_id, |
|
|
QString |
_name, |
|
|
UpdateType |
_type |
|
) |
| |
|
virtual |
This slot should be implemented in a TypePlugin to generate type specific backups.
- Parameters
-
_id | Id of the added object |
_name | name of the backup |
_type | the type of backup that needs to be done |
Reimplemented from TypeInterface.
Definition at line 224 of file TypeSkeleton.cc.
◆ name()
QString TypeSkeletonPlugin::name |
( |
| ) |
|
|
inlinevirtual |
Return a name for the plugin.
This Function has to return the name of the plugin.
Implements BaseInterface.
Definition at line 104 of file TypeSkeleton.hh.
◆ noguiSupported
void TypeSkeletonPlugin::noguiSupported |
( |
| ) |
|
|
inlineprivateslot |
◆ pluginsInitialized
void TypeSkeletonPlugin::pluginsInitialized |
( |
| ) |
|
|
privateslot |
◆ registerType()
bool TypeSkeletonPlugin::registerType |
( |
| ) |
|
|
virtual |
◆ slotShowCoordFrames()
void TypeSkeletonPlugin::slotShowCoordFrames |
( |
| ) |
|
|
private |
◆ slotShowIndices()
void TypeSkeletonPlugin::slotShowIndices |
( |
| ) |
|
|
private |
◆ slotShowMotionPath()
void TypeSkeletonPlugin::slotShowMotionPath |
( |
| ) |
|
|
private |
◆ slotUpdateContextMenu()
void TypeSkeletonPlugin::slotUpdateContextMenu |
( |
int |
_objectId | ) |
|
|
privatevirtual |
When the main application requests a context menu, this slot is called before showing the window. If an object is picked the id will be given in this call so you can change the contents of your menu depending on the given object.
- Parameters
-
_objectId | id of the object |
Reimplemented from ContextMenuInterface.
Definition at line 104 of file TypeSkeleton.cc.
◆ supportedType()
DataType TypeSkeletonPlugin::supportedType |
( |
| ) |
|
|
inlinevirtual |
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
The function is used from addEmpty in the core to check if your plugin can create an object of a given dataType. If so, your addEmpty function will be invoked to create it.
Implements TypeInterface.
Definition at line 116 of file TypeSkeleton.hh.
◆ version
QString TypeSkeletonPlugin::version |
( |
| ) |
|
|
inlineslot |
◆ showCoordFramesAction_
QAction* TypeSkeletonPlugin::showCoordFramesAction_ |
|
private |
◆ showIndicesAction_
QAction* TypeSkeletonPlugin::showIndicesAction_ |
|
private |
◆ showMotionAction_
QAction* TypeSkeletonPlugin::showMotionAction_ |
|
private |
The documentation for this class was generated from the following files: