MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoShader/Inventor/nodes/SoShaderParameterMatrix.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 
00006 
00007 
00008 #ifndef  _SO_SHADER_PARAMETER_MATRIX_
00009 #define  _SO_SHADER_PARAMETER_MATRIX_
00010 
00011 #include "SoShaderSystem.h"
00012 #include "Inventor/nodes/SoUniformShaderParameter.h"
00013 #include <Inventor/fields/SoSFMatrix.h>
00014 
00016 class INVENTOR_SHADER_API SoShaderParameterMatrix : public SoUniformShaderParameter
00017 {
00018    typedef SoUniformShaderParameter inherited;
00019 
00020    SO_NODE_HEADER(SoShaderParameterMatrix);
00021   
00022    public:
00023 
00025       SoSFMatrix value;
00026 
00028       SoShaderParameterMatrix();
00029   
00030    SoINTERNAL public:
00031   
00033       static void initClass();
00034       
00036       virtual void updateParameter(SoUniformParameterBase *uniformBase, SoState *state);
00037 };
00038 
00039 #endif  // _SO_SHADER_PARAMETER_MATRIX_