Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:16

0001 // Created on : Thu May 14 15:13:19 2020
0002 // Created by: Igor KHOZHANOV
0003 // Generator:   Express (EXPRESS -> CASCADE/XSTEP Translator) V2.0
0004 // Copyright (c) Open CASCADE 2020
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepVisual_SurfaceStyleRendering_HeaderFile_
0018 #define _StepVisual_SurfaceStyleRendering_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <Standard_Transient.hxx>
0023 
0024 #include <StepVisual_ShadingSurfaceMethod.hxx>
0025 #include <StepVisual_Colour.hxx>
0026 
0027 class StepVisual_SurfaceStyleRendering;
0028 DEFINE_STANDARD_HANDLE(StepVisual_SurfaceStyleRendering, Standard_Transient)
0029 
0030 //! Representation of STEP entity SurfaceStyleRendering
0031 class StepVisual_SurfaceStyleRendering : public Standard_Transient
0032 {
0033 public :
0034 
0035   //! default constructor
0036   Standard_EXPORT StepVisual_SurfaceStyleRendering();
0037 
0038   //! Initialize all fields (own and inherited)
0039  Standard_EXPORT void Init(const StepVisual_ShadingSurfaceMethod theRenderingMethod,
0040                            const Handle(StepVisual_Colour)& theSurfaceColour);
0041 
0042   //! Returns field RenderingMethod
0043   Standard_EXPORT StepVisual_ShadingSurfaceMethod RenderingMethod() const;
0044   //! Sets field RenderingMethod
0045   Standard_EXPORT void SetRenderingMethod (const StepVisual_ShadingSurfaceMethod theRenderingMethod);
0046 
0047   //! Returns field SurfaceColour
0048   Standard_EXPORT Handle(StepVisual_Colour) SurfaceColour() const;
0049   //! Sets field SurfaceColour
0050   Standard_EXPORT void SetSurfaceColour (const Handle(StepVisual_Colour)& theSurfaceColour);
0051 
0052 DEFINE_STANDARD_RTTIEXT(StepVisual_SurfaceStyleRendering, Standard_Transient)
0053 
0054 private:
0055   StepVisual_ShadingSurfaceMethod myRenderingMethod;
0056   Handle(StepVisual_Colour) mySurfaceColour;
0057 
0058 };
0059 #endif // _StepVisual_SurfaceStyleRendering_HeaderFile_