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
{
2019-07-09 13:39:16 +05:00
NgArray<int> trilists;
2011-01-11 01:18:01 +05:00
class STLGeometry * stlgeometry;
public:
2015-10-19 13:08:30 +05:00
DLL_HEADER VisualSceneSTLGeometry ();
DLL_HEADER virtual ~VisualSceneSTLGeometry ();
2019-08-28 21:40:02 +05:00
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
{
2019-07-09 13:39:16 +05:00
NgArray<int> trilists;
2011-01-11 01:18:01 +05:00
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