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

Class CylinderExtractor

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

Instance Methods [hide private]
 
__init__(self, radiusMap=<function <lambda> at 0xe651b8>, endPt1Map=<function <lambda> at 0xe65230>, endPt2Map=<function <lambda> at 0xe652a8>, modifierMap=<function <lambda> at 0xe65320>, radiusScale=1.0)
Constructs the extractor.
 
getGlyph(self, record)
Returns the cylinder associated with the data in record.
 
writeSdl(self, f, record)

Inherited from core.CylinderExtractor'.CylinderExtractor: getEndPt1, getEndPt2, 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 0xe651b8>, endPt1Map=<function <lambda> at 0xe65230>, endPt2Map=<function <lambda> at 0xe652a8>, modifierMap=<function <lambda> at 0xe65320>, radiusScale=1.0)
(Constructor)

 

Constructs the extractor.

Parameters:
  • radiusMap - A callable which accepts a single data-record argument and returns a radius (float) value.
  • endPt1Map - A callable which accepts a single data-record argument and returns a 3 float-element sequence (ie a 3D coordinate).
  • endPt2Map - A callable which accepts a single data-record argument and returns a 3 float-element sequence (ie a 3D coordinate).
  • modifierMap - A callable which accepts a single data-record argument and returns an object modifier (or sequence of modifiers).
Overrides: object.__init__
(inherited documentation)