Package esys :: Package lsm :: Package vis :: Package vtk :: Module cylinder :: Class Cylinder
[hide private]
[frames] | no frames]

Class Cylinder

                  object --+    
                           |    
      core.cylinder.Cylinder --+
                               |
              object --+       |
                       |       |
core.modifier.Modifiable --+   |
                           |   |
         modifier.Modifiable --+
                               |
                              Cylinder
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, endPt1, endPt2, radius)
Initialises cylinder with center-end-point coordinates and radius.
 
getVtkSource(self)
 
getVtkMapper(self)
 
getActor(self)
 
addActor(self, addTo)

Inherited from core.cylinder.Cylinder: getCenter, getEndPt1, getEndPt2, getHeight, getRadius

Inherited from modifier.Modifiable: applyModifiers

Inherited from core.modifier.Modifiable: apply, applySequence, applySingle, getModifierList

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, endPt1, endPt2, radius)
(Constructor)

 

Initialises cylinder with center-end-point coordinates and radius.

Parameters:
  • endPt1 - Center coordinate of one end.
  • endPt2 - Center coordinate of other end.
  • radius - Radius of cylinder.
Overrides: object.__init__
(inherited documentation)