summaryrefslogtreecommitdiff
path: root/inc/STEPEdit.hxx
blob: b15cd189a020480f53cf1c2dea7001bea1153b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _STEPEdit_HeaderFile
#define _STEPEdit_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Handle_Interface_Protocol_HeaderFile
#include <Handle_Interface_Protocol.hxx>
#endif
#ifndef _Handle_StepData_StepModel_HeaderFile
#include <Handle_StepData_StepModel.hxx>
#endif
#ifndef _Handle_IFSelect_Signature_HeaderFile
#include <Handle_IFSelect_Signature.hxx>
#endif
#ifndef _Handle_IFSelect_SelectSignature_HeaderFile
#include <Handle_IFSelect_SelectSignature.hxx>
#endif
class Interface_Protocol;
class StepData_StepModel;
class IFSelect_Signature;
class IFSelect_SelectSignature;
class STEPEdit_EditContext;
class STEPEdit_EditSDR;


//! Provides tools to exploit and edit a set of STEP data : <br>
//!           editors, selections .. <br>
class STEPEdit  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Returns a Protocol fit for STEP (creates the first time) <br>
  Standard_EXPORT   static  Handle_Interface_Protocol Protocol() ;
  //! Returns a new empty StepModel fit for STEP <br>
//!           i.e. with its header determined from Protocol <br>
  Standard_EXPORT   static  Handle_StepData_StepModel NewModel() ;
  //! Returns a SignType fit for STEP (creates the first time) <br>
  Standard_EXPORT   static  Handle_IFSelect_Signature SignType() ;
  //! Creates a Selection for ShapeDefinitionRepresentation <br>
//!           By default searches among root entities <br>
  Standard_EXPORT   static  Handle_IFSelect_SelectSignature NewSelectSDR() ;
  //! Creates a Selection for Placed Items, i.e. MappedItem or <br>
//!           ContextDependentShapeRepresentation, which itself refers to a <br>
//!           RepresentationRelationship with possible subtypes (Shape... <br>
//!           and/or ...WithTransformation) <br>
//!           By default in the whole StepModel <br>
  Standard_EXPORT   static  Handle_IFSelect_SelectSignature NewSelectPlacedItem() ;
  //! Creates a Selection for ShapeRepresentation and its sub-types, <br>
//!           plus ContextDependentShapeRepresentation (which is not a <br>
//!           sub-type of ShapeRepresentation) <br>
//!           By default in the whole StepModel <br>
  Standard_EXPORT   static  Handle_IFSelect_SelectSignature NewSelectShapeRepr() ;





protected:





private:




friend class STEPEdit_EditContext;
friend class STEPEdit_EditSDR;

};





// other Inline functions and methods (like "C++: function call" methods)


#endif