00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef COIN_SOFIELDCONVERTER_H
00021 #define COIN_SOFIELDCONVERTER_H
00022
00023 #include <Inventor/engines/SoSubEngine.h>
00024
00025 class SoEngineOutput;
00026
00027
00028 class COIN_DLL_API SoFieldConverter : public SoEngine {
00029 typedef SoEngine inherited;
00030 SO_ENGINE_ABSTRACT_HEADER(SoFieldConverter);
00031
00032 public:
00033 static void initClass(void);
00034 static void initClasses(void);
00035 virtual SoField * getInput(SoType type) = 0;
00036 virtual SoEngineOutput * getOutput(SoType type) = 0;
00037 virtual SoField * getConnectedInput(void);
00038 int getForwardConnections(SoFieldList & l) const;
00039
00040 protected:
00041 SoFieldConverter(void);
00042 virtual ~SoFieldConverter();
00043 };
00044
00045 #endif // !COIN_SOFIELDCONVERTER_H