<vizcave:Wall>.__init__

Create a Wall object

 

<vizcave:Wall>.__init__(
    name = 'Wall'    
    upperLeft    
    upperRight    
    lowerLeft    
    lowerRight    

)

 

name = 'Wall'

Name of the wall


upperLeft

Position of the upper left corner


upperRight

Position of the upper right corner


lowerLeft

Position of the lower left corner


lowerRight

Position of the lower right corner


Remarks

To correctly render a multi-wall cave, Vizard must know the position and dimension of each wall. The position of each corner must be specified in your tracking system units. You must create a Wall object for each physical wall in your cave. Once the Wall object is created, you can add it to any Cave object.

Return Value

vizcave.Wall object

Example

import vizcave

FrontWall = vizcave.Wall(    upperLeft=(-1,1,0),
                            upperRight=(1,1,0),
                            lowerLeft=(-1,0,0),
                            lowerRight=(1,0,0),
                            name='Front Wall' )

cave = vizcave.Cave()

#Add front wall is Master
cave.addWall(FrontWall, mask=viz.MASTER)