Package esys :: Package lsm :: Package vis :: Package vtk :: Module CylinderExtractor' :: Class DiskExtractor
[hide private]
[frames] | no frames]

Class DiskExtractor

                       object --+        
                                |        
        core.Extractor'.Extractor --+    
                                    |    
core.CylinderExtractor'.DiskExtractor --+
                                        |
                                       DiskExtractor

Instance Methods [hide private]
 
__init__(self, radiusMap=<function <lambda> at 0x2c20320>, centerMap=<function <lambda> at 0x2c20398>, heightMap=<function <lambda> at 0x2c20410>, directionMap=<function <lambda> at 0x2c20488>, modifierMap=<function <lambda> at 0x2c20500>, radiusScale=1.0)
Constructs the extractor.
 
addActor(self, record, addTo)
Adds the disk-actor associated with the data in record to addTo.

Inherited from core.CylinderExtractor'.DiskExtractor: getCenter, getDirection, getHeight, getModifier, getRadius, getRadiusScale

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, radiusMap=<function <lambda> at 0x2c20320>, centerMap=<function <lambda> at 0x2c20398>, heightMap=<function <lambda> at 0x2c20410>, directionMap=<function <lambda> at 0x2c20488>, modifierMap=<function <lambda> at 0x2c20500>, radiusScale=1.0)
(Constructor)

 

Constructs the extractor.

Parameters:
  • radiusMap - A callable which accepts a single data-record argument and returns a radius (float) value.
  • centerMap - A callable which accepts a single data-record argument and returns a 3 float-element sequence (ie a 3D coordinate).
  • heightMap - A callable which accepts a single data-record argument and returns a float (height of the cylinder).
  • modifierMap - A callable which accepts a single data-record argument and returns a color.
Overrides: object.__init__
(inherited documentation)