class DfcAdditionOperator : public DfcOperator | | computeRegion ( int startPixel, DfcPixelBuffer<double> &resultsBuffer ) |
| | DfcAdditionOperator (const DfcNumericalInterface *data, const DfcOperator *chain) |
| | DfcAdditionOperator (const DfcNumericalInterface *data, const DfcNumericalInterface *other) |
| | DfcAdditionOperator (const DfcNumericalInterface *data, double value) |
| | getAxisName (int whichAxis) |
| | getDimensions (void) |
| | operator= (const DfcAdditionOperator &other) |
| | ~DfcAdditionOperator (void) |
| | VLT On-line Data Flow, Subsystem: df-core $Id: DfcAdditionOperator |
DESCRIPTION
Abstract class that defines methods to allow arithmetic operations to take place efficiently on large data containers that conform to the DfcNumericalInterface interface. The justification for this class is that, when working with extremely large data sets, we do not want temporary objects created. For example, the following code
resultImage = imageA + 21.0;
looks innocuous enough, but it creates a temporary object for the result of the addition betweenimageA and 21.0 before assigning it to the resultImage. If imageA is suitably large this is at best inefficient and may even drain the host machine of memory.
EXAMPLES
To follow.
DfcAdditionOperator(const DfcNumericalInterface *data, const DfcOperator *chain)
DfcAdditionOperator(const DfcNumericalInterface *data, const DfcNumericalInterface *other)
DfcAdditionOperator(const DfcNumericalInterface *data, double value)
DfcVector <int> getDimensions(void)
RWString getAxisName(int whichAxis)
computeRegion( int startPixel, DfcPixelBuffer<double> &resultsBuffer )
DfcAdditionOperator& operator=(const DfcAdditionOperator &other)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de