b64d84be |
1 | // Copyright (c) 1995-1999 Matra Datavision |
2 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
3 | // |
4 | // This file is part of Open CASCADE Technology software library. |
5 | // |
6 | // This library is free software; you can redistribute it and/or modify it under |
7 | // the terms of the GNU Lesser General Public License version 2.1 as published |
8 | // by the Free Software Foundation, with special exception defined in the file |
9 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | // distribution for complete text of the license and disclaimer of any warranty. |
11 | // |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
14 | |
15 | #ifndef _Graphic3d_CAspectMarker_HeaderFile |
16 | #define _Graphic3d_CAspectMarker_HeaderFile |
17 | |
18 | #include <Aspect_TypeOfMarker.hxx> |
19 | #include <InterfaceGraphic_Visual3d.hxx> |
20 | #include <Graphic3d_CTexture.hxx> |
494782f6 |
21 | #include <Graphic3d_MarkerImage.hxx> |
22 | #include <Graphic3d_ShaderProgram.hxx> |
b64d84be |
23 | |
24 | class Graphic3d_CAspectMarker |
25 | { |
26 | public: |
27 | |
28 | Graphic3d_CAspectMarker() |
29 | : IsDef (0), |
30 | IsSet (0), |
31 | MarkerType (Aspect_TOM_POINT), |
32 | Scale (0), |
33 | MarkerImage (NULL) |
34 | { |
35 | memset (&Color, 0, sizeof(Color)); |
36 | } |
37 | |
38 | public: |
39 | |
40 | Standard_Integer IsDef; |
41 | Standard_Integer IsSet; |
42 | CALL_DEF_COLOR Color; |
43 | Aspect_TypeOfMarker MarkerType; |
44 | Standard_ShortReal Scale; |
45 | Handle(Graphic3d_MarkerImage) MarkerImage; |
46 | Handle(Graphic3d_ShaderProgram) ShaderProgram; |
47 | |
48 | }; |
49 | |
50 | typedef Graphic3d_CAspectMarker CALL_DEF_CONTEXTMARKER; |
51 | |
52 | #endif // _Graphic3d_AspectMarker_HeaderFile |