0022819: Redesign of OpenGl driver
[occt.git] / src / OpenGl / OpenGl_MarkerSet.hxx
1 // File:      OpenGl_MarkerSet.hxx
2 // Created:   13 July 2011
3 // Author:    Sergey ZERCHANINOV
4 // Copyright: OPEN CASCADE 2011
5
6 #ifndef OpenGl_MarkerSet_Header
7 #define OpenGl_MarkerSet_Header
8
9 #include <InterfaceGraphic_telem.hxx>
10
11 #include <OpenGl_Element.hxx>
12
13 #include <Graphic3d_Vertex.hxx>
14
15 class OpenGl_MarkerSet : public OpenGl_Element
16 {
17  public:
18
19   OpenGl_MarkerSet (const Standard_Integer ANbPoints, const Graphic3d_Vertex *APoints);
20   virtual ~OpenGl_MarkerSet ();
21
22   virtual void Render (const Handle(OpenGl_Workspace) &AWorkspace) const;
23
24  protected:
25
26   Tint myNbPoints;
27   TEL_POINT *myPoints;
28
29  public:
30   IMPLEMENT_MEMORY_OPERATORS
31 };
32
33 #endif //OpenGl_MarkerSet_Header