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 DLL_HEADER VisualSceneSTLGeometry : public VisualScene
2011-01-11 01:18:01 +05:00
{
2019-07-09 13:39:16 +05:00
NgArray<int> trilists;
2011-01-11 01:18:01 +05:00
class STLGeometry * stlgeometry;
public:
VisualSceneSTLGeometry ();
virtual ~VisualSceneSTLGeometry ();
void SetGeometry (class STLGeometry * astlgeometry) { stlgeometry = astlgeometry; }
2011-01-11 01:18:01 +05:00
virtual void BuildScene (int zoomall = 0);
virtual void DrawScene ();
2011-01-11 01:18:01 +05:00
};
class DLL_HEADER VisualSceneSTLMeshing : public VisualScene
2011-01-11 01:18:01 +05:00
{
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:
VisualSceneSTLMeshing ();
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