class DfcAdditionOperator : public DfcOperator


Inheritance:


Public Methods

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)
RWString getAxisName (int whichAxis)
DfcVector <int> getDimensions (void)
DfcAdditionOperator& operator= (const DfcAdditionOperator &other)
virtual ~DfcAdditionOperator (void)

Public


VLT On-line Data Flow, Subsystem: df-core
$Id: DfcAdditionOperator

Documentation

VLT On-line Data Flow, Subsystem: df-core
$Id: DfcAdditionOperator.h,v 1.1 1997/05/15 07:45:30 dataflow Exp $

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)

virtual ~DfcAdditionOperator(void)


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de