Developer Documentation
TextureControlPlugin Class Reference
Inheritance diagram for TextureControlPlugin:
ContextMenuInterface LoadSaveInterface LoggingInterface MenuInterface TextureInterface BackupInterface BaseInterface

Public Slots

QString version ()
 

Signals

void updateView ()
 
void updatedObject (int _identifier, const UpdateType &_type)
 
void updateTexture (QString, int)
 
void log (Logtype _type, QString _message)
 
void log (QString _message)
 
void addMenubarAction (QAction *_action, QString _type)
 
void addContextMenuItem (QAction *_action, DataType _objectType, ContextMenuType _type)
 
- 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 BackupInterface
virtual void createBackup (int _objectid, QString _name, UpdateType _type=UPDATE_ALL)
 Tell Backup Plugin to create a backup. More...
 
virtual void aboutToRestore (int _objectid)
 Backup Plugin tells other Plugins that a restore will happen. More...
 
virtual void generateBackup (int _id, QString _name, UpdateType _type)
 This signal is emitted by a BackupPlugin and tells a TypePlugin to generate a backup. More...
 
- 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) More...
 
- Signals inherited from MenuInterface
virtual void getMenubarMenu (QString _name, QMenu *&_menu, bool _create)
 Get a existing top level menu pointer or create a new one. More...
 
- Signals inherited from LoggingInterface
virtual void log (Logtype _type, QString _message)=0
 
virtual void log (QString _message)=0
 
- 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 ContextMenuInterface
virtual void addContextMenuItem (QAction *_action, ContextMenuType _type)
 Add an entry for a context Menu. More...
 

Public Member Functions

 TextureControlPlugin ()
 Constructor. More...
 
 ~TextureControlPlugin ()
 Destructor. More...
 
QString name ()
 Return a name for the plugin. More...
 
QString description ()
 Return a description of what the plugin is doing. More...
 

Private Slots

void pluginsInitialized ()
 
void slotObjectUpdated (int _identifier, const UpdateType &_type)
 
void slotDrawModeChanged (int _viewerId)
 
void slotUpdateAllTextures ()
 
void slotTextureAdded (QString _textureName, QString _filename, uint _dimension, int _id)
 
void slotTextureAdded (QString _textureName, QImage _image, uint _dimension, int _id)
 
void slotTextureAdded (QString _textureName, QString _filename, uint _dimension)
 
void slotTextureAdded (QString _textureName, QImage _image, uint _dimension)
 
void slotMultiTextureAdded (QString _textureGroup, QString _name, QString _filename, int _id, int &_textureId)
 
void slotMultiTextureAdded (QString _textureGroup, QString _name, QImage _image, int _id, int &_textureId)
 
void slotTextureUpdated (QString _textureName, int _identifier)
 
void slotSetTextureMode (QString _textureName, QString _mode, int _id)
 
void slotSetTextureMode (QString _textureName, QString _mode)
 
void slotSwitchTexture (QString _textureName, int _id)
 
void slotSwitchTexture (QString _textureName)
 
void slotUpdateTexture (QString _textureName, int _identifier)
 
void slotTextureChangeImage (QString _textureName, QImage &_image, int _id)
 
void slotTextureChangeImage (QString _textureName, QImage &_image)
 
void slotTextureGetImage (QString _textureName, QImage &_image, int _id)
 
void slotTextureGetImage (QString _textureName, QImage &_image)
 
void slotTextureIndex (QString _textureName, int _id, int &_index)
 
void slotTextureIndexPropertyName (int _id, QString &_propertyName)
 
void slotTextureName (int _id, int _textureIndex, QString &_textureName)
 
void slotTextureFilename (int _id, QString _textureName, QString &_textureFilename)
 
void slotGetCurrentTexture (int _id, QString &_textureName)
 
void slotGetSubTextures (int _id, QString _multiTextureName, QStringList &_subTextures)
 
void fileOpened (int _id)
 
void addedEmptyObject (int _id)
 
void slotAboutToRestore (int _objectid)
 
void slotRestored (int _objectid)
 
void doSwitchTexture (QString _textureName, int _id)
 
void slotTextureMenu (QAction *_action)
 Called when an action in the TextureMenu is triggered. More...
 
void slotSetTextureProperties ()
 Slot for showing the TextureProperties Dialog. More...
 
