#include <IGESPlugin_IOperations_i.hh>
Public Member Functions | |
IGESPlugin_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, IGESPlugin_IOperations *theImpl) | |
~IGESPlugin_IOperations_i () | |
void | ExportIGES (GEOM::GEOM_Object_ptr, const char *, const char *) |
GEOM::ListOfGO * | ImportIGES (const char *, const bool) |
char * | ReadValue (const char *, const char *) |
IGESPlugin_IOperations * | GetOperations () |
Public Member Functions inherited from GEOM_IOperations_i | |
GEOM_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,::GEOM_IOperations *theImpl) | |
~GEOM_IOperations_i () | |
virtual CORBA::Boolean | IsDone () |
virtual void | SetErrorCode (const char *theErrorCode) |
virtual char * | GetErrorCode () |
virtual CORBA::Long | GetStudyID () |
virtual GEOM::GEOM_BaseObject_ptr | GetBaseObject (Handle(GEOM_BaseObject) theObject) |
virtual void | FinishOperation () |
virtual void | AbortOperation () |
::GEOM_IOperations * | GetImpl () |
virtual void | UpdateGUIForObject (GEOM::GEOM_Object_ptr theObj) |
IGESPlugin_IOperations_i::IGESPlugin_IOperations_i | ( | PortableServer::POA_ptr | thePOA, |
GEOM::GEOM_Gen_ptr | theEngine, | ||
IGESPlugin_IOperations * | theImpl | ||
) |
constructor:
IGESPlugin_IOperations_i::~IGESPlugin_IOperations_i | ( | ) |
destructor
void IGESPlugin_IOperations_i::ExportIGES | ( | GEOM::GEOM_Object_ptr | theOriginal, |
const char * | theFileName, | ||
const char * | theVersion | ||
) |
ExportIGES Export a shape to IGES format
theOriginal | The shape to export |
theFileName | The name of the exported file |
theVersion | The version of IGES format which defines, whether to write only faces (5.1 IGES format) or shells and solids also (5.3 IGES format). |
References IGESPlugin_IOperations::ExportIGES(), GetOperations(), Handle(), and GEOM_IOperations::SetNotDone().
IGESPlugin_IOperations * IGESPlugin_IOperations_i::GetOperations | ( | ) |
References GEOM_IOperations_i::GetImpl().
GEOM::ListOfGO * IGESPlugin_IOperations_i::ImportIGES | ( | const char * | theFileName, |
const bool | theIsIgnoreUnits = false |
||
) |
ImportIGES Import a shape from IGES format
theFileName | The name of the file to import |
theIsIgnoreUnits | If True, file length units will be ignored (set to 'meter') and result model will be scaled, if its units are not meters. If False (default), file length units will be taken into account. |
References GetOperations(), Handle(), GEOM_IOperations_i::IsDone(), and GEOM_IOperations::SetNotDone().
char * IGESPlugin_IOperations_i::ReadValue | ( | const char * | theFileName, |
const char * | theParameterName | ||
) |
ReadValue
References GetOperations(), IGESPlugin_IOperations::ReadValue(), and GEOM_IOperations::SetNotDone().