0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / RWStepVisual / RWStepVisual_RWSurfaceStyleRendering.hxx
1 // Created on : Thu May 14 15:13:19 2020
2 // Created by: Igor KHOZHANOV
3 // Generator:   Express (EXPRESS -> CASCADE/XSTEP Translator) V2.0
4 // Copyright (c) Open CASCADE 2020
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _RWStepVisual_RWSurfaceStyleRendering_HeaderFile_
18 #define _RWStepVisual_RWSurfaceStyleRendering_HeaderFile_
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 class StepData_StepReaderData;
25 class Interface_Check;
26 class StepData_StepWriter;
27 class Interface_EntityIterator;
28 class StepVisual_SurfaceStyleRendering;
29
30 //! Read & Write tool for SurfaceStyleRendering
31 class RWStepVisual_RWSurfaceStyleRendering
32 {
33 public:
34
35   DEFINE_STANDARD_ALLOC
36
37   Standard_EXPORT RWStepVisual_RWSurfaceStyleRendering();
38
39   Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepVisual_SurfaceStyleRendering)& ent) const;
40
41   Standard_EXPORT void WriteStep(StepData_StepWriter& SW, const Handle(StepVisual_SurfaceStyleRendering)& ent) const;
42
43   Standard_EXPORT void Share(const Handle(StepVisual_SurfaceStyleRendering)& ent, Interface_EntityIterator& iter) const;
44
45 };
46 #endif // _RWStepVisual_RWSurfaceStyleRendering_HeaderFile_