|
||||
File indexing completed on 2025-01-18 10:05:05
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 0035 //! Defines tools for creation and investigation STEP constructs 0036 //! used for representing various kinds of data, such as product and 0037 //! assembly structure, unit contexts, associated information 0038 //! The creation of these structures is made according to currently 0039 //! active schema (AP203 or AP214 CD2 or DIS) 0040 //! This is taken from parameter write.step.schema 0041 class STEPConstruct 0042 { 0043 public: 0044 0045 DEFINE_STANDARD_ALLOC 0046 0047 0048 //! Returns STEP entity of the (sub)type of RepresentationItem 0049 //! which is a result of the tranalation of the Shape, or Null if 0050 //! no result is recorded 0051 Standard_EXPORT static Handle(StepRepr_RepresentationItem) FindEntity (const Handle(Transfer_FinderProcess)& FinderProcess, const TopoDS_Shape& Shape); 0052 0053 //! The same as above, but in the case if item not found, repeats 0054 //! search on the same shape without location. The Loc corresponds to the 0055 //! location with which result is found (either location of the Shape, 0056 //! or Null) 0057 Standard_EXPORT static Handle(StepRepr_RepresentationItem) FindEntity (const Handle(Transfer_FinderProcess)& FinderProcess, const TopoDS_Shape& Shape, TopLoc_Location& Loc); 0058 0059 //! Returns Shape resulting from given STEP entity (Null if not mapped) 0060 Standard_EXPORT static TopoDS_Shape FindShape (const Handle(Transfer_TransientProcess)& TransientProcess, const Handle(StepRepr_RepresentationItem)& item); 0061 0062 //! Find CDSR correcponding to the component in the specified assembly 0063 Standard_EXPORT static Standard_Boolean FindCDSR (const Handle(Transfer_Binder)& ComponentBinder, const Handle(StepShape_ShapeDefinitionRepresentation)& AssemblySDR, Handle(StepShape_ContextDependentShapeRepresentation)& ComponentCDSR); 0064 0065 }; 0066 0067 #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 |