netgen/libsrc/visualization/meshdoc.hpp

43 lines
782 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:
NGGUI_API VisualSceneMeshDoctor ();
NGGUI_API virtual ~VisualSceneMeshDoctor ();
2009-01-13 04:40:13 +05:00
NGGUI_API virtual void BuildScene (int zoomall = 0);
NGGUI_API virtual void DrawScene ();
NGGUI_API virtual void MouseDblClick (int px, int py);
2009-01-13 04:40:13 +05:00
NGGUI_API void SetMarkEdgeDist (int dist);
NGGUI_API void ClickElement (int elnr);
NGGUI_API void UpdateTables ();
NGGUI_API int IsSegmentMarked (int segnr) const;
2009-01-13 04:40:13 +05:00
};
class MeshDoctorParameters
{
public:
int active;
};
NGGUI_API extern MeshDoctorParameters meshdoctor;
2014-10-06 15:57:44 +06:00
}