0024413: Visualization - get rid of projection shift from orthographic camera definition
[occt.git] / src / Graphic3d / Graphic3d_CStructure.hxx
CommitLineData
b311480e 1// Copyright (c) 1995-1999 Matra Datavision
973c2be1 2// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 3//
973c2be1 4// This file is part of Open CASCADE Technology software library.
b311480e 5//
d5f74e42 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
973c2be1 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.
b311480e 11//
973c2be1 12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
b311480e 14
7fd59977 15#ifndef _Graphic3d_CStructure_HeaderFile
16#define _Graphic3d_CStructure_HeaderFile
17
bf75be98 18#include <Graphic3d_CGroup.hxx>
51b10cd4 19#include <Graphic3d_SequenceOfHClipPlane.hxx>
bf75be98 20
21class Graphic3d_CStructure
22{
23
24public:
25
26 int Id;
27 void* ptrStructure;
28
29 int Priority;
30 int PreviousPriority;
bf75be98 31
32 CALL_DEF_CONTEXTLINE ContextLine;
33 CALL_DEF_CONTEXTFILLAREA ContextFillArea;
34 CALL_DEF_CONTEXTMARKER ContextMarker;
35 CALL_DEF_CONTEXTTEXT ContextText;
36
37 CALL_DEF_BOUNDBOX BoundBox;
38
39 float Transformation[4][4];
40 int Composition;
41
42 int ContainsFacet;
43
44 unsigned IsDeleted : 1;
45 unsigned IsOpen : 1;
46 unsigned IsInfinite : 1;
47 unsigned stick : 1;
48 unsigned highlight : 1;
49 unsigned visible : 1;
50 unsigned pick : 1;
51 unsigned HLRValidation : 1;
52
53 CALL_DEF_TRANSFORM_PERSISTENCE TransformPersistence;
54
51b10cd4 55 Graphic3d_SequenceOfHClipPlane ClipPlanes;
bf75be98 56};
7fd59977 57
bf75be98 58///typedef Graphic3d_CStructure CALL_DEF_STRUCTURE;
7fd59977 59
bf75be98 60const Handle(Standard_Type)& TYPE(Graphic3d_CStructure);
7fd59977 61
bf75be98 62#endif // Graphic3d_CStructure_HeaderFile