#ifndef FILE_VSSTL #define FILE_VSSTL /**************************************************************************/ /* File: vsstl.hpp */ /* Author: Joachim Schoeberl */ /* Date: 05. Jan. 2011 */ /**************************************************************************/ namespace netgen { class VisualSceneSTLGeometry : public VisualScene { Array trilists; class STLGeometry * stlgeometry; public: VisualSceneSTLGeometry (); virtual ~VisualSceneSTLGeometry (); void SetGeometry (class STLGeometry * astlgeometry) { stlgeometry = astlgeometry; } virtual void BuildScene (int zoomall = 0); virtual void DrawScene (); }; class VisualSceneSTLMeshing : public VisualScene { Array trilists; int selecttrig, nodeofseltrig; class STLGeometry * stlgeometry; public: VisualSceneSTLMeshing (); virtual ~VisualSceneSTLMeshing (); void SetGeometry (class STLGeometry * astlgeometry) { stlgeometry = astlgeometry; } virtual void BuildScene (int zoomall = 0); virtual void DrawScene (); virtual void MouseDblClick (int px, int py); int seltria; }; } #endif