void slotPrintImagePoolInfo ()
 Print Pool Info. More...
 
void applyDialogSettings (TextureData *_texData, QString _textureName, int _id)
 
void getCoordinates1D (QString _textureName, int _id, std::vector< double > &_x)
 
- Private Slots inherited from BaseInterface
virtual void exit ()
 
virtual QString version ()
 Return a version string for your plugin. More...
 

Private Member Functions

void slotTextureAdded (QString _textureName, QString _fileName, QImage _image, uint _dimension, int _id)
 
void slotTextureAdded (QString _textureName, QString _fileName, QImage _image, uint _dimension)
 
void slotMultiTextureAdded (QString _textureGroup, QString _name, QString _fileName, QImage _image, int _id, int &_textureId)
 
bool StringToBool (QString _value)
 
void switchDrawMode (TextureType _type, int _id)
 Checks for a correct drawmode and changes if necessary. More...
 
template<typename MeshT >
void doUpdateTexture (Texture &_texture, MeshT &_mesh)
 Calls the correct copyTexture() function to copy the texture property into the displayed OM property. More...
 
template<typename MeshT >
void getOriginalHistogram (std::vector< double > &_x, std::vector< double > &_y, int _textureid, MeshT &_mesh, OpenMesh::VPropHandleT< double > _texProp)
 
template<typename MeshT >
void handleFileOpenTextures (MeshT *&_mesh, int _objectId)
 Handles data stored in new opened files ( e.g. Texture Information ) More...
 
bool parseMode (QString _mode, Texture &_texture)
 parse texture mode settings Parses the string _mode and changes the settings in _texture according to the string. If the setting changes, it will return true. More...
 
1D Texture copy functions( copy 1D input textures to target texture coordinates and transform values )
template<typename MeshT >
void copyTexture (Texture &_texture, MeshT &_mesh, OpenMesh::VPropHandleT< double > _texProp)
 Copy the supplied 1D vertex property to both coordinates of the 2D vertex OM texture property. More...
 
template<typename MeshT >
void copyTexture (Texture &_texture, MeshT &_mesh, OpenMesh::HPropHandleT< double > _texProp)
 Copy the supplied 1D halfedge property to both coordinates of the 2D halfedge OM texture property. More...
 
2D Texture copy functions( copy 2D input textures to target texture coordinates and transform values )
template<typename MeshT >
void copyTexture (Texture &_texture, MeshT &_mesh, OpenMesh::VPropHandleT< ACG::Vec2d > _texProp)
 Copy the supplied 2D vertex property to the 2D vertex OM property. More...
 
template<typename MeshT >
void copyTexture (Texture &_texture, MeshT &_mesh, OpenMesh::HPropHandleT< ACG::Vec2d > _texProp)
 Copy the supplied 2D halfedge property to the 2D halfedge OM property. More...
 
- Private Member Functions inherited from BaseInterface
virtual void noguiSupported ()
 
virtual ~BaseInterface ()
 Destructor. More...
 
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 BackupInterface
virtual void createBackup (IdList _objectids, QString _name, std::vector< UpdateType > _types)
 Tell Backup Plugin to create a group backup. More...
 
virtual void undo (int _objectid)
 Tell Backup Plugin to undo the last action of an object. More...
 
virtual void redo (int _objectid)
 Tell Backup Plugin to redo the last action on an object. More...
 
virtual void undo ()
 Tell Backup Plugin to undo the last action. More...
 
virtual void redo ()
 Tell Backup Plugin to redo the last action. More...
 
virtual ~BackupInterface ()
 Destructor. More...
 
virtual void restored (int _objectid)
 Backup Plugin tells other Plugins that a restore has happened. More...
 
- 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) More...
 
virtual void addTexture (QString _name, QString _filename, uint _dimension)
 Emit this Signal if a texture has been added (Property Name,filename,Dimension) More...
 
virtual void addTexture (QString _name, QImage _image, uint _dimension)
 Emit this Signal if a texture has been added (Property Name,image,Dimension) More...
 
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. More...
 
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. More...
 
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.
. More...
 
virtual void updateAllTextures ()
 Tell Plugins to update all textures. More...
 
virtual void updatedTextures (QString, int)
 emit this signal if you updated a texture More...
 
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.
More...
 
