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

#include <STEPPlugin_IOperations.hxx>

Inheritance diagram for STEPPlugin_IOperations:
Inheritance graph

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 *, int)
 
 ~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, 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 ()
 

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

Member Enumeration Documentation

Enumerator
LengthUnit_Inch 
LengthUnit_Millimeter 
LengthUnit_Foot 
LengthUnit_Mile 
LengthUnit_Meter 
LengthUnit_Kilometer 
LengthUnit_Milliinch 
LengthUnit_Micrometer 
LengthUnit_Centimeter 
LengthUnit_Microinch 

Constructor & Destructor Documentation

STEPPlugin_IOperations::STEPPlugin_IOperations ( GEOM_Engine theEngine,
int  theDocID 
)

Constructor

STEPPlugin_IOperations::~STEPPlugin_IOperations ( )

Destructor

Member Function Documentation

void STEPPlugin_IOperations::ExportSTEP ( const   HandleGEOM_Object,
const TCollection_AsciiString &  ,
const LengthUnit   
)

ExportSTEP Export a shape to STEP format

Parameters
theOriginalThe shape to export
theFileNameThe name of the file to exported
theUnitthe length unit

References EXPORT_SHAPE, GEOM_IMPORT, STEPPlugin_ExportDriver::GetID(), Handle(), KO, OK, 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 
)

Member Data Documentation

const STEPPlugin_IOperations::bool
const const STEPPlugin_IOperations::bool

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