Back to index

salome-geom  6.5.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Member Functions | Private Attributes
GEOMIMPL_EXPORT Protocol Reference

#include <GEOMImpl_Gen.hxx>

Inheritance diagram for GEOMIMPL_EXPORT:
Inheritance graph
[legend]
Collaboration diagram for GEOMIMPL_EXPORT:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GEOMImpl_Gen ()
 ~GEOMImpl_Gen ()
GEOMImpl_IBasicOperationsGetIBasicOperations (int theDocID)
GEOMImpl_ITransformOperationsGetITransformOperations (int theDocID)
GEOMImpl_I3DPrimOperationsGetI3DPrimOperations (int theDocID)
GEOMImpl_IShapesOperationsGetIShapesOperations (int theDocID)
GEOMImpl_IBlocksOperationsGetIBlocksOperations (int theDocID)
GEOMImpl_IMeasureOperationsGetIMeasureOperations (int theDocID)
GEOMImpl_IBooleanOperationsGetIBooleanOperations (int theDocID)
GEOMImpl_ICurvesOperationsGetICurvesOperations (int theDocID)
GEOMImpl_ILocalOperationsGetILocalOperations (int theDocID)
GEOMImpl_IInsertOperationsGetIInsertOperations (int theDocID)
GEOMImpl_IHealingOperationsGetIHealingOperations (int theDocID)
GEOMImpl_IGroupOperationsGetIGroupOperations (int theDocID)
GEOMImpl_IAdvancedOperationsGetIAdvancedOperations (int theDocID)
Standard_EXPORT Handle (TDocStd_Document) GetDocument(int theDocID
Standard_EXPORT Handle (TDocStd_Application) GetApplication()
Standard_EXPORT Handle (GEOM_Object) GetObject(int theDocID
Standard_EXPORT Handle (GEOM_Object) AddObject(int theDocID
Standard_EXPORT Handle (GEOM_Object) AddSubShape(Handle(GEOM_Object) theMainShape
Standard_EXPORT Handle (TColStd_HArray1OfInteger) theIndices
Standard_EXPORT Handle (TColStd_HSequenceOfAsciiString) GetAllDumpNames() const
Standard_EXPORT Handle (TDataStd_HArray1OfByte) getTexture(int theDocID
Standard_EXPORT int GetDocID (Handle(TDocStd_Document) theDocument)
 GetDocID.
Standard_EXPORT bool RemoveObject (Handle(GEOM_Object) theObject)
 RemoveObject.
Standard_EXPORT bool Save (int theDocID, char *theFileName)
 Save.
Standard_EXPORT bool Load (int theDocID, char *theFileName)
 Load.
Standard_EXPORT void Close (int theDocID)
 Close.
Standard_EXPORT void SetUndoLimit (int theLimit)
Standard_EXPORT void Undo (int theDocID)
 Undo.
Standard_EXPORT void Redo (int theDocID)
 Redo.
Standard_EXPORT
TCollection_AsciiString 
DumpPython (int theDocID, std::vector< TObjectData > &theObjectData, TVariablesList theVariables, bool isPublished, bool isMultiFile, bool &aValidScript)
 DumpPython.
Standard_EXPORT const char * GetDumpName (const char *theStudyEntry) const
Standard_EXPORT int addTexture (int theDocID, int theWidth, int theHeight, const Handle(TDataStd_HArray1OfByte)&theTexture, const TCollection_AsciiString &theFileName="")
Standard_EXPORT std::list< int > getAllTextures (int theDocID)

Static Public Member Functions

static Standard_EXPORT
GEOM_Engine
GetEngine ()
 GetEngine.
static const Standard_GUID & GetTextureGUID ()

Public Attributes

Standard_EXPORT bool force = true)
Standard_EXPORT char bool force = true)
Standard_EXPORT char * theEntry
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)
 SetEngine.

Private Attributes

std::map< int,
GEOMImpl_IBasicOperations * > 
_mapOfBasicOperations
std::map< int,
GEOMImpl_ITransformOperations * > 
_mapOfTransformOperations
std::map< int,
GEOMImpl_I3DPrimOperations * > 
_mapOf3DPrimOperations
std::map< int,
GEOMImpl_IShapesOperations * > 
_mapOfShapesOperations
std::map< int,
GEOMImpl_IBlocksOperations * > 
_mapOfBlocksOperations
std::map< int,
GEOMImpl_IBooleanOperations * > 
_mapOfBooleanOperations
std::map< int,
GEOMImpl_IHealingOperations * > 
_mapOfHealingOperations
std::map< int,
GEOMImpl_ICurvesOperations * > 
_mapOfCurvesOperations
std::map< int,
GEOMImpl_ILocalOperations * > 
_mapOfLocalOperations
std::map< int,
GEOMImpl_IInsertOperations * > 
_mapOfInsertOperations
std::map< int,
GEOMImpl_IMeasureOperations * > 
_mapOfMeasureOperations
std::map< int,
GEOMImpl_IGroupOperations * > 
_mapOfGroupOperations
std::map< int,
GEOMImpl_IAdvancedOperations * > 
_mapOfAdvancedOperations

Detailed Description

Definition at line 45 of file GEOMImpl_Gen.hxx.


Constructor & Destructor Documentation


Member Function Documentation

int GEOM_Engine::addTexture ( int  theDocID,
int  theWidth,
int  theHeight,
const Handle(TDataStd_HArray1OfByte)&  theTexture,
const TCollection_AsciiString &  theFileName = "" 
) [inherited]

Definition at line 829 of file GEOM_Engine.cxx.

{
  Handle(TDocStd_Document) aDoc = GetDocument(theDocID);
  Handle(TDataStd_TreeNode) aRoot = TDataStd_TreeNode::Set(aDoc->Main());

  // NPAL18604: use existing label to decrease memory usage,
  //            if this label has been freed (object deleted)
  bool useExisting = false;
  TDF_Label aChild;
  if (_freeLabels.find(theDocID) != _freeLabels.end()) {
    std::list<TDF_Label>& aFreeLabels = _freeLabels[theDocID];
    if (!aFreeLabels.empty()) {
      useExisting = true;
      aChild = aFreeLabels.front();
      aFreeLabels.pop_front();
    }
  }
  if (!useExisting) {
    // create new label
    aChild = TDF_TagSource::NewChild(aDoc->Main());
  }

  aChild.ForgetAllAttributes(Standard_True);
  Handle(TDataStd_TreeNode) node;
  if ( !aChild.FindAttribute(TDataStd_TreeNode::GetDefaultTreeID(), node ) )
    node = TDataStd_TreeNode::Set(aChild);
  TDataStd_UAttribute::Set(aChild, GetTextureGUID());

  static int aTextureID = 0;

  TDataStd_Integer::Set(aChild.FindChild(TEXTURE_LABEL_ID),     ++aTextureID);
  TDataStd_Comment::Set(aChild.FindChild(TEXTURE_LABEL_FILE),   theFileName);
  TDataStd_Integer::Set(aChild.FindChild(TEXTURE_LABEL_WIDTH),  theWidth);
  TDataStd_Integer::Set(aChild.FindChild(TEXTURE_LABEL_HEIGHT), theHeight);

  Handle(TDataStd_ByteArray) anAttr =
    TDataStd_ByteArray::Set(aChild.FindChild(TEXTURE_LABEL_DATA),
                            theTexture.IsNull() ? 0 : theTexture->Lower(),
                            theTexture.IsNull() ? 0 : theTexture->Upper());
  anAttr->ChangeArray(theTexture);

  return aTextureID;
}

Here is the call graph for this function:

void GEOM_Engine::Close ( int  theDocID) [inherited]

Close.

Definition at line 549 of file GEOM_Engine.cxx.

{
  if (_mapIDDocument.IsBound(theDocID)) {
    Handle(TDocStd_Document) aDoc = Handle(TDocStd_Document)::DownCast(_mapIDDocument(theDocID));

    //Remove all GEOM Objects associated to the given document
    TColStd_SequenceOfAsciiString aSeq;
    GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient It (_objects);
    for (; It.More(); It.Next()) {
      TCollection_AsciiString anObjID (It.Key());
      Standard_Integer anID = ExtractDocID(anObjID);
      if (theDocID == anID) aSeq.Append(It.Key());
    }
    for (Standard_Integer i=1; i<=aSeq.Length(); i++) _objects.UnBind(aSeq.Value(i));

    // Forget free labels for this document
    TFreeLabelsList::iterator anIt = _freeLabels.find(theDocID);
    if (anIt != _freeLabels.end()) {
      _freeLabels.erase(anIt);
    }

    _mapIDDocument.UnBind(theDocID);
    _OCAFApp->Close(aDoc);
    aDoc.Nullify();
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

TCollection_AsciiString GEOM_Engine::DumpPython ( int  theDocID,
std::vector< TObjectData > &  theObjectData,
TVariablesList  theVariables,
bool  isPublished,
bool  isMultiFile,
bool &  aValidScript 
) [inherited]

DumpPython.

Definition at line 581 of file GEOM_Engine.cxx.

{
  // Set "C" numeric locale to save numbers correctly
  Kernel_Utils::Localizer loc;

  TCollection_AsciiString aScript;
  Handle(TDocStd_Document) aDoc = GetDocument(theDocID);

  if (aDoc.IsNull())
  {
    TCollection_AsciiString anEmptyScript;
    if( isMultiFile )
      anEmptyScript = "def RebuildData(theStudy): pass\n";
    return anEmptyScript;
  }

  aScript  = "import GEOM\n";
  aScript += "import geompy\n";
  aScript += "import math\n";
  aScript += "import SALOMEDS\n\n";
  if( isMultiFile )
    aScript += "def RebuildData(theStudy):";

  aScript += "\n\tgeompy.init_geom(theStudy)\n";

  AddTextures(theDocID, aScript);

  Standard_Integer posToInsertGlobalVars = aScript.Length() + 1;

  // a map containing copies of TObjectData from theObjectData
  TSting2ObjDataMap    aEntry2ObjData;
  // contains pointers to TObjectData of either aEntry2ObjData or theObjectData; the latter
  // occures when several StudyEntries correspond to one Entry
  TSting2ObjDataPtrMap aStEntry2ObjDataPtr;

  //Resource_DataMapOfAsciiStringAsciiString aEntry2StEntry, aStEntry2Entry, theObjectNames;
  for (unsigned i = 0; i < theObjectData.size(); ++i )
  {
    TObjectData& data = theObjectData[i];
    // look for an object by entry
    TDF_Label L;
    TDF_Tool::Label( aDoc->GetData(), data._entry, L );
    if ( L.IsNull() ) continue;
    Handle(GEOM_Object) obj = GEOM_Object::GetObject( L );
    // fill maps
    if ( !obj.IsNull() ) {
      TSting2ObjDataMap::iterator ent2Data =
        aEntry2ObjData.insert( std::make_pair( data._entry, data )).first;

      if ( ent2Data->second._studyEntry == data._studyEntry ) // Entry encounters 1st time
        aStEntry2ObjDataPtr.insert( std::make_pair( data._studyEntry, & ent2Data->second ));
      else
        aStEntry2ObjDataPtr.insert( std::make_pair( data._studyEntry, & data ));
    }
  }

  // collect objects entries to be published
  TColStd_SequenceOfAsciiString aObjListToPublish;

  // iterates on functions till critical (that requiers publication of objects)
  Handle(TDataStd_TreeNode) aNode, aRoot;
  Handle(GEOM_Function) aFunction;
  TDF_LabelMap aCheckedFuncMap;
  std::set< TCollection_AsciiString > anIgnoreObjMap;

  TCollection_AsciiString aFuncScript;

  // Mantis issue 0020768
  Standard_Integer objectCounter = 0;
  Resource_DataMapOfAsciiStringAsciiString aNameToEntry;

  if (aDoc->Main().FindAttribute(GEOM_Function::GetFunctionTreeID(), aRoot)) {
    TDataStd_ChildNodeIterator Itr(aRoot);
    for (; Itr.More(); Itr.Next()) {
      aNode = Itr.Value();
      aFunction = GEOM_Function::GetFunction(aNode->Label());
      if (aFunction.IsNull()) {
        MESSAGE ( "Null function !!!!" );
        continue;
      }
      bool isDumpCollected = false;
      TCollection_AsciiString aCurScript, anAfterScript;
      if (!ProcessFunction(aFunction, aCurScript, anAfterScript, theVariables,
                           isPublished, aCheckedFuncMap, anIgnoreObjMap,
                           isDumpCollected ))
        continue;
      // add function description before dump
      if (!aCurScript.IsEmpty())
        aFuncScript += aCurScript;
      if (isDumpCollected ) {
        // Replace entries by the names
        ReplaceEntriesByNames( aFuncScript, aEntry2ObjData, isPublished,
                               aObjListToPublish, objectCounter, aNameToEntry );

        // publish collected objects
        std::map< int, TCollection_AsciiString > anEntryToCmdMap; // sort publishing commands by study entry
        int i = 1, n = aObjListToPublish.Length();
        for ( ; i <= n; i++ )
        {
          const TCollection_AsciiString& aEntry = aObjListToPublish.Value(i);
          PublishObject( aEntry2ObjData[aEntry], aEntry2ObjData, aStEntry2ObjDataPtr,
                         aNameToEntry, anEntryToCmdMap, anIgnoreObjMap );
        }
        // add publishing commands to the script
        std::map< int, TCollection_AsciiString >::iterator anEntryToCmd = anEntryToCmdMap.begin();
        for ( ; anEntryToCmd != anEntryToCmdMap.end(); ++anEntryToCmd )
          aFuncScript += anEntryToCmd->second;

        // PTv, 0020001 add result objects from RestoreGivenSubShapes into ignore list,
        //  because they will be published during command execution
        int indx = anAfterScript.Search( "RestoreGivenSubShapes" );
        if ( indx == -1 )
          indx = anAfterScript.Search( "RestoreSubShapes" );
        if ( indx != -1 ) {
          TCollection_AsciiString aSubStr = anAfterScript.SubString(1, indx);
          Handle(TColStd_HSequenceOfInteger) aSeq = FindEntries(aSubStr);
          i = 1, n = aSeq->Length();
          for ( ; i <= n; i+=2) {
            TCollection_AsciiString anEntry =
              aSubStr.SubString(aSeq->Value(i), aSeq->Value(i+1));
            anIgnoreObjMap.insert(anEntry.ToCString());
          }
        }

        aObjListToPublish.Clear();
        aScript += aFuncScript;
        aFuncScript.Clear();
      }
      aFuncScript += anAfterScript;
    }
  }

  // Replace entries by the names
  aObjListToPublish.Clear();
  ReplaceEntriesByNames( aFuncScript, aEntry2ObjData, isPublished, aObjListToPublish,
                         objectCounter, aNameToEntry );

  aScript += aFuncScript;

  // ouv : NPAL12872
  AddObjectColors( theDocID, aScript, aEntry2ObjData );

  // Make script to publish in study
  TSting2ObjDataPtrMap::iterator aStEntry2ObjDataPtrIt;
  if ( isPublished )
  {
    std::map< int, TCollection_AsciiString > anEntryToCmdMap; // sort publishing commands by object entry

    for (aStEntry2ObjDataPtrIt  = aStEntry2ObjDataPtr.begin();
         aStEntry2ObjDataPtrIt != aStEntry2ObjDataPtr.end();
         ++aStEntry2ObjDataPtrIt)
    {
      TObjectData* data = aStEntry2ObjDataPtrIt->second;
      if ( anIgnoreObjMap.count( data->_entry ))
        continue; // should not be dumped
      PublishObject( *data, aEntry2ObjData, aStEntry2ObjDataPtr,
                     aNameToEntry, anEntryToCmdMap, anIgnoreObjMap );
    }
    // add publishing commands to the script
    std::map< int, TCollection_AsciiString >::iterator anEntryToCmd = anEntryToCmdMap.begin();
    for ( ; anEntryToCmd != anEntryToCmdMap.end(); ++anEntryToCmd )
      aScript += anEntryToCmd->second;
  }

  //RNV: issue 16219: EDF PAL 469: "RemoveFromStudy" Function
  //Add unpublish command if need
  TCollection_AsciiString unpublishCmd("\n");
  if(isMultiFile)
    unpublishCmd += "\t";
  unpublishCmd += "geompy.hideInStudy(";
  
  for (aStEntry2ObjDataPtrIt  = aStEntry2ObjDataPtr.begin();
       aStEntry2ObjDataPtrIt != aStEntry2ObjDataPtr.end();
       ++aStEntry2ObjDataPtrIt)
    {
      TObjectData* data = aStEntry2ObjDataPtrIt->second;      
      if ( data->_unpublished && !data->_pyName.IsEmpty() ) {
       aScript +=  unpublishCmd + data->_pyName + ")";
      }
    }    
  
  //aScript += "\n\tpass\n";
  aScript += "\n";
  aValidScript = true;

  // fill _studyEntry2NameMap and build globalVars
  TCollection_AsciiString globalVars;
  _studyEntry2NameMap.Clear();
  for (aStEntry2ObjDataPtrIt  = aStEntry2ObjDataPtr.begin();
       aStEntry2ObjDataPtrIt != aStEntry2ObjDataPtr.end();
       ++aStEntry2ObjDataPtrIt)
  {
    const TCollection_AsciiString& studyEntry = aStEntry2ObjDataPtrIt->first;
    const TObjectData*                   data = aStEntry2ObjDataPtrIt->second;
    _studyEntry2NameMap.Bind ( studyEntry, data->_pyName );
    if ( !globalVars.IsEmpty() )
      globalVars += ", ";
    globalVars += data->_pyName;
  }
  if ( isMultiFile && !globalVars.IsEmpty() ) {
    globalVars.Insert( 1, "\n\tglobal " );
    aScript.Insert( posToInsertGlobalVars, globalVars );
  }

  return aScript;
}

Here is the call graph for this function:

std::list< int > GEOM_Engine::getAllTextures ( int  theDocID) [inherited]

Definition at line 928 of file GEOM_Engine.cxx.

{
  std::list<int> id_list;

  Handle(TDocStd_Document) aDoc = GetDocument(theDocID);

  TDF_ChildIterator anIterator(aDoc->Main(), Standard_True);
  for (; anIterator.More(); anIterator.Next()) {
    TDF_Label aTextureLabel = anIterator.Value();
    if (aTextureLabel.IsAttribute( GetTextureGUID())) {
      TDF_Label anIDLabel = aTextureLabel.FindChild(TEXTURE_LABEL_ID, Standard_False);
      Handle(TDataStd_Integer) anIdAttr;
      if(!anIDLabel.IsNull() && anIDLabel.FindAttribute(TDataStd_Integer::GetID(), anIdAttr))
        id_list.push_back((int)anIdAttr->Get());
    }
  }
  return id_list;
}

Here is the call graph for this function:

Here is the caller graph for this function:

int GEOM_Engine::GetDocID ( Handle(TDocStd_Document)  theDocument) [inherited]

GetDocID.

Definition at line 278 of file GEOM_Engine.cxx.

{
  if (theDocument.IsNull()) return -1;
#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1
  TColStd_DataMapIteratorOfDataMapOfIntegerTransient anItr (_mapIDDocument);
#else
  Interface_DataMapIteratorOfDataMapOfIntegerTransient anItr (_mapIDDocument);
#endif
  for (; anItr.More(); anItr.Next())
    if (anItr.Value() == theDocument) return anItr.Key();

  return -1;
}
const char * GEOM_Engine::GetDumpName ( const char *  theStudyEntry) const [inherited]

Definition at line 798 of file GEOM_Engine.cxx.

{
  if ( _studyEntry2NameMap.IsBound( (char*)theStudyEntry ))
    return _studyEntry2NameMap( (char*)theStudyEntry ).ToCString();

  return NULL;
}
GEOM_Engine * GEOM_Engine::GetEngine ( ) [static, inherited]

GetEngine.

Definition at line 205 of file GEOM_Engine.cxx.

{ return TheEngine; }

Here is the caller graph for this function:

const Standard_GUID & GEOM_Engine::GetTextureGUID ( ) [static, inherited]

Definition at line 194 of file GEOM_Engine.cxx.

{
  static Standard_GUID anID("FF1BBB01-5D14-4df2-980B-3A668264EA17");
  return anID;
}

Here is the caller graph for this function:

Standard_EXPORT GEOM_Engine::Handle ( TDocStd_Document  ) [inherited]

Here is the caller graph for this function:

Standard_EXPORT GEOM_Engine::Handle ( TDocStd_Application  ) [inline, inherited]

Definition at line 116 of file GEOM_Engine.hxx.

{ return _OCAFApp; }
Standard_EXPORT GEOM_Engine::Handle ( TColStd_HArray1OfInteger  ) [inherited]
Standard_EXPORT GEOM_Engine::Handle ( TColStd_HSequenceOfAsciiString  ) const [inherited]
Standard_EXPORT GEOM_Engine::Handle ( TDataStd_HArray1OfByte  ) [inherited]
bool GEOM_Engine::Load ( int  theDocID,
char *  theFileName 
) [inherited]

Load.

Definition at line 523 of file GEOM_Engine.cxx.

{
  Handle(TDocStd_Document) aDoc;
#if OCC_VERSION_LARGE > 0x06050100 // For OCCT6.5.2 and higher
  if (_OCAFApp->Open(theFileName, aDoc) != PCDM_RS_OK) {
#else
  if (_OCAFApp->Open(theFileName, aDoc) != CDF_RS_OK) {
#endif
    return false;
  }

  aDoc->SetUndoLimit(_UndoLimit);

  if(_mapIDDocument.IsBound(theDocID)) _mapIDDocument.UnBind(theDocID);
  _mapIDDocument.Bind(theDocID, aDoc);

  TDataStd_Integer::Set(aDoc->Main(), theDocID);

  return true;
}

Here is the call graph for this function:

void GEOM_Engine::Redo ( int  theDocID) [inherited]

Redo.

Definition at line 498 of file GEOM_Engine.cxx.

{
  GetDocument(theDocID)->Redo();
}
bool GEOM_Engine::RemoveObject ( Handle(GEOM_Object theObject) [inherited]

RemoveObject.

Definition at line 441 of file GEOM_Engine.cxx.

{
  if (theObject.IsNull()) return false;

  int aDocID = theObject->GetDocID();
  if(!_mapIDDocument.IsBound(aDocID))
    return false;  // document is closed...

  //Remove an object from the map of available objects
  TCollection_AsciiString anID = BuildIDFromObject(theObject);
  if (_objects.IsBound(anID)) _objects.UnBind(anID);

  // If sub-shape, remove it from the list of sub-shapes of its main shape
  if (!theObject->IsMainShape()) {
    Handle(GEOM_Function) aFunction = theObject->GetFunction(1);
    GEOM_ISubShape aSSI (aFunction);
    Handle(GEOM_Function) aMainShape = aSSI.GetMainShape();
    //If main shape is not null, then remove
    if(!aMainShape.IsNull())
      aMainShape->RemoveSubShapeReference(aFunction);
  }

  int nb = theObject->GetNbFunctions();
  Handle(TDataStd_TreeNode) aNode;
  for (int i = 1; i <= nb; i++) {
    Handle(GEOM_Function) aFunction = theObject->GetFunction(i);
    if (aFunction->GetEntry().FindAttribute(GEOM_Function::GetFunctionTreeID(), aNode))
      aNode->Remove();
  }

  TDF_Label aLabel = theObject->GetEntry();
  aLabel.ForgetAllAttributes(Standard_True);

  // Remember the label to reuse it then
  std::list<TDF_Label>& aFreeLabels = _freeLabels[aDocID];
  aFreeLabels.push_back(aLabel);

  theObject.Nullify();

  return true;
}

Here is the call graph for this function:

Here is the caller graph for this function:

bool GEOM_Engine::Save ( int  theDocID,
char *  theFileName 
) [inherited]

Save.

Definition at line 508 of file GEOM_Engine.cxx.

{
  if(!_mapIDDocument.IsBound(theDocID)) return false;
  Handle(TDocStd_Document) aDoc = Handle(TDocStd_Document)::DownCast(_mapIDDocument(theDocID));

  _OCAFApp->SaveAs(aDoc, theFileName);

  return true;
}

Here is the call graph for this function:

void GEOM_Engine::SetEngine ( GEOM_Engine theEngine) [static, protected, inherited]

SetEngine.

Definition at line 212 of file GEOM_Engine.cxx.

{ TheEngine = theEngine; }
Standard_EXPORT void GEOM_Engine::SetUndoLimit ( int  theLimit) [inline, inherited]

Definition at line 137 of file GEOM_Engine.hxx.

{ _UndoLimit = theLimit; }
void GEOM_Engine::Undo ( int  theDocID) [inherited]

Undo.

Definition at line 488 of file GEOM_Engine.cxx.

{
  GetDocument(theDocID)->Undo();
}

Member Data Documentation

Definition at line 81 of file GEOMImpl_Gen.hxx.

Definition at line 91 of file GEOMImpl_Gen.hxx.

Definition at line 79 of file GEOMImpl_Gen.hxx.

Definition at line 83 of file GEOMImpl_Gen.hxx.

Definition at line 84 of file GEOMImpl_Gen.hxx.

Definition at line 86 of file GEOMImpl_Gen.hxx.

Definition at line 90 of file GEOMImpl_Gen.hxx.

Definition at line 85 of file GEOMImpl_Gen.hxx.

Definition at line 88 of file GEOMImpl_Gen.hxx.

Definition at line 87 of file GEOMImpl_Gen.hxx.

Definition at line 89 of file GEOMImpl_Gen.hxx.

Definition at line 82 of file GEOMImpl_Gen.hxx.

Definition at line 80 of file GEOMImpl_Gen.hxx.

Standard_EXPORT bool GEOM_Engine::force = true) [inherited]

Definition at line 110 of file GEOM_Engine.hxx.

Standard_EXPORT char bool GEOM_Engine::force = true) [inherited]

Definition at line 119 of file GEOM_Engine.hxx.

Definition at line 148 of file GEOM_Engine.hxx.

Definition at line 119 of file GEOM_Engine.hxx.

Standard_EXPORT int int int TCollection_AsciiString& GEOM_Engine::theFileName [inherited]

Definition at line 172 of file GEOM_Engine.hxx.

Standard_EXPORT int int int& GEOM_Engine::theHeight [inherited]

Definition at line 172 of file GEOM_Engine.hxx.

Definition at line 172 of file GEOM_Engine.hxx.

Definition at line 122 of file GEOM_Engine.hxx.

Standard_EXPORT int int& GEOM_Engine::theWidth [inherited]

Definition at line 172 of file GEOM_Engine.hxx.


The documentation for this protocol was generated from the following file: