Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
STLPlugin_IOperations Class Reference

#include <STLPlugin_IOperations.hxx>

Inheritance diagram for STLPlugin_IOperations:
Inheritance graph

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_EngineGetEngine ()
 
Standard_EXPORT GEOM_SolverGetSolver ()
 
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_IGroupOperationsmyGroupOperations
 
GEOMImpl_IFieldOperationsmyFieldOperations
 
GEOMImpl_IShapesOperationsmyShapesOperations
 

Constructor & Destructor Documentation

STLPlugin_IOperations::STLPlugin_IOperations ( GEOM_Engine theEngine,
int  theDocID 
)

Constructor

STLPlugin_IOperations::~STLPlugin_IOperations ( )

Destructor

Member Function Documentation

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::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

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