00001 00002 // 00003 // This class is part of the Open Inventor Medical utility library. 00004 // 00005 // The medical utility classes are provided as a prebuilt library named 00006 // "fei_inventor_medical", that can be used directly in an Open Inventor 00007 // application. The classes in the prebuilt library are documented and 00008 // supported by FEI. These classes are also provided as source code. 00009 // 00010 // Please see $OIVHOME/include/Medical/InventorMedical.h for the full text. 00011 // 00014 // 00015 // ObliqueSliceBorder 00016 // 00017 // Original: Mike Heck, FEI/VSG 00018 // Modified: 00019 // 00021 00022 #ifndef _OBLIQUE_SLICE_BORDER_H_ 00023 #define _OBLIQUE_SLICE_BORDER_H_ 00024 00025 #include <Medical/InventorMedical.h> 00026 #include <Inventor/fields/SoSFBool.h> 00027 #include <Inventor/fields/SoSFColor.h> 00028 00029 #include <VolumeViz/nodes/SoObliqueSlice.h> 00030 00031 class SoSeparator; 00032 class PlaneBoxIntersection; 00033 00076 class INVENTORMEDICAL_API ObliqueSliceBorder : public SoObliqueSlice { 00077 00078 SO_NODE_HEADER(ObliqueSliceBorder); 00079 00080 public: 00081 00083 SoSFBool border; 00084 00086 SoSFColor borderColor; 00087 00089 static void initClass(); 00090 00092 static void exitClass(); 00093 00095 ObliqueSliceBorder(); 00096 00097 private: 00098 00100 virtual ~ObliqueSliceBorder(); 00101 00103 virtual void GLRender(SoGLRenderAction* action); 00104 00105 SoRef<SoSeparator> m_scene; 00106 SoRef<PlaneBoxIntersection> m_geometry; 00107 }; 00108 00109 #endif //ObliqueSliceBorder