Package esys :: Package lsm :: Package vis :: Package core :: Module pointExtractor :: Class PointExtractor
[hide private]
[frames] | no frames]

Class PointExtractor

         object --+    
                  |    
extractor.Extractor --+
                      |
                     PointExtractor

Extracts a point from a data-record.

Instance Methods [hide private]
 
__init__(self, pointMap=<__builtin__.function object>)
Constructs the extractor.
3 float-element sequence
getPoint(self, dataRecord)
Returns a point associated with the specifed dataRecord.

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, pointMap=<__builtin__.function object>)
(Constructor)

 

Constructs the extractor.

Parameters:
  • pointMap (callable) - Callable which accepts a single argument and returns a 3 float-element sequence.
Overrides: object.__init__

getPoint(self, dataRecord)

 

Returns a point associated with the specifed dataRecord.

Returns: 3 float-element sequence
A coordinate.