| Home | Trees | Index | Help |
|---|
| Package esys :: Package pyvisi :: Package renderers :: Package vtk :: Module scene :: Class Scene |
|
object--+ |Scene--+ | Scene
The main object controlling the scene.
Scene object methods and classes overriding the BaseScene class.| Method Summary | |
|---|---|
The init function | |
Add a new item to the scene | |
Gets the current background color setting of the Scene | |
Gets the current size of the scene | |
Place an object within a scene | |
Render (or re-render) the scene | |
Save the scene to a file | |
Sets the background color of the Scene | |
Sets the size of the scene. | |
Save the scene to a file | |
| Inherited from Scene | |
Delete an item from the scene | |
Allows the user to run a low-level renderer-specific command directly | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self)
The init function
|
add(self, obj)Add a new item to the scene
|
getBackgroundColor(self)Gets the current background color setting of the Scene
|
getSize(self)Gets the current size of the scene This size is effectively the renderer window size. Returns a tuple of the x and y dimensions respectively, in pixel units(??).
|
place(self, obj)Place an object within a scene
|
render(self, pause=False, interactive=False)Render (or re-render) the scene Render the scene, either to screen, or to a buffer waiting for a save
|
save(self, fname, format)Save the scene to a file Possible formats are:
|
setBackgroundColor(self, *color)Sets the background color of the Scene
|
setSize(self, xSize, ySize)Sets the size of the scene. This size is effectively the renderer window size.
|
write(self, fname, format)Save the scene to a file Possible formats are:
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Apr 27 11:16:25 2006 | http://epydoc.sf.net |