00001 00002 // 00003 // This class is part of the Open Inventor Medical Edition 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 00077 class INVENTORMEDICAL_API ObliqueSliceBorder : public SoObliqueSlice { 00078 00079 SO_NODE_HEADER(ObliqueSliceBorder); 00080 00081 public: 00082 00084 SoSFBool border; 00085 00087 SoSFColor borderColor; 00088 00090 static void initClass(); 00091 00093 static void exitClass(); 00094 00096 ObliqueSliceBorder(); 00097 00098 private: 00099 00101 virtual ~ObliqueSliceBorder(); 00102 00104 virtual void GLRender(SoGLRenderAction* action); 00105 00106 SoRef<SoSeparator> m_scene; 00107 SoRef<PlaneBoxIntersection> m_geometry; 00108 }; 00109 00110 #endif //ObliqueSliceBorder