23 #ifndef _GEOM_Engine_HXX_
24 #define _GEOM_Engine_HXX_
30 #include <Basics_OCCTVersion.hxx>
32 #include <TColStd_DataMapOfIntegerTransient.hxx>
34 #include <Resource_DataMapOfAsciiStringAsciiString.hxx>
35 #include <TDocStd_Document.hxx>
36 #include <TColStd_HArray1OfInteger.hxx>
37 #include <TColStd_HArray1OfByte.hxx>
38 #include <TColStd_HSequenceOfAsciiString.hxx>
39 #include <TColStd_MapOfInteger.hxx>
40 #include <TDF_Label.hxx>
63 TVariable(
const TCollection_AsciiString& theVariable,
bool theFlag =
true):
68 typedef std::vector<TVariable>
TState;
99 Standard_EXPORT
static GEOM_Engine*
GetEngine();
102 Standard_EXPORT
Handle(TDocStd_Document) GetDocument(
int theDocID,
bool force=true);
105 Standard_EXPORT
int GetDocID(
Handle(TDocStd_Document) theDocument);
128 Standard_EXPORT
bool Load(
int theDocID, const
char* theFileName);
131 Standard_EXPORT
void Close(
int theDocID);
137 Standard_EXPORT
void Undo(
int theDocID);
140 Standard_EXPORT
void Redo(
int theDocID);
144 Handle(TColStd_HArray1OfInteger) theIndices,
147 Standard_EXPORT TCollection_AsciiString
DumpPython(
int theDocID,
154 Standard_EXPORT const
char*
GetDumpName (const
char* theStudyEntry) const;
156 Standard_EXPORT
Handle(TColStd_HSequenceOfAsciiString) GetAllDumpNames() const;
159 const
Handle(TColStd_HArray1OfByte)& theTexture,
163 int& theWidth,
int& theHeight,
164 TCollection_AsciiString& theFileName);
170 Standard_EXPORT
void healPyName( TCollection_AsciiString& pyName,
171 const TCollection_AsciiString& anEntry,
172 Resource_DataMapOfAsciiStringAsciiString& aNameToEntry);
174 Standard_EXPORT
void DocumentModified(const
int theDocId, const
bool isModified);
179 Standard_EXPORT static
void SetEngine(GEOM_Engine* theEngine);