MeVisLabToolboxReference
|
00001 // **InsertLicense** code 00002 00006 00007 00008 #ifndef _SO_MULTIPLE_PASS_ 00009 #define _SO_MULTIPLE_PASS_ 00010 00011 #include "SoShaderSystem.h" 00012 #include <Inventor/nodes/SoGroup.h> 00013 #include <Inventor/fields/SoSFUInt32.h> 00014 #include <Inventor/fields/SoSFFloat.h> 00015 00017 class INVENTOR_SHADER_API SoMultiplePass : public SoGroup 00018 { 00019 typedef SoGroup inherited; 00020 00021 SO_NODE_HEADER(SoMultiplePass); 00022 00023 public: 00024 00026 SoSFUInt32 numPasses; 00027 00029 SoSFFloat epsilon; 00030 00032 SoSFFloat value; 00033 00035 SoMultiplePass(); 00036 00039 virtual SbBool affectsState() const { 00040 return FALSE; 00041 } 00042 00043 SoEXTENDER public: 00044 00046 virtual void doAction(SoAction *action); 00047 virtual void callback(SoCallbackAction *action); 00048 virtual void GLRender(SoGLRenderAction *action); 00049 virtual void pick(SoPickAction *action); 00050 virtual void getBoundingBox(SoGetBoundingBoxAction *action); 00051 virtual void handleEvent(SoHandleEventAction *action); 00052 virtual void getMatrix(SoGetMatrixAction *action); 00053 virtual void search(SoSearchAction *action); 00054 00055 SoINTERNAL public: 00056 00058 static void initClass(); 00059 }; 00060 00061 #endif // _SO_MULTIPLE_PASS_