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 // 00013 00014 #ifndef _ORTHO_SLICE_BORDER_H_ 00015 #define _ORTHO_SLICE_BORDER_H_ 00016 00017 #include <Medical/InventorMedical.h> 00018 #include <Inventor/fields/SoSFBool.h> 00019 #include <Inventor/fields/SoSFColor.h> 00020 00021 #include <VolumeViz/nodes/SoOrthoSlice.h> 00022 00023 class SoSeparator; 00024 00068 class INVENTORMEDICAL_API OrthoSliceBorder : public SoOrthoSlice{ 00069 00070 SO_NODE_HEADER(OrthoSliceBorder); 00071 00072 public: 00073 00075 SoSFBool border; 00076 00078 SoSFColor borderColor; 00079 00081 static void initClass(); 00082 00084 static void exitClass(); 00085 00087 OrthoSliceBorder(); 00088 00089 private: 00090 00092 virtual ~OrthoSliceBorder(); 00093 00095 virtual void GLRender(SoGLRenderAction* action); 00096 00097 SoRef<SoSeparator> m_scene; 00098 SoRef<SoNode> m_geometry; 00099 SbBox3f m_volumeExtent; 00100 int m_sliceAxis; 00101 int m_sliceNumber; 00102 }; 00103 00104 #endif //OrthoSliceBorder