Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright (c) 2022 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _StepVisual_RepositionedTessellatedItem_HeaderFile
0015 #define _StepVisual_RepositionedTessellatedItem_HeaderFile
0016 
0017 #include <StepVisual_TessellatedItem.hxx>
0018 
0019 class StepGeom_Axis2Placement3d;
0020 
0021 DEFINE_STANDARD_HANDLE(StepVisual_RepositionedTessellatedItem, StepVisual_TessellatedItem)
0022 
0023 //! Representation of STEP entity RepositionedTessellatedItem
0024 class StepVisual_RepositionedTessellatedItem : public StepVisual_TessellatedItem
0025 {
0026 public:
0027 
0028   DEFINE_STANDARD_RTTIEXT(StepVisual_RepositionedTessellatedItem, StepVisual_TessellatedItem)
0029 
0030   DEFINE_STANDARD_ALLOC
0031 
0032   //! Default constructor
0033   StepVisual_RepositionedTessellatedItem() {};
0034 
0035   //! Initialize all fields (own and inherited)
0036   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
0037                             const Handle(StepGeom_Axis2Placement3d)& theLocation);
0038 
0039   //! Returns location
0040   Handle(StepGeom_Axis2Placement3d) Location() const { return myLocation; }
0041 
0042   //! Sets location
0043   void SetLocation(const Handle(StepGeom_Axis2Placement3d)& theLocation) { myLocation = theLocation; }
0044 
0045 private:
0046 
0047   Handle(StepGeom_Axis2Placement3d) myLocation;
0048 };
0049 #endif // StepVisual_RepositionedTessellatedItem_HeaderFile