#include <STEPPlugin_IOperations.hxx>

Public Types | |
| enum | LengthUnit { LengthUnit_Inch , LengthUnit_Millimeter , LengthUnit_Foot , LengthUnit_Mile , LengthUnit_Meter , LengthUnit_Kilometer , LengthUnit_Milliinch , LengthUnit_Micrometer , LengthUnit_Centimeter , LengthUnit_Microinch } |
| Units of length. More... | |
Public Member Functions | |
| STEPPlugin_IOperations (GEOM_Engine *) | |
| ~STEPPlugin_IOperations () | |
| void | ExportSTEP (const Handle(GEOM_Object), const TCollection_AsciiString &, const LengthUnit) |
| Handle (TColStd_HSequenceOfTransient) ImportSTEP(const TCollection_AsciiString & | |
| TCollection_AsciiString | ReadValue (const TCollection_AsciiString &, const TCollection_AsciiString &) |
Public Member Functions inherited from GEOMImpl_IBaseIEOperations | |
| Standard_EXPORT | GEOMImpl_IBaseIEOperations (GEOM_Engine *theEngine) |
| Standard_EXPORT | ~GEOMImpl_IBaseIEOperations () |
Public Member Functions inherited from GEOM_IOperations | |
| Standard_EXPORT | GEOM_IOperations (GEOM_Engine *theEngine) |
| Standard_EXPORT | ~GEOM_IOperations () |
| Standard_EXPORT void | StartOperation () |
| Standard_EXPORT void | FinishOperation () |
| Standard_EXPORT void | AbortOperation () |
| Standard_EXPORT bool | IsDone () |
| Standard_EXPORT void | SetNotDone () |
| Standard_EXPORT void | SetErrorCode (const TCollection_AsciiString &theErrorCode) |
| Standard_EXPORT char * | GetErrorCode () |
| Standard_EXPORT GEOM_Engine * | GetEngine () |
| Standard_EXPORT GEOM_Solver * | GetSolver () |
Public Attributes | |
| const | bool |
| const const | bool |
Additional Inherited Members | |
Protected Member Functions inherited from GEOMImpl_IBaseIEOperations | |
| Standard_EXPORT void | MakeMaterialGroups (const Handle(GEOM_Object) &theObject, const Handle(TColStd_HSequenceOfTransient) &theSeq) |
| Handle (GEOM_Object) MakeGroup(const Handle(GEOM_Object) &theObject | |
Protected Attributes inherited from GEOMImpl_IBaseIEOperations | |
| const TCollection_ExtendedString & | theName |
| const TCollection_ExtendedString const NCollection_List< TopoDS_Shape > & | theShapes |
| GEOMImpl_IGroupOperations * | myGroupOperations |
| GEOMImpl_IFieldOperations * | myFieldOperations |
| GEOMImpl_IShapesOperations * | myShapesOperations |
| STEPPlugin_IOperations::STEPPlugin_IOperations | ( | GEOM_Engine * | theEngine | ) |
Constructor
| STEPPlugin_IOperations::~STEPPlugin_IOperations | ( | ) |
Destructor
| void STEPPlugin_IOperations::ExportSTEP | ( | const | HandleGEOM_Object, |
| const TCollection_AsciiString & | , | ||
| const | LengthUnit | ||
| ) |
ExportSTEP Export a shape to STEP format
| theOriginal | The shape to export |
| theFileName | The name of the file to exported |
| theUnit | the length unit |
References EXPORT_SHAPE, GEOM_IMPORT, GEOM_IOperations::GetEngine(), GEOM_IOperations::GetSolver(), Handle(), KO, OK, GEOM_IOperations::SetErrorCode(), STEPPlugin_IExport::SetFileName(), STEPPlugin_IExport::SetOriginal(), and STEPPlugin_IExport::SetUnit().
| STEPPlugin_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) | const & |
| TCollection_AsciiString STEPPlugin_IOperations::ReadValue | ( | const TCollection_AsciiString & | theFileName, |
| const TCollection_AsciiString & | theParameterName | ||
| ) |
ReadValue
References KO, OK, and GEOM_IOperations::SetErrorCode().
| const STEPPlugin_IOperations::bool |
| const const STEPPlugin_IOperations::bool |