Package esys :: Package pyvisi :: Module rectangle :: Class Rectangle
[hide private]
[frames] | no frames]

Class Rectangle

     cube.CubeSource --+
                       |
mapper.DataSetMapper --+
                       |
       actor.Actor3D --+
                       |
                      Rectangle

Class that generates a rectangle box.

Instance Methods [hide private]
 
__init__(self, scene, viewport=0)
Initialise the Rectangle.

Inherited from cube.CubeSource: setCenter, setXLength, setYLength, setZLength

Inherited from cube.CubeSource (private): _getCubeSourceOutput

Inherited from mapper.DataSetMapper: setScalarRange

Inherited from actor.Actor3D: setColor, setOpacity, setRepresentationToWireframe

Method Details [hide private]

__init__(self, scene, viewport=0)
(Constructor)

 

Initialise the Rectangle.

Parameters:
  • scene (Scene object) - Scene in which objects are to be rendered on
  • viewport (Viewport constant) - Viewport in which objects are to be rendered on
Overrides: actor.Actor3D.__init__