virtual void switchTexture (QString _textureName)
 emit this signal if you want to switch the global texture This signal can be called from any thread.
More...
 
virtual void setTextureMode (QString _textureName, QString _mode)
 emit this signal if you want to set a special mode for this texture (Clamping,...) More...
 
virtual void setTextureMode (QString _textureName, QString _mode, int _id)
 emit this signal if you want to set a special mode for this texture (Clamping,...) More...
 
virtual void textureChangeImage (QString _textureName, QImage &_image, int _id)
 Change the texture image of a given texture. More...
 
virtual void textureChangeImage (QString _textureName, QImage &_image)
 Change the texture image of a given global texture. More...
 
virtual void textureGetImage (QString _textureName, QImage &_image, int _id)
 get the texture image of a given texture More...
 
virtual void textureGetImage (QString _textureName, QImage &_image)
 Get the texture image of a given global texture. More...
 
virtual void textureIndex (QString _textureName, int _id, int &_index)
 Get the texture index of a given texture. More...
 
virtual void textureIndexPropertyName (int _id, QString &_propertyName)
 Get the name of the texture index property. More...
 
virtual void textureName (int _id, int _textureIndex, QString &_textureName)
 get the name of the texture with given texture index More...
 
virtual void textureFilename (int _id, QString _textureName, QString &_textureFilename)
 get the filename of the texture with given texture index More...
 
virtual void getCurrentTexture (int _id, QString &_textureName)
 get the name of the texture which is currently enabled More...
 
virtual void getSubTextures (int _id, QString _multiTextureName, QStringList &_subTextures)
 get the names of all sub-textures under the given multiTexture More...
 
virtual ~TextureInterface ()
 Destructor. More...
 
- Private Member Functions inherited from MenuInterface
virtual ~MenuInterface ()
 Destructor. More...
 
virtual void addMenubarAction (QAction *_action, QString _name)
 Adds an action to the menubar. More...
 
virtual void addMenubarActions (std::vector< QAction * > &_actions, QString _name)
 Add multiple actions to the menu bar. More...
 
- Private Member Functions inherited from LoggingInterface
virtual ~LoggingInterface ()
 Destructor. More...
 
- Private Member Functions inherited from LoadSaveInterface
virtual ~LoadSaveInterface ()
 Destructor. More...
 
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 ContextMenuInterface
virtual ~ContextMenuInterface ()
 Destructor. More...
 
virtual void addContextMenuItem (QAction *_action, DataType _objectType, ContextMenuType _type)
 Add an entry for a context Menu. More...
 
virtual void hideContextMenu ()
 hide the main context menu More...
 

Private Attributes

TextureData globalTextures_
 
texturePropertiesWidgetsettingsDialog_
 
Global texture menu
QMenu * textureMenu_
 
QActionGroup * actionGroup_
 
std::vector< QAction * > textureActions_
 

Context Menu

QMenu * contextMenu_
 Stores the per object context menu. More...
 
void slotUpdateContextMenu (int _objectId)
 Slot from the context menu interface. More...
 
void slotTextureContextMenu (QAction *_action)
 Called when the context menu has been triggered. More...
 

Detailed Description

Definition at line 81 of file TextureControl.hh.

Constructor & Destructor Documentation

◆ TextureControlPlugin()

TextureControlPlugin::TextureControlPlugin ( )

Constructor.

Definition at line 61 of file TextureControl.cc.

◆ ~TextureControlPlugin()

TextureControlPlugin::~TextureControlPlugin ( )
inline

Destructor.

Definition at line 173 of file TextureControl.hh.

Member Function Documentation

◆ addedEmptyObject

void TextureControlPlugin::addedEmptyObject ( int  _id)
privateslot

Definition at line 253 of file TextureControl.cc.

◆ applyDialogSettings

void TextureControlPlugin::applyDialogSettings ( TextureData _texData,
QString  _textureName,
int  _id 
)
privateslot

Definition at line 1468 of file TextureControl.cc.

◆ copyTexture() [1/4]

template<typename MeshT >
void TextureControlPlugin::copyTexture ( Texture _texture,
MeshT _mesh,
OpenMesh::HPropHandleT< ACG::Vec2d _texProp 
)
private

