Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/StepVisual_SurfaceStyleRendering.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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   //! default constructor
0035   Standard_EXPORT StepVisual_SurfaceStyleRendering();
0036 
0037   //! Initialize all fields (own and inherited)
0038   Standard_EXPORT void Init(const StepVisual_ShadingSurfaceMethod theRenderingMethod,
0039                             const Handle(StepVisual_Colour)&      theSurfaceColour);
0040 
0041   //! Returns field RenderingMethod
0042   Standard_EXPORT StepVisual_ShadingSurfaceMethod RenderingMethod() const;
0043   //! Sets field RenderingMethod
0044   Standard_EXPORT void SetRenderingMethod(const StepVisual_ShadingSurfaceMethod theRenderingMethod);
0045 
0046   //! Returns field SurfaceColour
0047   Standard_EXPORT Handle(StepVisual_Colour) SurfaceColour() const;
0048   //! Sets field SurfaceColour
0049   Standard_EXPORT void SetSurfaceColour(const Handle(StepVisual_Colour)& theSurfaceColour);
0050 
0051   DEFINE_STANDARD_RTTIEXT(StepVisual_SurfaceStyleRendering, Standard_Transient)
0052 
0053 private:
0054   StepVisual_ShadingSurfaceMethod myRenderingMethod;
0055   Handle(StepVisual_Colour)       mySurfaceColour;
0056 };
0057 #endif // _StepVisual_SurfaceStyleRendering_HeaderFile_