Package esys :: Package pyvisi :: Module actor :: Class Actor3D
[hide private]
[frames] | no frames]

Class Actor3D

Known Subclasses:

Class that defines a 3D actor.

Instance Methods [hide private]
 
__init__(self)
Initialise the 3D actor.
 
__setMapper(self)
Set the mapper of the 3D actor.
vtkActor
_getActor3D(self)
Return the 3D actor.
 
_setLineWidth(self, line_width)
Set the line width of the 3D actor.
 
_setTexture(self, texture)
Set the texture of the 3D actor.
 
_setupActor3D(self, mapper)
Setup the 3D actor.
 
setColor(self, color)
Set the color of the 3D actor.
 
setOpacity(self, opacity)
Set the opacity (transparency) of the 3D actor.
 
setRepresentationToWireframe(self)
Set the representation of the 3D actor to wireframe.
Method Details [hide private]

_getActor3D(self)

 

Return the 3D actor.

Returns: vtkActor
3D actor

_setLineWidth(self, line_width)

 

Set the line width of the 3D actor.

Parameters:
  • line_width (Number) - 3D actor line width

_setTexture(self, texture)

 

Set the texture of the 3D actor.

Parameters:
  • texture (vtkTexture) - Texture of the rendered object

_setupActor3D(self, mapper)

 

Setup the 3D actor.

Parameters:
  • mapper (vtkDataSetMapper) - Mapped data

setColor(self, color)

 

Set the color of the 3D actor.

Parameters:
  • color (Color constant) - Color of the 3D actor

setOpacity(self, opacity)

 

Set the opacity (transparency) of the 3D actor.

Parameters:
  • opacity (Number (between 0 and 1)) - Opacity (transparency) of the 3D actor