Copy the supplied 2D halfedge property to the 2D halfedge OM property.

Definition at line 65 of file TextureControl2DTextureHandlingT_impl.hh.

◆ copyTexture() [2/4]

template<typename MeshT >
void TextureControlPlugin::copyTexture ( Texture _texture,
MeshT _mesh,
OpenMesh::HPropHandleT< double >  _texProp 
)
private

Copy the supplied 1D halfedge property to both coordinates of the 2D halfedge OM texture property.

Definition at line 85 of file TextureControl1DTextureHandlingT_impl.hh.

◆ copyTexture() [3/4]

template<typename MeshT >
void TextureControlPlugin::copyTexture ( Texture _texture,
MeshT _mesh,
OpenMesh::VPropHandleT< ACG::Vec2d _texProp 
)
private

Copy the supplied 2D vertex property to the 2D vertex OM property.

Definition at line 49 of file TextureControl2DTextureHandlingT_impl.hh.

◆ copyTexture() [4/4]

template<typename MeshT >
void TextureControlPlugin::copyTexture ( Texture _texture,
MeshT _mesh,
OpenMesh::VPropHandleT< double >  _texProp 
)
private

Copy the supplied 1D vertex property to both coordinates of the 2D vertex OM texture property.

Definition at line 50 of file TextureControl1DTextureHandlingT_impl.hh.

◆ description()

QString TextureControlPlugin::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 176 of file TextureControl.hh.

◆ doSwitchTexture

void TextureControlPlugin::doSwitchTexture ( QString  _textureName,
int  _id 
)
privateslot

Definition at line 1605 of file TextureControl.cc.

◆ doUpdateTexture()

template<typename MeshT >
void TextureControlPlugin::doUpdateTexture ( Texture _texture,
MeshT _mesh 
)
private

Calls the correct copyTexture() function to copy the texture property into the displayed OM property.

Definition at line 910 of file TextureControl.cc.

◆ fileOpened

void TextureControlPlugin::fileOpened ( int  _id)
privateslot

Definition at line 385 of file TextureControl.cc.

◆ getCoordinates1D

void TextureControlPlugin::getCoordinates1D ( QString  _textureName,
int  _id,
std::vector< double > &  _x 
)
privateslot

Definition at line 1952 of file TextureControl.cc.

◆ getOriginalHistogram()

template<typename MeshT >
void TextureControlPlugin::getOriginalHistogram ( std::vector< double > &  _x,
std::vector< double > &  _y,
int  _textureid,
MeshT _mesh,
OpenMesh::VPropHandleT< double >  _texProp 
)
private

Definition at line 48 of file TextureControlHistogramsT_impl.hh.

◆ handleFileOpenTextures()

template<typename MeshT >
void TextureControlPlugin::handleFileOpenTextures ( MeshT *&  _mesh,
int  _objectId 
)
private

Handles data stored in new opened files ( e.g. Texture Information )

Definition at line 353 of file TextureControl.cc.

◆ name()

QString TextureControlPlugin::name ( )
inlinevirtual

Return a name for the plugin.

This Function has to return the name of the plugin.

Implements BaseInterface.

Definition at line 175 of file TextureControl.hh.

◆ parseMode()

bool TextureControlPlugin::parseMode ( QString  _mode,
Texture _texture 
)
private

parse texture mode settings Parses the string _mode and changes the settings in _texture according to the string. If the setting changes, it will return true.

Definition at line 1139 of file TextureControl.cc.

◆ pluginsInitialized

void TextureControlPlugin::pluginsInitialized ( )
privateslot

Definition at line 1373 of file TextureControl.cc.

◆ slotAboutToRestore

void TextureControlPlugin::slotAboutToRestore ( int  _objectid)
privateslot

Definition at line 2100 of file TextureControl.cc.

◆ slotDrawModeChanged

void TextureControlPlugin::slotDrawModeChanged ( int  _viewerId)
privateslot

Definition at line 1018 of file TextureControl.cc.

◆ slotGetCurrentTexture

void TextureControlPlugin::slotGetCurrentTexture ( int  _id,
QString &  _textureName 
)
privateslot

Definition at line 721 of file TextureControl.cc.

◆ slotGetSubTextures

void TextureControlPlugin::slotGetSubTextures ( int  _id,
QString  _multiTextureName,
QStringList &  _subTextures 
)
privateslot

