Package esys :: Package lsm :: Package vis :: Package core :: Module cylinderExtractor :: Class CylinderExtractor
[hide private]
[frames] | no frames]

Class CylinderExtractor

         object --+    
                  |    
extractor.Extractor --+
                      |
                     CylinderExtractor
Known Subclasses:

Objects of this class can be used in conjunction with the esys.lsm.vis.core.GlyphData class for extracting cylinder info from data-records.

Instance Methods [hide private]
 
__init__(self, radiusMap=<__builtin__.function object>, endPt1Map=<__builtin__.function object>, endPt2Map=<__builtin__.function object>, modifierMap=<__builtin__.function object>, radiusScale=1.0)
Constructs the extractor.
 
getRadius(self, dataRecord)
 
getEndPt1(self, dataRecord)
 
getEndPt2(self, dataRecord)
 
getModifier(self, dataRecord)
 
getRadiusScale(self)

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=<__builtin__.function object>, endPt1Map=<__builtin__.function object>, endPt2Map=<__builtin__.function object>, modifierMap=<__builtin__.function object>, radiusScale=1.0)
(Constructor)

 

Constructs the extractor.

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