#include <STEPPlugin_IOperations_i.hh>
Public Member Functions | |
STEPPlugin_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, STEPPlugin_IOperations *theImpl) | |
~STEPPlugin_IOperations_i () | |
void | ExportSTEP (GEOM::GEOM_Object_ptr, const char *, GEOM::length_unit) |
GEOM::ListOfGO * | ImportSTEP (const char *, const bool, const bool) |
char * | ReadValue (const char *, const char *) |
STEPPlugin_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) |
STEPPlugin_IOperations_i::STEPPlugin_IOperations_i | ( | PortableServer::POA_ptr | thePOA, |
GEOM::GEOM_Gen_ptr | theEngine, | ||
STEPPlugin_IOperations * | theImpl | ||
) |
constructor:
STEPPlugin_IOperations_i::~STEPPlugin_IOperations_i | ( | ) |
destructor
void STEPPlugin_IOperations_i::ExportSTEP | ( | GEOM::GEOM_Object_ptr | theOriginal, |
const char * | theFileName, | ||
GEOM::length_unit | theUnit | ||
) |
ExportSTEP Export a shape to STEP format
theOriginal | The shape to export |
theFileName | The name of the exported file |
theUnit | the length unit. |
References STEPPlugin_IOperations::ExportSTEP(), GetOperations(), Handle(), STEPPlugin_IOperations::LengthUnit_Centimeter, STEPPlugin_IOperations::LengthUnit_Foot, STEPPlugin_IOperations::LengthUnit_Inch, STEPPlugin_IOperations::LengthUnit_Kilometer, STEPPlugin_IOperations::LengthUnit_Meter, STEPPlugin_IOperations::LengthUnit_Microinch, STEPPlugin_IOperations::LengthUnit_Micrometer, STEPPlugin_IOperations::LengthUnit_Mile, STEPPlugin_IOperations::LengthUnit_Milliinch, STEPPlugin_IOperations::LengthUnit_Millimeter, GEOM::LU_CENTIMETER, GEOM::LU_FOOT, GEOM::LU_INCH, GEOM::LU_KILOMETER, GEOM::LU_METER, GEOM::LU_MICROINCH, GEOM::LU_MICROMETER, GEOM::LU_MILE, GEOM::LU_MILLIINCH, GEOM::LU_MILLIMETER, and GEOM_IOperations::SetNotDone().
STEPPlugin_IOperations * STEPPlugin_IOperations_i::GetOperations | ( | ) |
References GEOM_IOperations_i::GetImpl().
GEOM::ListOfGO * STEPPlugin_IOperations_i::ImportSTEP | ( | const char * | theFileName, |
const bool | theIsIgnoreUnits, | ||
const bool | IsCreateAssemblies | ||
) |
ImportSTEP Import a shape from STEP 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. |
IsCreateAssemblies | If True, for each assembly compound is created in the result. If False Compounds that contain a single shape are eliminated from the result. |
References Handle().
char * STEPPlugin_IOperations_i::ReadValue | ( | const char * | theFileName, |
const char * | theParameterName | ||
) |
ReadValue
References GetOperations(), STEPPlugin_IOperations::ReadValue(), and GEOM_IOperations::SetNotDone().