MeVisLabToolboxReference
|
00001 #ifndef __SoMLVolumeBox_H 00002 #define __SoMLVolumeBox_H 00003 00004 //---------------------------------------------------------------------------------- 00005 // **InsertLicense** code 00006 //---------------------------------------------------------------------------------- 00008 00013 //---------------------------------------------------------------------------------- 00014 00015 #include "SoUtilsSystem.h" 00016 00017 #include <Inventor/fields/SoSFBool.h> 00018 #include <Inventor/fields/SoSFColor.h> 00019 #include <SoSFMLImage.h> 00020 00021 //============================================================= 00025 //============================================================= 00026 class SOUTILS_EXPORT SoMLVolumeBox : public SoNode { 00027 00028 SO_NODE_HEADER(SoMLVolumeBox); 00029 00030 public: 00032 00033 SoSFBool on; 00034 00035 SoSFColor color; 00036 00037 SoSFMLImage inImage; 00038 00040 00041 // Constructor 00042 SoMLVolumeBox(); 00043 00045 static void initClass(); 00046 00048 virtual void GLRender(SoGLRenderAction *action); 00049 00050 virtual void getBoundingBox(SoGetBoundingBoxAction *action); 00051 protected: 00052 virtual ~SoMLVolumeBox(); 00053 00054 }; 00055 00056 #endif