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

Module SLCommands

source code

Classes [hide private]
  SLGeom
An interface class based on Spatial Geometry library (geometrylib.so)
  SLCommand
Command that performs Bsp tree operations such as 'union', 'difference', 'intersect'.
  SaveBsptCommand
Command to save a Bspt set in a file.
  RestoreBsptCommand
Command to build a geometric object out of previously built and saved in a file Bspt set.

Functions [hide private]
  triangle_normal(p1, p2, p3)
computes a normal for a triangle
  initModule(viewer)

Variables [hide private]
  initCommand = True
  BHTree_CUT = 40.0
  OPS = ('union', 'join', 'difference', 'intersect')
  sl = None
  SLGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  SaveBsptGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  RestoreBsptGUI = <ViewerFramework.VFCommand.CommandGUI instance at 0x...
  commandList = []

Function Details [hide private]

triangle_normal(p1, p2, p3)

source code 
computes a normal for a triangle

initModule(viewer)

source code 
None

Variables Details [hide private]

initCommand

None
Value:
True                                                                   
      

BHTree_CUT

None
Value:
40.0                                                                  
      

OPS

None
Value:
('union', 'join', 'difference', 'intersect')                           
      

sl

None
Value:
None                                                                  
      

SLGUI

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

SaveBsptGUI

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

RestoreBsptGUI

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

commandList

None
Value:
[]