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 // 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 #include <VolumeViz/nodes/SoOrthoSlice.h> 00021 00022 class SoDrawStyle; 00023 class SoSeparator; 00024 class SoDEPRECATED INVENTORMEDICAL_API OrthoSliceBorder : public SoOrthoSlice 00072 { 00073 SO_NODE_HEADER(OrthoSliceBorder); 00074 00075 public: 00076 00078 static void initClass(); 00079 00081 static void exitClass(); 00082 00084 OrthoSliceBorder(); 00085 00086 private: 00087 00089 virtual ~OrthoSliceBorder(); 00090 00092 virtual void GLRender(SoGLRenderAction* action); 00093 00094 SoRef<SoSeparator> m_scene; // Internal scene graph 00095 SoRef<SoNode> m_geometry; // Shape node that draws the border 00096 SbBox3f m_volumeExtent; 00097 int m_sliceAxis; 00098 int m_sliceNumber; 00099 SoDrawStyle* m_style; 00100 }; 00101 00102 #endif //OrthoSliceBorder 00103