Both scene document and environment document will share the manipulators, the class is used to pass the corresponding data to manipulator for scene and environment.
Usage: 1. Add the context into ManipulatorInterpreter; 2. Manipulators register themselves into context class. 3. The context class method will pass the data back to manipulator.
#include
<class_texture_manipulator_context_1_1_texture_manipulator_context.h>
Public Member Functions |
|
__init__ () | |
addTextureManipulator () | |
removeTextureManipulator () | |
isActiveContext () | |
Classes inheriting from this class should
implement this method. |
|
getName () | |
getDocument () | |
getActiveManipulator () | |
getSelectedNodes () | |
getSelectedLocators () | |
refreshParameter () | |
setData () | |
The method will pass the data to
corresponding manipulator, no active manipulator means all
manipulator will be retrieved. |
|
DOCUMENT_LOADED () | |
APPLICATION_CLOSE_SCENE () | |
Public Attributes |
|
list | myTextureManipulators = [] |
myActiveManipulatorType = None |
TextureManipulatorContext.TextureManipulatorContext.__init__ | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.addTextureManipulator | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.removeTextureManipulator | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.isActiveContext | ( | ) |
Classes inheriting from this class should implement this method.
The method returns True if the active manipulator is from current context. i.e. The plannar manipulator is started on environment model, then the EnvironmentTextureManipulatorContext is active context.
Reimplemented in TextureManipulatorContext.EnvironmentTextureManipulatorContext, and TextureManipulatorContext.SceneTextureManipulatorContext.
TextureManipulatorContext.TextureManipulatorContext.getName | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.getDocument | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.getActiveManipulator | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.getSelectedNodes | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.getSelectedLocators | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.refreshParameter | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.setData | ( | ) |
The method will pass the data to corresponding manipulator, no active manipulator means all manipulator will be retrieved.
TextureManipulatorContext.TextureManipulatorContext.DOCUMENT_LOADED | ( | ) |
TextureManipulatorContext.TextureManipulatorContext.APPLICATION_CLOSE_SCENE | ( | ) |