Developer Documentation
Loading...
Searching...
No Matches
NoisePlugin Class Reference
Inheritance diagram for NoisePlugin:
BaseInterface ToolboxInterface BackupInterface LoggingInterface PythonInterface

Public Slots

void slotAddNoise (int _objectId, double _maxNoise)
 
QString version ()
 

Signals

void updatedObject (int _id, const UpdateType &_type)
 
void createBackup (int _objectid, QString _name, UpdateType _type=UPDATE_ALL)
 
void log (Logtype _type, QString _message)
 
void log (QString _message)
 
void addToolbox (QString _name, QWidget *_widget, QIcon *_icon)
 
- Signals inherited from BaseInterface
virtual void updateView ()
 Update current view in Main Application.
 
virtual void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
 Set a description for a public slot.
 
virtual void setRenderer (unsigned int _viewer, QString _rendererName)
 Set a renderer for the given viewer.
 
- Signals inherited from ToolboxInterface
virtual void addToolbox (QString _name, QWidget *_widget)
 Add a toolbox widget to the gui with the given name.
 
- Signals inherited from BackupInterface
virtual void createBackup (int _objectid, QString _name, UpdateType _type=UPDATE_ALL)
 Tell Backup Plugin to create a backup.
 
virtual void aboutToRestore (int _objectid)
 Backup Plugin tells other Plugins that a restore will happen.
 
virtual void generateBackup (int _id, QString _name, UpdateType _type)
 This signal is emitted by a BackupPlugin and tells a TypePlugin to generate a backup.
 
- Signals inherited from LoggingInterface
virtual void log (Logtype _type, QString _message)=0
 
virtual void log (QString _message)=0
 
- Signals inherited from PythonInterface
virtual void executePythonScript (QString _script)
 

Public Member Functions

QString name ()
 Return a name for the plugin.
 
QString description ()
 Return a description of what the plugin is doing.
 

Private Slots

void initializePlugin ()
 
void slotAddNoise ()
 
void noguiSupported ()
 Tell system that this plugin runs without ui.
 
- Private Slots inherited from BaseInterface
virtual void exit ()
 
virtual QString version ()
 Return a version string for your plugin.
 

Private Member Functions

template<class MeshT >
void slotAddNoise (MeshT *_mesh, double _maxNoise)
 
void slotAddNoise (SplatCloud *_splat_cloud, double _maxNoise)
 
- Private Member Functions inherited from BaseInterface
virtual void noguiSupported ()
 
virtual ~BaseInterface ()
 Destructor.
 
virtual void blockScenegraphUpdates (bool _block)
 Tell the core to prevent scenegraph updates.
 
virtual void updatedObject (int _objectId)
 An object has been changed or added by this plugin.
 
virtual void updatedObject (int _identifier, const UpdateType &_type)
 An object has been changed or added by this plugin.
 
virtual void nodeVisibilityChanged (int _identifier)
 A scenegraph node has been shown or hidden.
 
virtual void getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
 Get the current renderer for the given viewer.
 
- Private Member Functions inherited from ToolboxInterface
virtual ~ToolboxInterface ()
 Destructor.
 
virtual void addToolbox (QString _name, QWidget *_widget, QIcon *_icon)
 Add a toolbox widget to the gui with the given name and an icon.
 
virtual void addToolbox (QString _name, QWidget *_widget, QIcon *_icon, QWidget *_headerAreaWidget)
 Add a toolbox widget to the gui with the given name, icon and header area widget.
 
- Private Member Functions inherited from BackupInterface
virtual void createBackup (IdList _objectids, QString _name, std::vector< UpdateType > _types)
 Tell Backup Plugin to create a group backup.
 
virtual void undo (int _objectid)
 Tell Backup Plugin to undo the last action of an object.
 
virtual void redo (int _objectid)
 Tell Backup Plugin to redo the last action on an object.
 
virtual void undo ()
 Tell Backup Plugin to undo the last action.
 
virtual void redo ()
 Tell Backup Plugin to redo the last action.
 
virtual ~BackupInterface ()
 Destructor.
 
virtual void restored (int _objectid)
 Backup Plugin tells other Plugins that a restore has happened.
 
- Private Member Functions inherited from LoggingInterface
virtual ~LoggingInterface ()
 Destructor.
 
- Private Member Functions inherited from PythonInterface
virtual void openPythonScriptInEditor (QString _script)
 
virtual ~PythonInterface ()
 Destructor.
 

Private Attributes

noiseToolbarWidgettool_
 Widget for Toolbox.
 
QIcon * toolIcon_
 

Detailed Description

Definition at line 58 of file NoisePlugin.hh.

Constructor & Destructor Documentation

◆ NoisePlugin()

NoisePlugin::NoisePlugin ( )

Definition at line 51 of file NoisePlugin.cc.

◆ ~NoisePlugin()

NoisePlugin::~NoisePlugin ( )

Definition at line 59 of file NoisePlugin.cc.

Member Function Documentation

◆ description()

QString NoisePlugin::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 89 of file NoisePlugin.hh.

◆ initializePlugin

void NoisePlugin::initializePlugin ( )
privateslot

Definition at line 68 of file NoisePlugin.cc.

◆ name()

QString NoisePlugin::name ( )
inlinevirtual

Return a name for the plugin.

This Function has to return the name of the plugin.

Implements BaseInterface.

Definition at line 88 of file NoisePlugin.hh.

◆ noguiSupported

void NoisePlugin::noguiSupported ( )
inlineprivateslot

Tell system that this plugin runs without ui.

Definition at line 106 of file NoisePlugin.hh.

◆ slotAddNoise [1/4]

void NoisePlugin::slotAddNoise ( )
privateslot

Definition at line 88 of file NoisePlugin.cc.

◆ slotAddNoise [2/4]

void NoisePlugin::slotAddNoise ( int  _objectId,
double  _maxNoise 
)
slot

Definition at line 102 of file NoisePlugin.cc.

◆ slotAddNoise() [3/4]

template<class MeshT >
void NoisePlugin::slotAddNoise ( MeshT _mesh,
double  _maxNoise 
)
private

Definition at line 130 of file NoisePlugin.cc.

◆ slotAddNoise() [4/4]

void NoisePlugin::slotAddNoise ( SplatCloud _splat_cloud,
double  _maxNoise 
)
private

Definition at line 163 of file NoisePlugin.cc.

◆ version

QString NoisePlugin::version ( )
inlineslot

Definition at line 119 of file NoisePlugin.hh.

Member Data Documentation

◆ tool_

noiseToolbarWidget* NoisePlugin::tool_
private

Widget for Toolbox.

Definition at line 94 of file NoisePlugin.hh.

◆ toolIcon_

QIcon* NoisePlugin::toolIcon_
private

Definition at line 96 of file NoisePlugin.hh.


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