netgen/libsrc/stlgeom/vsstl.hpp

54 lines
1.3 KiB
C++
Raw Normal View History

2011-01-11 01:18:01 +05:00
#ifndef FILE_VSSTL
#define FILE_VSSTL
/**************************************************************************/
/* File: vsstl.hpp */
/* Author: Joachim Schoeberl */
/* Date: 05. Jan. 2011 */
/**************************************************************************/
namespace netgen
{
class VisualSceneSTLGeometry : public VisualScene
{
Array<int> trilists;
class STLGeometry * stlgeometry;
public:
2015-10-19 13:08:30 +05:00
DLL_HEADER VisualSceneSTLGeometry ();
DLL_HEADER virtual ~VisualSceneSTLGeometry ();
DLL_HEADER void SetGeometry (class STLGeometry * astlgeometry) { stlgeometry = astlgeometry; }
2011-01-11 01:18:01 +05:00
2015-10-19 13:08:30 +05:00
DLL_HEADER virtual void BuildScene (int zoomall = 0);
DLL_HEADER virtual void DrawScene ();
2011-01-11 01:18:01 +05:00
};
class VisualSceneSTLMeshing : public VisualScene
{
Array<int> trilists;
int selecttrig, nodeofseltrig;
class STLGeometry * stlgeometry;
public:
2015-10-19 13:08:30 +05:00
DLL_HEADER VisualSceneSTLMeshing ();
DLL_HEADER virtual ~VisualSceneSTLMeshing ();
2011-01-11 01:18:01 +05:00
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