Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-06 08:37:03

0001 // Created on: 1998-07-29
0002 // Created by: Christian CAILLET
0003 // Copyright (c) 1998-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 _STEPEdit_HeaderFile
0018 #define _STEPEdit_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 class Interface_Protocol;
0025 class StepData_StepModel;
0026 class IFSelect_Signature;
0027 class IFSelect_SelectSignature;
0028 
0029 //! Provides tools to exploit and edit a set of STEP data :
0030 //! editors, selections ..
0031 class STEPEdit
0032 {
0033 public:
0034   DEFINE_STANDARD_ALLOC
0035 
0036   //! Returns a Protocol fit for STEP (creates the first time)
0037   Standard_EXPORT static Handle(Interface_Protocol) Protocol();
0038 
0039   //! Returns a new empty StepModel fit for STEP
0040   //! i.e. with its header determined from Protocol
0041   Standard_EXPORT static Handle(StepData_StepModel) NewModel();
0042 
0043   //! Returns a SignType fit for STEP (creates the first time)
0044   Standard_EXPORT static Handle(IFSelect_Signature) SignType();
0045 
0046   //! Creates a Selection for ShapeDefinitionRepresentation
0047   //! By default searches among root entities
0048   Standard_EXPORT static Handle(IFSelect_SelectSignature) NewSelectSDR();
0049 
0050   //! Creates a Selection for Placed Items, i.e. MappedItem or
0051   //! ContextDependentShapeRepresentation, which itself refers to a
0052   //! RepresentationRelationship with possible subtypes (Shape...
0053   //! and/or ...WithTransformation)
0054   //! By default in the whole StepModel
0055   Standard_EXPORT static Handle(IFSelect_SelectSignature) NewSelectPlacedItem();
0056 
0057   //! Creates a Selection for ShapeRepresentation and its sub-types,
0058   //! plus ContextDependentShapeRepresentation (which is not a
0059   //! sub-type of ShapeRepresentation)
0060   //! By default in the whole StepModel
0061   Standard_EXPORT static Handle(IFSelect_SelectSignature) NewSelectShapeRepr();
0062 };
0063 
0064 #endif // _STEPEdit_HeaderFile