|
|
|||
File indexing completed on 2026-10-14 09:26:33
0001 // Created on: 1999-11-17 0002 // Created by: Andrey BETENEV 0003 // Copyright (c) 1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 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 _STEPConstruct_HeaderFile 0018 #define _STEPConstruct_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_DefineAlloc.hxx> 0022 #include <Standard_Handle.hxx> 0023 0024 #include <Standard_Boolean.hxx> 0025 class StepRepr_RepresentationItem; 0026 class Transfer_FinderProcess; 0027 class TopoDS_Shape; 0028 class TopLoc_Location; 0029 class Transfer_TransientProcess; 0030 class Transfer_Binder; 0031 class StepShape_ShapeDefinitionRepresentation; 0032 class StepShape_ContextDependentShapeRepresentation; 0033 0034 //! Defines tools for creation and investigation STEP constructs 0035 //! used for representing various kinds of data, such as product and 0036 //! assembly structure, unit contexts, associated information 0037 //! The creation of these structures is made according to currently 0038 //! active schema (AP203 or AP214 CD2 or DIS) 0039 //! This is taken from parameter write.step.schema 0040 class STEPConstruct 0041 { 0042 public: 0043 DEFINE_STANDARD_ALLOC 0044 0045 //! Returns STEP entity of the (sub)type of RepresentationItem 0046 //! which is a result of the translation of the Shape, or Null if 0047 //! no result is recorded 0048 Standard_EXPORT static occ::handle<StepRepr_RepresentationItem> FindEntity( 0049 const occ::handle<Transfer_FinderProcess>& FinderProcess, 0050 const TopoDS_Shape& Shape); 0051 0052 //! The same as above, but in the case if item not found, repeats 0053 //! search on the same shape without location. The Loc corresponds to the 0054 //! location with which result is found (either location of the Shape, 0055 //! or Null) 0056 Standard_EXPORT static occ::handle<StepRepr_RepresentationItem> FindEntity( 0057 const occ::handle<Transfer_FinderProcess>& FinderProcess, 0058 const TopoDS_Shape& Shape, 0059 TopLoc_Location& Loc); 0060 0061 //! Returns Shape resulting from given STEP entity (Null if not mapped) 0062 Standard_EXPORT static TopoDS_Shape FindShape( 0063 const occ::handle<Transfer_TransientProcess>& TransientProcess, 0064 const occ::handle<StepRepr_RepresentationItem>& item); 0065 0066 //! Find CDSR corresponding to the component in the specified assembly 0067 Standard_EXPORT static bool FindCDSR( 0068 const occ::handle<Transfer_Binder>& ComponentBinder, 0069 const occ::handle<StepShape_ShapeDefinitionRepresentation>& AssemblySDR, 0070 occ::handle<StepShape_ContextDependentShapeRepresentation>& ComponentCDSR); 0071 }; 0072 0073 #endif // _STEPConstruct_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|