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:
|
|
|
|
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;
|