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:
|
2009-01-25 17:35:25 +05:00
|
|
|
Array<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
|
|
|
|
|
|
|
}
|