00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef COIN_SOVRMLCOLORINTERPOLATOR_H
00025 #define COIN_SOVRMLCOLORINTERPOLATOR_H
00026
00027 #include <Inventor/engines/SoSubNodeEngine.h>
00028 #include <Inventor/VRMLnodes/SoVRMLInterpolator.h>
00029 #include <Inventor/fields/SoMFFloat.h>
00030 #include <Inventor/fields/SoMFColor.h>
00031 #include <Inventor/fields/SoSFColor.h>
00032 #include <Inventor/fields/SoSFFloat.h>
00033
00034 class COIN_DLL_API SoVRMLColorInterpolator : public SoVRMLInterpolator
00035 {
00036 typedef SoVRMLInterpolator inherited;
00037 SO_NODEENGINE_HEADER(SoVRMLColorInterpolator);
00038
00039 public:
00040 static void initClass(void);
00041 SoVRMLColorInterpolator(void);
00042
00043 SoMFColor keyValue;
00044 SoEngineOutput value_changed;
00045
00046 protected:
00047 virtual ~SoVRMLColorInterpolator();
00048
00049 private:
00050 virtual void evaluate(void);
00051 };
00052
00053 #endif // ! COIN_SOVRMLCOLORINTERPOLATOR_H