2011-01-11 01:18:01 +05:00
|
|
|
#ifndef FILE_VSOCC
|
|
|
|
#define FILE_VSOCC
|
|
|
|
|
|
|
|
/**************************************************************************/
|
|
|
|
/* File: vsocc.hpp */
|
|
|
|
/* Author: Joachim Schoeberl */
|
|
|
|
/* Date: 05. Jan. 2011 */
|
|
|
|
/**************************************************************************/
|
|
|
|
|
|
|
|
namespace netgen
|
|
|
|
{
|
|
|
|
|
|
|
|
class VisualSceneOCCGeometry : public VisualScene
|
|
|
|
{
|
2019-07-09 13:39:16 +05:00
|
|
|
NgArray<int> trilists;
|
|
|
|
NgArray<int> linelists;
|
2023-08-05 15:01:01 +05:00
|
|
|
// int selsurf;
|
2011-01-11 01:18:01 +05:00
|
|
|
class OCCGeometry * occgeometry;
|
|
|
|
public:
|
|
|
|
VisualSceneOCCGeometry ();
|
|
|
|
virtual ~VisualSceneOCCGeometry ();
|
|
|
|
void SetGeometry (class OCCGeometry * ageom) { occgeometry = ageom; }
|
|
|
|
|
|
|
|
virtual void BuildScene (int zoomall = 0);
|
|
|
|
virtual void DrawScene ();
|
|
|
|
virtual void MouseDblClick (int px, int py);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|