Developer Documentation
Loading...
Searching...
No Matches
LaplaceLengthPlugin Class Reference
Inheritance diagram for LaplaceLengthPlugin:
BaseInterface TextureInterface

Public Slots

QString version ()
 

Signals

void addTexture (QString _textureName, QString _filename, uint dimension)
 
void updatedTextures (QString, int)
 
void setTextureMode (QString _textureName, QString _mode)
 
- 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 TextureInterface
virtual void addTexture (QString _name, QString _filename, uint _dimension, int _id)
 Emit this Signal if a texture has been added (Property Name,filename,Dimension)
 

Public Member Functions

template<typename MeshT >
void computeLaplaceLength (MeshT *_mesh)
 
template<typename MeshT >
void computeLaplaceSquaredLength (MeshT *_mesh)
 
QString name ()
 Return a name for the plugin.
 
QString description ()
 Return a description of what the plugin is doing.
 

Private Slots

void slotUpdateTexture (QString _textureName, int _identifier)
 
void pluginsInitialized ()
 
- Private Slots inherited from BaseInterface
virtual void exit ()
 
virtual QString version ()
 Return a version string for your plugin.
 

Additional Inherited Members

- 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 TextureInterface
virtual void addTexture (QString _name, QImage _image, uint _dimension, int _id)
 Emit this Signal if a texture has been added (Property Name,image,Dimension)
 
virtual void addTexture (QString _name, QString _filename, uint _dimension)
 Emit this Signal if a texture has been added (Property Name,filename,Dimension)
 
virtual void addTexture (QString _name, QImage _image, uint _dimension)
 Emit this Signal if a texture has been added (Property Name,image,Dimension)
 
virtual void addMultiTexture (QString _textureGroup, QString _name, QString _filename, int _id, int &_textureId)
 Emit this Signal if you want to add a texture for a multitexturing mode.
 
virtual void addMultiTexture (QString _textureGroup, QString _name, QImage _image, int _id, int &_textureId)
 Emit this Signal if you want to add a texture for a multitexturing mode.
 
virtual void updateTexture (QString _textureName, int _identifier)
 Tell Plugins to update the given texture for the given identifier This signal can be called from any thread.
.
 
virtual void updateAllTextures ()
 Tell Plugins to update all textures.
 
virtual void updatedTextures (QString, int)
 emit this signal if you updated a texture
 
virtual void switchTexture (QString _textureName, int _id)
 emit this signal if you want to switch the texture of a specific object This signal can be called from any thread.

 
virtual void switchTexture (QString _textureName)
 emit this signal if you want to switch the global texture This signal can be called from any thread.

 
virtual void setTextureMode (QString _textureName, QString _mode)
 emit this signal if you want to set a special mode for this texture (Clamping,...)
 
virtual void setTextureMode (QString _textureName, QString _mode, int _id)
 emit this signal if you want to set a special mode for this texture (Clamping,...)
 
virtual void textureChangeImage (QString _textureName, QImage &_image, int _id)
 Change the texture image of a given texture.
 
virtual void textureChangeImage (QString _textureName, QImage &_image)
 Change the texture image of a given global texture.
 
virtual void textureGetImage (QString _textureName, QImage &_image, int _id)
 get the texture image of a given texture
 
virtual void textureGetImage (QString _textureName, QImage &_image)
 Get the texture image of a given global texture.
 
virtual void textureIndex (QString _textureName, int _id, int &_index)
 Get the texture index of a given texture.
 
virtual void textureIndexPropertyName (int _id, QString &_propertyName)
 Get the name of the texture index property.
 
virtual void textureName (int _id, int _textureIndex, QString &_textureName)
 get the name of the texture with given texture index
 
virtual void textureFilename (int _id, QString _textureName, QString &_textureFilename)
 get the filename of the texture with given texture index
 
virtual void getCurrentTexture (int _id, QString &_textureName)
 get the name of the texture which is currently enabled
 
virtual void getSubTextures (int _id, QString _multiTextureName, QStringList &_subTextures)
 get the names of all sub-textures under the given multiTexture
 
virtual ~TextureInterface ()
 Destructor.
 

Detailed Description

Definition at line 51 of file LaplacePlugin.hh.

Constructor & Destructor Documentation

◆ ~LaplaceLengthPlugin()

LaplaceLengthPlugin::~LaplaceLengthPlugin ( )
inline

Definition at line 72 of file LaplacePlugin.hh.

Member Function Documentation

◆ computeLaplaceLength()

template<typename MeshT >
void LaplaceLengthPlugin::computeLaplaceLength ( MeshT _mesh)

Definition at line 106 of file LaplacePlugin.cc.

◆ computeLaplaceSquaredLength()

template<typename MeshT >
void LaplaceLengthPlugin::computeLaplaceSquaredLength ( MeshT _mesh)

Definition at line 148 of file LaplacePlugin.cc.

◆ description()

QString LaplaceLengthPlugin::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 81 of file LaplacePlugin.hh.

◆ name()

QString LaplaceLengthPlugin::name ( )
inlinevirtual

Return a name for the plugin.

This Function has to return the name of the plugin.

Implements BaseInterface.

Definition at line 80 of file LaplacePlugin.hh.

◆ pluginsInitialized

void LaplaceLengthPlugin::pluginsInitialized ( )
privateslot

Definition at line 60 of file LaplacePlugin.cc.

◆ slotUpdateTexture

void LaplaceLengthPlugin::slotUpdateTexture ( QString  _textureName,
int  _identifier 
)
privateslot

Definition at line 69 of file LaplacePlugin.cc.

◆ version

QString LaplaceLengthPlugin::version ( )
inlineslot

Definition at line 84 of file LaplacePlugin.hh.


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