MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoShader/Inventor/nodes/SoFramebufferSampler3D.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 
00006 
00007 
00008 #ifndef  _SO_FRAMEBUFFER_SAMPLER_3D_
00009 #define  _SO_FRAMEBUFFER_SAMPLER_3D_
00010 
00011 #include "SoShaderSystem.h"
00012 #include "Inventor/nodes/SoFramebufferSampler.h"
00013 #include <Inventor/fields/SoSFVec3s.h>
00014 
00016 class INVENTOR_SHADER_API SoFramebufferSampler3D : public SoFramebufferSampler
00017 {
00018    typedef SoFramebufferSampler inherited;
00019    
00020    SO_NODE_HEADER(SoFramebufferSampler3D);
00021    
00022    public:
00023      
00025       SoSFVec3s size;
00026      
00028       SoSFEnum  wrapR;
00029      
00031       SoFramebufferSampler3D();
00032      
00033    protected:
00034      
00035       SbVec3s           _fldValSize;
00036       SbVec3s           _size;
00037      
00039       ~SoFramebufferSampler3D();
00040      
00041    SoEXTENDER public:
00042      
00044       virtual void   updatePreparation(SoState *state);
00045      
00047       virtual void   updateParameter(SoUniformParameterBase *, SoState *);
00048      
00049    SoINTERNAL public:
00050      
00052       static void    initClass();
00053 };
00054 
00055 #endif  // _SO_FRAMEBUFFER_SAMPLER_3D_