/** \brief Emit this Signal if you want to add a texture for a multitexturing mode
*
* Emit this signal if a texture should be added to a multitexturing mode.
*
* The first parameter defines a texturegroup which collects all textures
* that should be painted in the multitexturing mode. This group does not
* have to exist on the first call but will be created automatically.
*
* The second parameter defines the single textures name used in the gui.\n
* This signal can be called from any thread.\n
*
* @param _textureGroup Multitexturing group using this texture
* @param _name Name of the property which contains the tex coords (double or vec2d)
* @param _image A QImage which is used to provide the image data
* @param _id Id of the object which should use that texture
* @param _textureId The new internal id of the texture( This id is object related!!). Use this id in your mesh as the texture index (Use mesh->set_texture_index on the face using this texture).
/** Called by a plugin if it created a texture. The information is passed to all plugins. If a texture control plugin is available it has to react on the signal.\n
* See in the documentation of the texture plugin interfaces for further detail.
/** Called by a plugin if it created a texture. The information is passed to all plugins. If a texture control plugin is available it has to react on the signal.\n
* See in the documentation of the texture plugin interfaces for further detail.
/** Called by a plugin if it created a texture. The information is passed to all plugins. If a texture control plugin is available it has to react on the signal.\n
* See in the documentation of the texture plugin interfaces for further detail.
emitlog(LOGINFO,"slotAddTexture( "+_textureName+",_image,"+QString::number(_dimension)+tr(" ) called by ")+
QString(sender()->metaObject()->className()));
}
}else{
emitlog(LOGINFO,"slotAddTexture( "+_textureName+",_image,"+", "+QString::number(_dimension)+tr(" ) called by Core"));
}
}
emitaddTexture(_textureName,_image,_dimension);
}
/** Called by a plugin if a texture has to be updated. The information is passed to all plugins. The Plugin providing the given Texture should react on this event.\n
* See in the documentation of the texture plugin interfaces for further detail.
/** Called by a plugin if all textures should be updated. The information is passed to all plugins. All plugins providing textures should react on this event.\n
* See in the documentation of the texture plugin interfaces for further detail.