Home | Trees | Indices | Help |
|
---|
|
ViewerFramework.VFCommand.Command --+ | mvCommand.MVCommand --+ | ColorCommand --+ | ViewerFramework.VFCommand.ICOM --+ | | | mvCommand.MVICOM --+ | | | mvCommand.MVAtomICOM --+ | ColorFromPalette
The ColorFromPalette class is the base class from which all the color commands using a colorPalette implemented for PMV will derive. Package : Pmv Module : colorCommands Class : ColorFromPalette Description: It implements the general functionalities needed to retrieve the colors given a palette and a set of nodes. Synopsis: None <- colorFromPalette(nodes, geomsToColor='all') Required Arguments: nodes---TreeNodeSet holding the current selection geomsToColor---list of the name of geometries to color,default is 'all
|
|||
| __init__(self, func=None) | ||
|
setupUndoBefore(self,
nodes,
geomsToColor) This method builds the self.undoCmds string. |
||
|
doit(self,
nodes,
geomsToColor) virtual method. |
||
|
onAddCmdToViewer(self) method called when an instance of this command is added to the viewer. |
||
| getColors(self, nodes) | ||
| guiCallback(self) | ||
|
__call__(self,
nodes,
geomsToColor='all',
**kw) None <- colorFromPalette(nodes, geomsToColor='all', **kw)... |
||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
|
|
|
None <- colorFromPalette(nodes, geomsToColor='all', **kw) nodes --- TreeNodeSet holding the current selection geomsToColor --- list of the name of geometries to color, default is 'all'
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:14:29 2007 | http://epydoc.sourceforge.net |