Version: 9.12.0
STLPlugin_IOperations Class Reference

#include <STLPlugin_IOperations.hxx>

Inheritance diagram for STLPlugin_IOperations:
Inheritance graph

Public Member Functions

 STLPlugin_IOperations (GEOM_Engine *)
 
 ~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)
 
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_EngineGetEngine ()
 
Standard_EXPORT GEOM_SolverGetSolver ()
 

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_IGroupOperationsmyGroupOperations
 
GEOMImpl_IFieldOperationsmyFieldOperations
 
GEOMImpl_IShapesOperationsmyShapesOperations
 

Constructor & Destructor Documentation

◆ STLPlugin_IOperations()

STLPlugin_IOperations::STLPlugin_IOperations ( GEOM_Engine theEngine)

Constructor

◆ ~STLPlugin_IOperations()

STLPlugin_IOperations::~STLPlugin_IOperations ( )

Destructor

Member Function Documentation

◆ ExportSTL()

void STLPlugin_IOperations::ExportSTL ( const   HandleGEOM_Object,
const TCollection_AsciiString &  ,
const bool  ,
const double  ,
const bool   
)

ExportSTL Export a shape to STL format

Parameters
theOriginalThe shape to export
theFileNameThe name of the file to exported
theIsASCIIThe format of the exported file (ASCII or Binary)
theDeflectionThe deflection of the shape to exported
theIsRelativeThe 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::GetEngine(), 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().

◆ Handle()

STLPlugin_IOperations::Handle ( TColStd_HSequenceOfTransient  ) const &

The documentation for this class was generated from the following files: