Package Pmv :: Module labelCommands
[hide private]
[frames] | no frames]

Module labelCommands

source code


This Module implements commands to label the current selection different ways.
For example:
    by properties  of the current selection



Classes [hide private]
  LabelByProperties
selector.selection,property,textcolor,font,location,only,negate,funcItems Command to label the current selection items according to different properties of the selection level (Actually of the first item in the current selection.) Color can be specified as 'red','green','blue','white' or 'yellow'.
  LabelByExpression
Command to label the current selection items according to different expressions of the selection level (Actually of the first item in the current selection.) Color can be specified as 'red','green','blue','white' or 'yellow'.

Functions [hide private]
  initModule(viewer)

Variables [hide private]
  LabelByPropertiesGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  LabelByExpressionGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  commandList = [{'gui': <ViewerFramework.VFCommand.CommandGUI insta...

Function Details [hide private]

initModule(viewer)

source code 
None

Variables Details [hide private]

LabelByPropertiesGUI

None
Value:
<ViewerFramework.VFCommand.CommandGUI instance at 0xb3021f6c>          
      

LabelByExpressionGUI

None
Value:
<ViewerFramework.VFCommand.CommandGUI instance at 0xb3021fac>          
      

commandList

None
Value:
[{'cmd': self.,
  'gui': <ViewerFramework.VFCommand.CommandGUI instance at 0xb3021f6c>
,
  'name': 'labelByProperty'},
 {'cmd': self.,
  'gui': <ViewerFramework.VFCommand.CommandGUI instance at 0xb3021fac>
,
  'name': 'labelByExpression'}]