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

#include <STLPlugin_IOperations_i.hh>

Inheritance diagram for STLPlugin_IOperations_i:
Inheritance graph

Public Member Functions

 STLPlugin_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, STLPlugin_IOperations *theImpl)
 
 ~STLPlugin_IOperations_i ()
 
void ExportSTL (GEOM::GEOM_Object_ptr, const char *, const bool, const double, const bool)
 
GEOM::ListOfGOImportSTL (const char *)
 
STLPlugin_IOperationsGetOperations ()
 
- 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_IOperationsGetImpl ()
 
virtual void UpdateGUIForObject (GEOM::GEOM_Object_ptr theObj)
 

Constructor & Destructor Documentation

STLPlugin_IOperations_i::STLPlugin_IOperations_i ( PortableServer::POA_ptr  thePOA,
GEOM::GEOM_Gen_ptr  theEngine,
STLPlugin_IOperations theImpl 
)

constructor:

STLPlugin_IOperations_i::~STLPlugin_IOperations_i ( )

destructor

Member Function Documentation

void STLPlugin_IOperations_i::ExportSTL ( GEOM::GEOM_Object_ptr  theOriginal,
const char *  theFileName,
const bool  theIsASCII,
const double  theDeflection,
const bool  theIsRelative 
)

ExportSTL Export a shape to STL format

Parameters
theOriginalThe shape to export
theIsASCIIThe format of the exported file (ASCII or Binary)
theFileNameThe name of the exported file
theDeflectionThe deflection of the exported shape

References STLPlugin_IOperations::ExportSTL(), GetOperations(), Handle(), and GEOM_IOperations::SetNotDone().

STLPlugin_IOperations * STLPlugin_IOperations_i::GetOperations ( )
GEOM::ListOfGO * STLPlugin_IOperations_i::ImportSTL ( const char *  theFileName)

ImportSTL Import a shape from STL format

Parameters
theFileNameThe name of the file to import
Returns
List of GEOM_Objects, containing the created shape and propagation groups.

References GetOperations(), Handle(), GEOM_IOperations_i::IsDone(), and GEOM_IOperations::SetNotDone().


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