Version: 9.12.0
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 *)
 
 ~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)
 
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 ()
 

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

◆ LengthUnit

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::STEPPlugin_IOperations ( GEOM_Engine theEngine)

Constructor

◆ ~STEPPlugin_IOperations()

STEPPlugin_IOperations::~STEPPlugin_IOperations ( )

Destructor

Member Function Documentation

◆ ExportSTEP()

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, GEOM_IOperations::GetEngine(), GEOM_IOperations::GetSolver(), Handle(), KO, OK, GEOM_IOperations::SetErrorCode(), STEPPlugin_IExport::SetFileName(), STEPPlugin_IExport::SetOriginal(), and STEPPlugin_IExport::SetUnit().

◆ Handle()

STEPPlugin_IOperations::Handle ( TColStd_HSequenceOfTransient  ) const &

◆ ReadValue()

TCollection_AsciiString STEPPlugin_IOperations::ReadValue ( const TCollection_AsciiString &  theFileName,
const TCollection_AsciiString &  theParameterName 
)

ReadValue

References KO, OK, and GEOM_IOperations::SetErrorCode().

Member Data Documentation

◆ bool [1/2]

const STEPPlugin_IOperations::bool

◆ bool [2/2]

const const STEPPlugin_IOperations::bool

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