Package Scientific :: Package Visualization :: Module VRML2 :: Class ShapeObject
[hide private]
[frames] | no frames]

Class ShapeObject



VRMLObject --+
             |
            ShapeObject
Known Subclasses:
LinearOrientedObject, Cube, Line, PolyLines, Polygons, Sphere

Graphics objects representing geometrical shapes

This is an abstract base class. Use one of the subclasses to generate graphics.

Instance Methods [hide private]
  __add__(self, other)
  __init__(self, attr, rotation, translation, reference_point)
  use(self, file)
  writeToFile(self, file)

Inherited from VRMLObject: __copy__, __getitem__, __setitem__


Class Variables [hide private]
  attribute_names = ['comment', 'material', 'reuse']

Method Details [hide private]

__add__(self, other)
(Addition operator)

 

__init__(self, attr, rotation, translation, reference_point)
(Constructor)

 
Overrides: VRMLObject.__init__
(inherited documentation)

use(self, file)

 

writeToFile(self, file)

 
Overrides: VRMLObject.writeToFile

Class Variable Details [hide private]

attribute_names

Value:
['comment', 'material', 'reuse']