#include <STLPlugin_IOperations.hxx>
Public Member Functions | |
STLPlugin_IOperations (GEOM_Engine *, int) | |
~STLPlugin_IOperations () | |
void | ExportSTL (const Handle(GEOM_Object), const TCollection_AsciiString &, const bool, const double, const bool) |
Handle (TColStd_HSequenceOfTransient) ImportSTL(const TCollection_AsciiString &) | |
Public Member Functions inherited from GEOMImpl_IBaseIEOperations | |
Standard_EXPORT | GEOMImpl_IBaseIEOperations (GEOM_Engine *theEngine, int theDocID) |
Standard_EXPORT | ~GEOMImpl_IBaseIEOperations () |
Public Member Functions inherited from GEOM_IOperations | |
Standard_EXPORT | GEOM_IOperations (GEOM_Engine *theEngine, int theDocID) |
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 () |
Standard_EXPORT int | GetDocID () |
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 |
STLPlugin_IOperations::STLPlugin_IOperations | ( | GEOM_Engine * | theEngine, |
int | theDocID | ||
) |
Constructor
STLPlugin_IOperations::~STLPlugin_IOperations | ( | ) |
Destructor
void STLPlugin_IOperations::ExportSTL | ( | const | HandleGEOM_Object, |
const TCollection_AsciiString & | , | ||
const bool | , | ||
const double | , | ||
const bool | |||
) |
ExportSTL Export a shape to STL format
theOriginal | The shape to export |
theFileName | The name of the file to exported |
theIsASCII | The format of the exported file (ASCII or Binary) |
theDeflection | The deflection of the shape to exported |
theIsRelative | The mode for writing the file. If True (default value), the deflection is calculated relatively to the size of the shape; if False, the user defined deflection is used. |
References EXPORT_SHAPE, GEOM_IMPORT, GEOM_IOperations::GetDocID(), GEOM_IOperations::GetEngine(), STLPlugin_ExportDriver::GetID(), GEOM_IOperations::GetSolver(), Handle(), KO, OK, STLPlugin_IExport::SetDeflection(), GEOM_IOperations::SetErrorCode(), STLPlugin_IExport::SetFileName(), STLPlugin_IExport::SetIsASCII(), STLPlugin_IExport::SetIsRelative(), and STLPlugin_IExport::SetOriginal().
STLPlugin_IOperations::Handle | ( | TColStd_HSequenceOfTransient | ) | const |