Field3D
|
The ValueRemapOp class is used when shader-like calculations need to be applied to individual fields that are part of a FieldGroup. Use FieldGroup::setValueRemap() to set the current op before loading the corresponding fields. Then, once lookups take place, the operator is called upon to remap the resulting values. More...
#include <FieldWrapper.h>
Public Types | |
typedef boost::shared_ptr< ValueRemapOp > | Ptr |
Public Member Functions | |
virtual float | remap (const float value) const =0 |
Remaps a float value. | |
virtual V3f | remap (const V3f &value) const =0 |
Remaps a V3f value. | |
The ValueRemapOp class is used when shader-like calculations need to be applied to individual fields that are part of a FieldGroup. Use FieldGroup::setValueRemap() to set the current op before loading the corresponding fields. Then, once lookups take place, the operator is called upon to remap the resulting values.
Definition at line 39 of file FieldWrapper.h.
typedef boost::shared_ptr<ValueRemapOp> ValueRemapOp::Ptr |
Definition at line 45 of file FieldWrapper.h.