mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
43 lines
680 B
C++
43 lines
680 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:
|
|
VisualSceneMeshDoctor ();
|
|
virtual ~VisualSceneMeshDoctor ();
|
|
|
|
virtual void BuildScene (int zoomall = 0);
|
|
virtual void DrawScene ();
|
|
virtual void MouseDblClick (int px, int py);
|
|
|
|
void SetMarkEdgeDist (int dist);
|
|
void ClickElement (int elnr);
|
|
void UpdateTables ();
|
|
int IsSegmentMarked (int segnr) const;
|
|
};
|
|
|
|
class MeshDoctorParameters
|
|
{
|
|
public:
|
|
int active;
|
|
};
|
|
|
|
|
|
extern MeshDoctorParameters meshdoctor;
|
|
|
|
}
|