Version: 6.3.1
Public Member Functions | Static Public Member Functions | Data Fields | Static Protected Member Functions | Private Member Functions | Private Attributes

GEOM_Engine Class Reference

#include <GEOM_Engine.hxx>

Inheritance diagram for GEOM_Engine:
Inheritance graph

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

Constructor & Destructor Documentation

GEOM_Engine::GEOM_Engine ( )

Constructor

References _UndoLimit, and GEOM_Object.GetSubShapeID().

GEOM_Engine::~GEOM_Engine ( ) [virtual]

Member Function Documentation

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)
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 
)
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)
const Standard_GUID & GEOM_Engine::GetTextureGUID ( ) [static]
void GEOM_Engine::SetEngine ( GEOM_Engine theEngine) [static, protected]

SetEngine

GEOM_Engine.Handle ( GEOM_Application  ) [private]

Field Documentation

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]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS