![]() |
GemaCoreLib
The GeMA Core library
|
A GmInterpolatorInputDataBinding implementation returning values provided by a node value accessor. Its base class is a template parameter so that we can share the same implementation for an GmInterpolatorInOutDataBinding descendent. The second template should be either a const GmValueAccessor* or a GmValueAccessor*. More...
#include <gmInterpolatorInputBindings.h>
Public Member Functions | |
GmInterpolatorNodeDataBinding (GmInterpolatorNodeCoordinateSetBinding *pointSet, Ac nodeAc) | |
Constructor, receiving the point set for which this binding will return values and the accessor used to retrieve them. | |
virtual int | numSrcs () |
virtual int | size () const |
virtual int | valueSize (int srcIndex) const |
virtual void | reset () |
virtual bool | next () |
virtual const double * | value (int srcIndex) |
virtual void | coordinate (GmCRVector &coord) |
Protected Attributes | |
GmInterpolatorNodeCoordinateSetBinding * | _pointSet |
The point set providing the indices used to access values. | |
Ac | _valueAc |
The accessor for the interpolated node values. | |
int | _currIndex |
The current index. | |
GmCRVector | _currCoord |
The current coordinate. | |
A GmInterpolatorInputDataBinding implementation returning values provided by a node value accessor. Its base class is a template parameter so that we can share the same implementation for an GmInterpolatorInOutDataBinding descendent. The second template should be either a const GmValueAccessor* or a GmValueAccessor*.