Definition at line 761 of file TextureControl.cc.

◆ slotMultiTextureAdded [1/3]

void TextureControlPlugin::slotMultiTextureAdded ( QString  _textureGroup,
QString  _name,
QImage  _image,
int  _id,
int &  _textureId 
)
inlineprivateslot

Definition at line 130 of file TextureControl.hh.

◆ slotMultiTextureAdded [2/3]

void TextureControlPlugin::slotMultiTextureAdded ( QString  _textureGroup,
QString  _name,
QString  _filename,
int  _id,
int &  _textureId 
)
inlineprivateslot

Definition at line 129 of file TextureControl.hh.

◆ slotMultiTextureAdded() [3/3]

void TextureControlPlugin::slotMultiTextureAdded ( QString  _textureGroup,
QString  _name,
QString  _fileName,
QImage  _image,
int  _id,
int &  _textureId 
)
private

Definition at line 194 of file TextureControl.cc.

◆ slotObjectUpdated

void TextureControlPlugin::slotObjectUpdated ( int  _identifier,
const UpdateType _type 
)
privateslot

Definition at line 1064 of file TextureControl.cc.

◆ slotPrintImagePoolInfo

void TextureControlPlugin::slotPrintImagePoolInfo ( )
privateslot

Print Pool Info.

Definition at line 1443 of file TextureControl.cc.

◆ slotRestored

void TextureControlPlugin::slotRestored ( int  _objectid)
privateslot

Definition at line 2131 of file TextureControl.cc.

◆ slotSetTextureMode [1/2]

void TextureControlPlugin::slotSetTextureMode ( QString  _textureName,
QString  _mode 
)
privateslot

Definition at line 1232 of file TextureControl.cc.

◆ slotSetTextureMode [2/2]

void TextureControlPlugin::slotSetTextureMode ( QString  _textureName,
QString  _mode,
int  _id 
)
privateslot

Definition at line 1340 of file TextureControl.cc.

◆ slotSetTextureProperties

void TextureControlPlugin::slotSetTextureProperties ( )
privateslot

Slot for showing the TextureProperties Dialog.

Definition at line 1438 of file TextureControl.cc.

◆ slotSwitchTexture [1/2]

void TextureControlPlugin::slotSwitchTexture ( QString  _textureName)
privateslot

Definition at line 1825 of file TextureControl.cc.

◆ slotSwitchTexture [2/2]

void TextureControlPlugin::slotSwitchTexture ( QString  _textureName,
int  _id 
)
privateslot

Definition at line 1820 of file TextureControl.cc.

◆ slotTextureAdded [1/6]

void TextureControlPlugin::slotTextureAdded ( QString  _textureName,
QImage  _image,
uint  _dimension 
)
inlineprivateslot

Definition at line 128 of file TextureControl.hh.

◆ slotTextureAdded [2/6]

void TextureControlPlugin::slotTextureAdded ( QString  _textureName,
QImage  _image,
uint  _dimension,
int  _id 
)
inlineprivateslot

Definition at line 126 of file TextureControl.hh.

◆ slotTextureAdded() [3/6]

void TextureControlPlugin::slotTextureAdded ( QString  _textureName,
QString  _fileName,
QImage  _image,
uint  _dimension 
)
private

Definition at line 154 of file TextureControl.cc.

◆ slotTextureAdded() [4/6]

void TextureControlPlugin::slotTextureAdded ( QString  _textureName,
QString  _fileName,
QImage  _image,
uint  _dimension,
int  _id 
)
private

Definition at line 70 of file TextureControl.cc.

◆ slotTextureAdded [5/6]

void TextureControlPlugin::slotTextureAdded ( QString  _textureName,
QString  _filename,
uint  _dimension 
)
inlineprivateslot

Definition at line 127 of file TextureControl.hh.

◆ slotTextureAdded [6/6]

void TextureControlPlugin::slotTextureAdded ( QString  _textureName,
QString  _filename,
uint  _dimension,
int  _id 
)
inlineprivateslot

Definition at line 125 of file TextureControl.hh.

◆ slotTextureChangeImage [1/2]

void TextureControlPlugin::slotTextureChangeImage ( QString  _textureName,
QImage &  _image 
)
privateslot

