8e5fb5ea |
1 | // Created on: 2016-09-23 |
2 | // Created by: Varvara POSKONINA |
3 | // Copyright (c) 2016 OPEN CASCADE SAS |
4 | // |
5 | // This file is part of Open CASCADE Technology software library. |
6 | // |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
12 | // |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
15 | |
f838dac4 |
16 | #include <Graphic3d_PresentationAttributes.hxx> |
8e5fb5ea |
17 | |
bc73b006 |
18 | #include <Standard_Dump.hxx> |
19 | |
f838dac4 |
20 | IMPLEMENT_STANDARD_RTTIEXT (Graphic3d_PresentationAttributes, Standard_Transient) |
bc73b006 |
21 | |
22 | // ======================================================================= |
23 | // function : DumpJson |
24 | // purpose : |
25 | // ======================================================================= |
26 | void Graphic3d_PresentationAttributes::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const |
27 | { |
28 | OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myBasicFillAreaAspect.get()) |
29 | |
30 | OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myBasicColor) |
31 | |
32 | OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myHiMethod) |
33 | OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myZLayer) |
34 | OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDispMode) |
35 | } |