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_SOCONCATENATE_H
00025 #define COIN_SOCONCATENATE_H
00026
00027 #include <Inventor/engines/SoSubEngine.h>
00028 #include <Inventor/engines/SoEngineOutput.h>
00029 #include <Inventor/fields/SoMField.h>
00030
00031
00032 class COIN_DLL_API SoConcatenate : public SoEngine {
00033 typedef SoEngine inherited;
00034
00035 SO_ENGINE_HEADER(SoConcatenate);
00036
00037 enum { NUMINPUTS = 10 };
00038
00039 public:
00040 static void initClass(void);
00041 SoConcatenate(SoType inputType);
00042
00043 SoMField * input[NUMINPUTS];
00044
00045 SoEngineOutput * output;
00046
00047 private:
00048 SoConcatenate(void);
00049 ~SoConcatenate();
00050
00051 virtual void evaluate(void);
00052
00053 virtual SbBool readInstance(SoInput * in, unsigned short flags);
00054 virtual void writeInstance(SoOutput * out);
00055
00056 void initialize(const SoType inputfieldtype);
00057
00058 virtual void copyContents(const SoFieldContainer * from,
00059 SbBool copyconnections);
00060
00061
00062
00063
00064 SoFieldData * dynamicinput;
00065 SoEngineOutputData * dynamicoutput;
00066
00067
00068 friend class dummy;
00069 };
00070
00071 #endif // !COIN_SOCONCATENATE_H