Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0030 //! Provides tools to exploit and edit a set of STEP data :
0031 //! editors, selections ..
0032 class STEPEdit 
0033 {
0034 public:
0035 
0036   DEFINE_STANDARD_ALLOC
0037 
0038   
0039   //! Returns a Protocol fit for STEP (creates the first time)
0040   Standard_EXPORT static Handle(Interface_Protocol) Protocol();
0041   
0042   //! Returns a new empty StepModel fit for STEP
0043   //! i.e. with its header determined from Protocol
0044   Standard_EXPORT static Handle(StepData_StepModel) NewModel();
0045   
0046   //! Returns a SignType fit for STEP (creates the first time)
0047   Standard_EXPORT static Handle(IFSelect_Signature) SignType();
0048   
0049   //! Creates a Selection for ShapeDefinitionRepresentation
0050   //! By default searches among root entities
0051   Standard_EXPORT static Handle(IFSelect_SelectSignature) NewSelectSDR();
0052   
0053   //! Creates a Selection for Placed Items, i.e. MappedItem or
0054   //! ContextDependentShapeRepresentation, which itself refers to a
0055   //! RepresentationRelationship with possible subtypes (Shape...
0056   //! and/or ...WithTransformation)
0057   //! By default in the whole StepModel
0058   Standard_EXPORT static Handle(IFSelect_SelectSignature) NewSelectPlacedItem();
0059   
0060   //! Creates a Selection for ShapeRepresentation and its sub-types,
0061   //! plus ContextDependentShapeRepresentation (which is not a
0062   //! sub-type of ShapeRepresentation)
0063   //! By default in the whole StepModel
0064   Standard_EXPORT static Handle(IFSelect_SelectSignature) NewSelectShapeRepr();
0065 
0066 };
0067 
0068 #endif // _STEPEdit_HeaderFile