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

Class ShapeObject



VMDObject --+
            |
           ShapeObject
Known Subclasses:
Cone, Cube, Cylinder, Line, 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)
  use(self, file)
  writeToFile(self, file)

Inherited from VMDObject: __copy__, __getitem__, __setitem__


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

Method Details [hide private]

__add__(self, other)
(Addition operator)

 

__init__(self, attr)
(Constructor)

 
Overrides: VMDObject.__init__
(inherited documentation)

use(self, file)

 

writeToFile(self, file)

 
Overrides: VMDObject.writeToFile

Class Variable Details [hide private]

attribute_names

Value:
['comment', 'material']