netgen/libsrc/visualization/meshdoc.hpp

43 lines
792 B
C++
Raw Normal View History

2014-10-06 15:57:44 +06:00
namespace netgen
{
2009-01-13 04:40:13 +05:00
class VisualSceneMeshDoctor : public VisualScene
{
int filledlist;
int outlinelist;
int edgelist;
int selelement, locpi;
int selpoint, selpoint2;
// for edgemarking:
2019-07-09 13:39:16 +05:00
NgArray<int> edgedist;
2009-01-13 04:40:13 +05:00
int markedgedist;
public:
2015-10-19 13:08:30 +05:00
DLL_HEADER VisualSceneMeshDoctor ();
DLL_HEADER virtual ~VisualSceneMeshDoctor ();
2009-01-13 04:40:13 +05:00
2015-10-19 13:08:30 +05:00
DLL_HEADER virtual void BuildScene (int zoomall = 0);
DLL_HEADER virtual void DrawScene ();
DLL_HEADER virtual void MouseDblClick (int px, int py);
2009-01-13 04:40:13 +05:00
2015-10-19 13:08:30 +05:00
DLL_HEADER void SetMarkEdgeDist (int dist);
DLL_HEADER void ClickElement (int elnr);
DLL_HEADER void UpdateTables ();
DLL_HEADER int IsSegmentMarked (int segnr) const;
2009-01-13 04:40:13 +05:00
};
class MeshDoctorParameters
{
public:
int active;
};
2015-10-19 13:08:30 +05:00
DLL_HEADER extern MeshDoctorParameters meshdoctor;
2014-10-06 15:57:44 +06:00
}