30 #ifndef __COLORINTERPOLATOR_H__
31 #define __COLORINTERPOLATOR_H__
74 Vec3f RGBToHSV(
const RGB &rgb );
77 RGB HSVToRGB(
const Vec3f &rgb );
79 virtual void update();
87 Inst< SFFloat > _set_fraction = 0,
88 Inst< MFFloat > _key = 0,
89 Inst< MFColor > _keyValue = 0,
90 Inst< SFValue > _value_changed = 0 );
Contains the MFColor field class.
Contains the SFColor field class.
Header file for X3DInterpolatorNode, X3D scene-graph node.
This node interpolates among a list of MFColor key values to produce an SFColor (RGB) value_changed e...
Definition: ColorInterpolator.h:60
H3DUniquePtr< MFColor > keyValue
The values to interpolate between.
Definition: ColorInterpolator.h:97
H3DUniquePtr< SFValue > value_changed
The interpolated result value.
Definition: ColorInterpolator.h:104
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: ColorInterpolator.h:107
A template modifier class for adding type checking on the routes to any Field class.
Definition: TypedField.h:84
The abstract node X3DInterpolatorNode forms the basis for all types of interpolators specified in thi...
Definition: X3DInterpolatorNode.h:123
H3D API namespace.
Definition: Anchor.h:38
The SFValue field updates the interpolated value from the fields routed to it.
Definition: ColorInterpolator.h:72
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194