Package esys :: Package pyvisi :: Module plane :: Class PlaneSource
[hide private]
[frames] | no frames]

Class PlaneSource

Known Subclasses:

Class that defines a plane source.

Instance Methods [hide private]
 
__init__(self)
Initialise the plane source.
 
__setOrigin(self, position)
Set the origin of the plane source.
vtkPolyData
_getPlaneSourceOutput(self)
Return the output of the plane source.
 
setPoint1(self, position)
Set the first point from the origin of the plane source.
 
setPoint2(self, position)
Set the second point from the origin of the plane source.
Method Details [hide private]

__init__(self)
(Constructor)

 

Initialise the plane source. A plane source is defined by an origin and two other points, which form the axes (X and Y). By default the origin is set to (0, 0, 0) and the two points are set to (1, 0, 0) and (0, 1, 0).

__setOrigin(self, position)

 

Set the origin of the plane source.

Parameters:

_getPlaneSourceOutput(self)

 

Return the output of the plane source.

Returns: vtkPolyData
Polygonal data

setPoint1(self, position)

 

Set the first point from the origin of the plane source.

Parameters:
  • position (GlobalPosition object) - Position of the first axis of the plane source

setPoint2(self, position)

 

Set the second point from the origin of the plane source.

Parameters:
  • position (GlobalPosition object) - Position of the second axis of the plane source