Package DejaVu :: Module PropertyEditor :: Class MaterialEditor
[hide private]
[frames] | no frames]

Class MaterialEditor

source code

EventHandler.CallbackFunctions --+
                                 |
                                MaterialEditor

Class for a material editor

Instance Methods [hide private]
  Callbacks(self, event=None)
Implement callback functions
  RestoreColor(self)
Set the wheel cursor to the color of the current component
  Set(self, ambi=None, diff=None, spec=None, emis=None, shini=None, mode='RGB')
Set the material Editor to a given material
  __init__(self, root=None, colorChooser=None)

Inherited from EventHandler.CallbackFunctions: AddCallback, MouseUp, RemoveCallback, SetCallback


Class Variables [hide private]
  property = ['ambient', 'diffuse', 'specular', 'emission']

Method Details [hide private]

Callbacks(self, event=None)

source code 
Implement callback functions
Overrides: EventHandler.CallbackFunctions.Callbacks

RestoreColor(self)

source code 
Set the wheel cursor to the color of the current component

Set(self, ambi=None, diff=None, spec=None, emis=None, shini=None, mode='RGB')

source code 
Set the material Editor to a given material

__init__(self, root=None, colorChooser=None)
(Constructor)

source code 
None
Overrides: EventHandler.CallbackFunctions.__init__

Class Variable Details [hide private]

property

None
Value:
['ambient', 'diffuse', 'specular', 'emission']