#include <GEOM_Engine.hxx>

Public Member Functions | |
| Standard_EXPORT | GEOM_Engine () |
| virtual Standard_EXPORT | ~GEOM_Engine () |
| Standard_EXPORT | Handle (TDocStd_Document) GetDocument(int theDocID |
| Standard_EXPORT int | GetDocID (Handle(TDocStd_Document) theDocument) |
| Standard_EXPORT | Handle (TDocStd_Application) GetApplication() |
| Standard_EXPORT | Handle (GEOM_Object) GetObject(int theDocID |
| Standard_EXPORT | Handle (GEOM_Object) AddObject(int theDocID |
| Standard_EXPORT bool | RemoveObject (Handle(GEOM_Object) theObject) |
| Standard_EXPORT bool | Save (int theDocID, char *theFileName) |
| Standard_EXPORT bool | Load (int theDocID, char *theFileName) |
| Standard_EXPORT void | Close (int theDocID) |
| Standard_EXPORT void | SetUndoLimit (int theLimit) |
| Standard_EXPORT void | Undo (int theDocID) |
| Standard_EXPORT void | Redo (int theDocID) |
| Standard_EXPORT | Handle (GEOM_Object) AddSubShape(Handle(GEOM_Object) theMainShape |
| Standard_EXPORT | Handle (TColStd_HArray1OfInteger) theIndices |
| Standard_EXPORT TCollection_AsciiString | DumpPython (int theDocID, std::vector< TObjectData > &theObjectData, TVariablesList theVariables, bool isPublished, bool isMultiFile, bool &aValidScript) |
| Standard_EXPORT const char * | GetDumpName (const char *theStudyEntry) const |
| Standard_EXPORT | Handle (TColStd_HSequenceOfAsciiString) GetAllDumpNames() const |
| Standard_EXPORT int | addTexture (int theDocID, int theWidth, int theHeight, const Handle(TDataStd_HArray1OfByte)&theTexture, const TCollection_AsciiString &theFileName="") |
| Standard_EXPORT | Handle (TDataStd_HArray1OfByte) getTexture(int theDocID |
| Standard_EXPORT std::list< int > | getAllTextures (int theDocID) |
Static Public Member Functions | |
| static Standard_EXPORT GEOM_Engine * | GetEngine () |
| static const Standard_GUID & | GetTextureGUID () |
Data Fields | |
| Standard_EXPORT bool | force = true) |
| Standard_EXPORT char * | theEntry |
| Standard_EXPORT char bool | force = true) |
| Standard_EXPORT int | theType |
| Standard_EXPORT bool | isStandaloneOperation = false) |
| Standard_EXPORT int | theTextureID |
| Standard_EXPORT int int & | theWidth |
| Standard_EXPORT int int int & | theHeight |
| Standard_EXPORT int int int TCollection_AsciiString & | theFileName |
Static Protected Member Functions | |
| static Standard_EXPORT void | SetEngine (GEOM_Engine *theEngine) |
Private Member Functions | |
| Handle (GEOM_Application) _OCAFApp | |
Private Attributes | |
| Interface_DataMapOfIntegerTransient | _mapIDDocument |
| int | _UndoLimit |
| GEOM_DataMapOfAsciiStringTransient | _objects |
| Resource_DataMapOfAsciiStringAsciiString | _studyEntry2NameMap |
| TFreeLabelsList | _freeLabels |
| GEOM_Engine::GEOM_Engine | ( | ) |
Constructor
References _UndoLimit, and GEOM_Object.GetSubShapeID().
| GEOM_Engine::~GEOM_Engine | ( | ) | [virtual] |
Destructor
References _mapIDDocument, _objects, GEOM_DataMapOfAsciiStringTransient.Clear(), Close(), Handle(), RemoveObject(), and GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.Value().
| GEOM_Engine * GEOM_Engine::GetEngine | ( | ) | [static] |
GetEngine
References TheEngine.
| Standard_EXPORT GEOM_Engine.Handle | ( | TDocStd_Document | ) |
| int GEOM_Engine::GetDocID | ( | Handle(TDocStd_Document) | theDocument | ) |
GetDocID
References _mapIDDocument.
| Standard_EXPORT GEOM_Engine.Handle | ( | TDocStd_Application | ) |
| Standard_EXPORT GEOM_Engine.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOM_Engine.Handle | ( | GEOM_Object | ) |
| bool GEOM_Engine::RemoveObject | ( | Handle(GEOM_Object) | theObject | ) |
RemoveObject
References _freeLabels, _mapIDDocument, _objects, BuildIDFromObject(), GEOM_Object.GetDocID(), GEOM_Object.GetEntry(), GEOM_Function.GetFunctionTreeID(), GEOM_Object.GetNbFunctions(), Handle(), GEOM_DataMapOfAsciiStringTransient.IsBound(), GEOM_Object.IsMainShape(), and GEOM_DataMapOfAsciiStringTransient.UnBind().
| bool GEOM_Engine::Save | ( | int | theDocID, |
| char * | theFileName | ||
| ) |
Save
References _mapIDDocument, and Handle().
| bool GEOM_Engine::Load | ( | int | theDocID, |
| char * | theFileName | ||
| ) |
Load
References _mapIDDocument, _UndoLimit, and Handle().
| void GEOM_Engine::Close | ( | int | theDocID | ) |
| Standard_EXPORT void GEOM_Engine.SetUndoLimit | ( | int | theLimit | ) |
References _UndoLimit.
| void GEOM_Engine::Undo | ( | int | theDocID | ) |
Undo
| void GEOM_Engine::Redo | ( | int | theDocID | ) |
Redo
| Standard_EXPORT GEOM_Engine.Handle | ( | GEOM_Object | ) |
| Standard_EXPORT GEOM_Engine.Handle | ( | TColStd_HArray1OfInteger | ) |
| TCollection_AsciiString GEOM_Engine::DumpPython | ( | int | theDocID, |
| std::vector< TObjectData > & | theObjectData, | ||
| TVariablesList | theVariables, | ||
| bool | isPublished, | ||
| bool | isMultiFile, | ||
| bool & | aValidScript | ||
| ) |
DumpPython
References TObjectData._entry, TObjectData._pyName, TObjectData._studyEntry, _studyEntry2NameMap, TObjectData._unpublished, AddObjectColors(), AddTextures(), GEOM_Function.GetFunctionTreeID(), Handle(), PAL_MESH_030_geometry.i, ProcessFunction(), PublishObject(), and ReplaceEntriesByNames().
| const char * GEOM_Engine::GetDumpName | ( | const char * | theStudyEntry | ) | const |
References _studyEntry2NameMap.
| Standard_EXPORT GEOM_Engine.Handle | ( | TColStd_HSequenceOfAsciiString | ) | const |
| int GEOM_Engine::addTexture | ( | int | theDocID, |
| int | theWidth, | ||
| int | theHeight, | ||
| const Handle(TDataStd_HArray1OfByte)& | theTexture, | ||
| const TCollection_AsciiString & | theFileName = "" |
||
| ) |
| Standard_EXPORT GEOM_Engine.Handle | ( | TDataStd_HArray1OfByte | ) |
| std::list< int > GEOM_Engine::getAllTextures | ( | int | theDocID | ) |
References GetTextureGUID(), Handle(), and TEXTURE_LABEL_ID.
| const Standard_GUID & GEOM_Engine::GetTextureGUID | ( | ) | [static] |
| void GEOM_Engine::SetEngine | ( | GEOM_Engine * | theEngine | ) | [static, protected] |
SetEngine
| GEOM_Engine.Handle | ( | GEOM_Application | ) | [private] |
| Standard_EXPORT bool GEOM_Engine.force = true) |
| Standard_EXPORT char* GEOM_Engine.theEntry |
| Standard_EXPORT char bool GEOM_Engine.force = true) |
| Standard_EXPORT int GEOM_Engine.theType |
| Standard_EXPORT bool GEOM_Engine.isStandaloneOperation = false) |
| Standard_EXPORT int GEOM_Engine.theTextureID |
| Standard_EXPORT int int& GEOM_Engine.theWidth |
| Standard_EXPORT int int int& GEOM_Engine.theHeight |
| Standard_EXPORT int int int TCollection_AsciiString& GEOM_Engine.theFileName |
Interface_DataMapOfIntegerTransient GEOM_Engine._mapIDDocument [private] |
int GEOM_Engine._UndoLimit [private] |
Resource_DataMapOfAsciiStringAsciiString GEOM_Engine._studyEntry2NameMap [private] |
TFreeLabelsList GEOM_Engine._freeLabels [private] |