Developer Documentation

Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
TypeSplatCloudPlugin Class Reference
Inheritance diagram for TypeSplatCloudPlugin:

## Public Slots
QString | version ()

## Signals
void | emptyObjectAdded (int _objectId)
void | addEmptyObject (DataType _type, int &_objectId)
void | deleteObject (int _objectId)
void | log (QString _message)
void | log (Logtype _type, QString _message)
Signals inherited from BaseInterface
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...
Signals inherited from LoadSaveInterface
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...
Signals inherited from LoggingInterface
virtual void | log (Logtype _type, QString _message)=0
virtual void | log (QString _message)=0
Signals inherited from TypeInterface
virtual void | emptyObjectAdded (int _id)
| Emit this signal if an empty object has been created. More...
Signals inherited from RPCInterface
virtual void | pluginExists (QString _pluginName, bool &_exists)

## Public Member Functions
int | addEmpty ()
| Create an empty object. More...
DataType | supportedType ()
| Return your supported object type( e.g. DATA_TRIANGLE_MESH ) More...
void | generateBackup (int _objectId, QString _name, UpdateType _type)
| This slot should be implemented in a TypePlugin to generate type specific backups. More...
QString | name ()
| Return a name for the plugin. More...
QString | description ()
| Return a description of what the plugin is doing. More...
bool | registerType ()

## Private Slots
void | noguiSupported ()
void | slotViewChanged ()
void | slotObjectPropertiesChanged (int _objectId)
void | slotObjectUpdated (int _objectId, const UpdateType &_updateType)
void | objectDeleted (int _objectId)
Private Slots inherited from BaseInterface
virtual void | exit ()
virtual QString | version ()
| Return a version string for your plugin. More...
Private Slots inherited from TypeInterface

## Private Member Functions
void | ungroupGroupObject (GroupObject *_groupObject)
GroupObject * | getCamerasGroupObject (const SplatCloud_CameraManager &_cameraManager)
GroupObject * | getClustersGroupObject (const SplatCloud_ClusterManager &_clusterManager)
void | ungroupCameraObjects (const SplatCloud_CameraManager &_cameraManager)
void | ungroupClusterObjects (const SplatCloud_ClusterManager &_clusterManager)
void | groupCameraObjects (const SplatCloud_CameraManager &_cameraManager)
void | groupClusterObjects (const SplatCloud_ClusterManager &_clusterManager)
void | addCameraObjects (SplatCloudObject *_splatCloudObject)
void | addClusterObjects (SplatCloudObject *_splatCloudObject)
void | freeCameraObjects (SplatCloudObject *_splatCloudObject)
void | freeClusterObjects (SplatCloudObject *_splatCloudObject)
void | eraseCamera (CameraObject *_cameraObject)
Private Member Functions inherited from BaseInterface
virtual void | noguiSupported ()
virtual | ~BaseInterface ()
| Destructor.
virtual void | blockScenegraphUpdates (bool _block)
| Tell the core to prevent scenegraph updates. More...
virtual void | updatedObject (int _objectId)
| An object has been changed or added by this plugin. More...
virtual void | updatedObject (int _identifier, const UpdateType &_type)
| An object has been changed or added by this plugin. More...
virtual void | nodeVisibilityChanged (int _identifier)
| A scenegraph node has been shown or hidden. More...
virtual void | getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
| Get the current renderer for the given viewer. More...
Private Member Functions inherited from LoadSaveInterface
virtual | ~LoadSaveInterface ()
| Destructor.
virtual void | addEmptyObject (DataType _type, int &_id)
virtual void | copyObject (int _oldId, int &_newId)
virtual void | emptyObjectAdded (int _id)
| DEPRECATED HERE (Moved to Type Interface)! Emit this signal if an empty object has been created. More...
virtual void | deleteObject (int _id)
| Delete an object This signal can be called from any thread. . More...
virtual void | deleteAllObjects ()
| Delete all Objects. More...
virtual void | getAllFileFilters (QStringList &_filters)
| Get all file filters that are registered. More...
Private Member Functions inherited from LoggingInterface
virtual | ~LoggingInterface ()
| Destructor.
Private Member Functions inherited from TypeInterface
virtual | ~TypeInterface ()
| Destructor.
Private Member Functions inherited from RPCInterface
virtual | ~RPCInterface ()
| Destructor.
virtual void | functionExists (QString _pluginName, QString _functionName, bool &_exists)

## Private Attributes
ACG::SceneGraph::DrawModes::DrawMode | splatsDrawMode_
ACG::SceneGraph::DrawModes::DrawMode | dotsDrawMode_

## Detailed Description

Definition at line 78 of file TypeSplatCloud.hh.

## Member Function Documentation

## ◆ addEmpty()

int TypeSplatCloudPlugin::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 283 of file TypeSplatCloud.cc.

## ◆ description()

QString TypeSplatCloudPlugin::description | ( |  | ) |
| inline virtual

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 133 of file TypeSplatCloud.hh.

## ◆ generateBackup()

void TypeSplatCloudPlugin::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 332 of file TypeSplatCloud.cc.

## ◆ name()

QString TypeSplatCloudPlugin::name | ( |  | ) |
| inline virtual

Return a name for the plugin.

This Function has to return the name of the plugin.

Implements BaseInterface.

Definition at line 132 of file TypeSplatCloud.hh.

## ◆ supportedType()

DataType TypeSplatCloudPlugin::supportedType | ( |  | ) |
| inline virtual

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 111 of file TypeSplatCloud.hh.

The documentation for this class was generated from the following files:

- Type-SplatCloud/Plugin-TypeSplatCloud/TypeSplatCloud.hh
- Type-SplatCloud/Plugin-TypeSplatCloud/TypeSplatCloud.cc