1 // Copyright (c) 1991-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
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.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 #ifndef InterfaceGraphic_Graphic3dHeader
16 #define InterfaceGraphic_Graphic3dHeader
18 #include <InterfaceGraphic_telem.hxx>
19 #include <Graphic3d_BndBox4f.hxx>
20 #include <Graphic3d_BSDF.hxx>
21 #include <Standard_Transient.hxx>
47 Standard_ShortReal Ambient;
48 Standard_Integer IsAmbient;
50 Standard_ShortReal Diffuse;
51 Standard_Integer IsDiffuse;
53 Standard_ShortReal Specular;
54 Standard_Integer IsSpecular;
56 Standard_ShortReal Emission;
57 Standard_Integer IsEmission;
61 Standard_ShortReal Shininess;
62 Standard_ShortReal Transparency;
63 Standard_ShortReal RefractionIndex;
65 Standard_ShortReal EnvReflexion;
67 Standard_Integer IsPhysic;
69 /* Color attributes */
70 CALL_DEF_COLOR ColorAmb;
71 CALL_DEF_COLOR ColorDif;
72 CALL_DEF_COLOR ColorSpec;
73 CALL_DEF_COLOR ColorEms;
78 /* Transform persistence struct */
81 Standard_Integer IsSet;
82 Standard_Integer IsDef;
83 Standard_Integer Flag;
85 } CALL_DEF_TRANSFORM_PERSISTENCE;
92 Graphic3d_BndBox4f* Bounds;
96 #endif /* InterfaceGraphic_Graphic3dHeader */