Definition at line 501 of file TextureControl.cc.

◆ slotTextureChangeImage [2/2]

void TextureControlPlugin::slotTextureChangeImage ( QString  _textureName,
QImage &  _image,
int  _id 
)
privateslot

Definition at line 440 of file TextureControl.cc.

◆ slotTextureContextMenu

void TextureControlPlugin::slotTextureContextMenu ( QAction *  _action)
privateslot

Called when the context menu has been triggered.

This slot is called when the per object context menu is triggered. It will switch to the requested texture and mode.

Definition at line 1910 of file TextureControl.cc.

◆ slotTextureFilename

void TextureControlPlugin::slotTextureFilename ( int  _id,
QString  _textureName,
QString &  _textureFilename 
)
privateslot

Definition at line 680 of file TextureControl.cc.

◆ slotTextureGetImage [1/2]

void TextureControlPlugin::slotTextureGetImage ( QString  _textureName,
QImage &  _image 
)
privateslot

Definition at line 592 of file TextureControl.cc.

◆ slotTextureGetImage [2/2]

void TextureControlPlugin::slotTextureGetImage ( QString  _textureName,
QImage &  _image,
int  _id 
)
privateslot

Definition at line 560 of file TextureControl.cc.

◆ slotTextureIndex

void TextureControlPlugin::slotTextureIndex ( QString  _textureName,
int  _id,
int &  _index 
)
privateslot

Definition at line 605 of file TextureControl.cc.

◆ slotTextureIndexPropertyName

void TextureControlPlugin::slotTextureIndexPropertyName ( int  _id,
QString &  _propertyName 
)
privateslot

Definition at line 633 of file TextureControl.cc.

◆ slotTextureMenu

void TextureControlPlugin::slotTextureMenu ( QAction *  _action)
privateslot

Called when an action in the TextureMenu is triggered.

Definition at line 1587 of file TextureControl.cc.

◆ slotTextureName

void TextureControlPlugin::slotTextureName ( int  _id,
int  _textureIndex,
QString &  _textureName 
)
privateslot

Definition at line 652 of file TextureControl.cc.

◆ slotTextureUpdated

void TextureControlPlugin::slotTextureUpdated ( QString  _textureName,
int  _identifier 
)
privateslot

Definition at line 791 of file TextureControl.cc.

◆ slotUpdateAllTextures

void TextureControlPlugin::slotUpdateAllTextures ( )
privateslot

Definition at line 1130 of file TextureControl.cc.

◆ slotUpdateContextMenu

void TextureControlPlugin::slotUpdateContextMenu ( int  _objectId)
privateslot

Slot from the context menu interface.

This slot is called, when the core requests a context menu and creates and updates the context menu.

Definition at line 1836 of file TextureControl.cc.

◆ slotUpdateTexture

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

Definition at line 903 of file TextureControl.cc.

◆ StringToBool()

bool TextureControlPlugin::StringToBool ( QString  _value)
private

Definition at line 1333 of file TextureControl.cc.

◆ switchDrawMode()

void TextureControlPlugin::switchDrawMode ( TextureType  _type,
int  _id 
)
private

Checks for a correct drawmode and changes if necessary.

Definition at line 1793 of file TextureControl.cc.

◆ version

QString TextureControlPlugin::version ( )
inlineslot

Definition at line 320 of file TextureControl.hh.

Member Data Documentation

◆ actionGroup_

QActionGroup* TextureControlPlugin::actionGroup_
private

Definition at line 284 of file TextureControl.hh.

◆ contextMenu_

QMenu* TextureControlPlugin::contextMenu_
private

Stores the per object context menu.

Definition at line 315 of file TextureControl.hh.

◆ globalTextures_

TextureData TextureControlPlugin::globalTextures_
private

Definition at line 189 of file TextureControl.hh.

◆ settingsDialog_

texturePropertiesWidget* TextureControlPlugin::settingsDialog_
private

Definition at line 191 of file TextureControl.hh.

◆ textureActions_

std::vector<QAction*> TextureControlPlugin::textureActions_
private

Definition at line 287 of file TextureControl.hh.

◆ textureMenu_

QMenu* TextureControlPlugin::textureMenu_
private

Definition at line 281 of file TextureControl.hh.


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