mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 06:10:34 +05:00
43 lines
790 B
C++
43 lines
790 B
C++
namespace netgen
|
|
|
|
{
|
|
|
|
class VisualSceneMeshDoctor : public VisualScene
|
|
{
|
|
int filledlist;
|
|
int outlinelist;
|
|
int edgelist;
|
|
|
|
int selelement, locpi;
|
|
int selpoint, selpoint2;
|
|
|
|
// for edgemarking:
|
|
Array<int> edgedist;
|
|
int markedgedist;
|
|
|
|
|
|
public:
|
|
DLL_HEADER VisualSceneMeshDoctor ();
|
|
DLL_HEADER virtual ~VisualSceneMeshDoctor ();
|
|
|
|
DLL_HEADER virtual void BuildScene (int zoomall = 0);
|
|
DLL_HEADER virtual void DrawScene ();
|
|
DLL_HEADER virtual void MouseDblClick (int px, int py);
|
|
|
|
DLL_HEADER void SetMarkEdgeDist (int dist);
|
|
DLL_HEADER void ClickElement (int elnr);
|
|
DLL_HEADER void UpdateTables ();
|
|
DLL_HEADER int IsSegmentMarked (int segnr) const;
|
|
};
|
|
|
|
class MeshDoctorParameters
|
|
{
|
|
public:
|
|
int active;
|
|
};
|
|
|
|
|
|
DLL_HEADER extern MeshDoctorParameters meshdoctor;
|
|
|
|
}
|