Open CASCADE Technology 7.8.0
Public Types | Public Member Functions | Data Fields
StepData_ConfParameters Class Reference

#include <StepData_ConfParameters.hxx>

Public Types

enum  ReadMode_BSplineContinuity { ReadMode_BSplineContinuity_C0 = 0 , ReadMode_BSplineContinuity_C1 , ReadMode_BSplineContinuity_C2 }
 
enum  ReadMode_Precision { ReadMode_Precision_File = 0 , ReadMode_Precision_User }
 
enum  ReadMode_MaxPrecision { ReadMode_MaxPrecision_Preferred = 0 , ReadMode_MaxPrecision_Forced }
 
enum  ReadMode_SurfaceCurve {
  ReadMode_SurfaceCurve_Default = 0 , ReadMode_SurfaceCurve_2DUse_Preferred = 2 , ReadMode_SurfaceCurve_2DUse_Forced = -2 , ReadMode_SurfaceCurve_3DUse_Preferred = 3 ,
  ReadMode_SurfaceCurve_3DUse_Forced = -3
}
 
enum  AngleUnitMode { AngleUnitMode_File = 0 , AngleUnitMode_Rad , AngleUnitMode_Deg }
 
enum  ReadMode_ProductContext { ReadMode_ProductContext_All = 1 , ReadMode_ProductContext_Design , ReadMode_ProductContext_Analysis }
 
enum  ReadMode_ShapeRepr {
  ReadMode_ShapeRepr_All = 1 , ReadMode_ShapeRepr_ABSR , ReadMode_ShapeRepr_MSSR , ReadMode_ShapeRepr_GBSSR ,
  ReadMode_ShapeRepr_FBSR , ReadMode_ShapeRepr_EBWSR , ReadMode_ShapeRepr_GBWSR
}
 
enum  ReadMode_AssemblyLevel { ReadMode_AssemblyLevel_All = 1 , ReadMode_AssemblyLevel_Assembly , ReadMode_AssemblyLevel_Structure , ReadMode_AssemblyLevel_Shape }
 
enum  RWMode_Tessellated { RWMode_Tessellated_Off = 0 , RWMode_Tessellated_On , RWMode_Tessellated_OnNoBRep }
 
enum  WriteMode_PrecisionMode { WriteMode_PrecisionMode_Least = -1 , WriteMode_PrecisionMode_Average = 0 , WriteMode_PrecisionMode_Greatest = 1 , WriteMode_PrecisionMode_Session = 2 }
 
enum  WriteMode_Assembly { WriteMode_Assembly_Off = 0 , WriteMode_Assembly_On , WriteMode_Assembly_Auto }
 
enum  WriteMode_StepSchema {
  WriteMode_StepSchema_AP214CD = 1 , WriteMode_StepSchema_AP214DIS , WriteMode_StepSchema_AP203 , WriteMode_StepSchema_AP214IS ,
  WriteMode_StepSchema_AP242DIS
}
 
enum  WriteMode_VertexMode { WriteMode_VertexMode_OneCompound = 0 , WriteMode_VertexMode_SingleVertex }
 

Public Member Functions

 StepData_ConfParameters ()
 
void InitFromStatic ()
 Initialize parameters.
 
void Reset ()
 Reset used parameters.
 
TCollection_AsciiString GetString (const ReadMode_ProductContext theMode)
 

Data Fields

ReadMode_BSplineContinuity ReadBSplineContinuity = ReadMode_BSplineContinuity_C1
 
ReadMode_Precision ReadPrecisionMode = ReadMode_Precision_File
 
double ReadPrecisionVal = 0.0001
 
ReadMode_MaxPrecision ReadMaxPrecisionMode = ReadMode_MaxPrecision_Preferred
 
double ReadMaxPrecisionVal = 1
 
bool ReadSameParamMode = false
 
ReadMode_SurfaceCurve ReadSurfaceCurveMode = ReadMode_SurfaceCurve_Default
 
double EncodeRegAngle = 0.57295779513
 
AngleUnitMode AngleUnit = AngleUnitMode_File
 
TCollection_AsciiString ReadResourceName = "STEP"
 
TCollection_AsciiString ReadSequence = "FromSTEP"
 
bool ReadProductMode = true
 
ReadMode_ProductContext ReadProductContext = ReadMode_ProductContext_All
 
ReadMode_ShapeRepr ReadShapeRepr = ReadMode_ShapeRepr_All
 
RWMode_Tessellated ReadTessellated = RWMode_Tessellated_On
 Defines whether tessellated shapes should be translated.
 
ReadMode_AssemblyLevel ReadAssemblyLevel = ReadMode_AssemblyLevel_All
 
bool ReadRelationship = true
 
bool ReadShapeAspect = true
 
bool ReadConstrRelation = false
 
bool ReadSubshapeNames = false
 
Resource_FormatType ReadCodePage = Resource_FormatType_UTF8
 
bool ReadNonmanifold = false
 
bool ReadIdeas = false
 
bool ReadAllShapes = false
 
bool ReadRootTransformation = true
 !/ Mode to variate apply or not transformation placed in the root shape representation
 
bool ReadColor = true
 
bool ReadName = true
 
bool ReadLayer = true
 
bool ReadProps = true
 
WriteMode_PrecisionMode WritePrecisionMode = WriteMode_PrecisionMode_Average
 
double WritePrecisionVal = 0.0001
 
WriteMode_Assembly WriteAssembly = WriteMode_Assembly_Off
 
WriteMode_StepSchema WriteSchema = WriteMode_StepSchema_AP214CD
 
RWMode_Tessellated WriteTessellated = RWMode_Tessellated_OnNoBRep
 Defines whether tessellated shapes should be translated.
 
TCollection_AsciiString WriteProductName
 
bool WriteSurfaceCurMode = true
 
UnitsMethods_LengthUnit WriteUnit = UnitsMethods_LengthUnit_Millimeter
 
TCollection_AsciiString WriteResourceName = "STEP"
 
TCollection_AsciiString WriteSequence = "ToSTEP"
 
WriteMode_VertexMode WriteVertexMode = WriteMode_VertexMode_OneCompound
 
bool WriteSubshapeNames = false
 
bool WriteColor = true
 
bool WriteNonmanifold = false
 
bool WriteName = true
 
bool WriteLayer = true
 
bool WriteProps = true
 
STEPControl_StepModelType WriteModelType = STEPControl_AsIs
 

Member Enumeration Documentation

◆ AngleUnitMode

Enumerator
AngleUnitMode_File 
AngleUnitMode_Rad 
AngleUnitMode_Deg 

◆ ReadMode_AssemblyLevel

Enumerator
ReadMode_AssemblyLevel_All 
ReadMode_AssemblyLevel_Assembly 
ReadMode_AssemblyLevel_Structure 
ReadMode_AssemblyLevel_Shape 

◆ ReadMode_BSplineContinuity

Enumerator
ReadMode_BSplineContinuity_C0 
ReadMode_BSplineContinuity_C1 
ReadMode_BSplineContinuity_C2 

◆ ReadMode_MaxPrecision

Enumerator
ReadMode_MaxPrecision_Preferred 
ReadMode_MaxPrecision_Forced 

◆ ReadMode_Precision

Enumerator
ReadMode_Precision_File 
ReadMode_Precision_User 

◆ ReadMode_ProductContext

Enumerator
ReadMode_ProductContext_All 
ReadMode_ProductContext_Design 
ReadMode_ProductContext_Analysis 

◆ ReadMode_ShapeRepr

Enumerator
ReadMode_ShapeRepr_All 
ReadMode_ShapeRepr_ABSR 
ReadMode_ShapeRepr_MSSR 
ReadMode_ShapeRepr_GBSSR 
ReadMode_ShapeRepr_FBSR 
ReadMode_ShapeRepr_EBWSR 
ReadMode_ShapeRepr_GBWSR 

◆ ReadMode_SurfaceCurve

Enumerator
ReadMode_SurfaceCurve_Default 
ReadMode_SurfaceCurve_2DUse_Preferred 
ReadMode_SurfaceCurve_2DUse_Forced 
ReadMode_SurfaceCurve_3DUse_Preferred 
ReadMode_SurfaceCurve_3DUse_Forced 

◆ RWMode_Tessellated

Enumerator
RWMode_Tessellated_Off 
RWMode_Tessellated_On 
RWMode_Tessellated_OnNoBRep 

◆ WriteMode_Assembly

Enumerator
WriteMode_Assembly_Off 
WriteMode_Assembly_On 
WriteMode_Assembly_Auto 

◆ WriteMode_PrecisionMode

Enumerator
WriteMode_PrecisionMode_Least 
WriteMode_PrecisionMode_Average 
WriteMode_PrecisionMode_Greatest 
WriteMode_PrecisionMode_Session 

◆ WriteMode_StepSchema

Enumerator
WriteMode_StepSchema_AP214CD 
WriteMode_StepSchema_AP214DIS 
WriteMode_StepSchema_AP203 
WriteMode_StepSchema_AP214IS 
WriteMode_StepSchema_AP242DIS 

◆ WriteMode_VertexMode

Enumerator
WriteMode_VertexMode_OneCompound 
WriteMode_VertexMode_SingleVertex 

Constructor & Destructor Documentation

◆ StepData_ConfParameters()

StepData_ConfParameters::StepData_ConfParameters ( )

Member Function Documentation

◆ GetString()

TCollection_AsciiString StepData_ConfParameters::GetString ( const ReadMode_ProductContext  theMode)
inline

◆ InitFromStatic()

void StepData_ConfParameters::InitFromStatic ( )

Initialize parameters.

◆ Reset()

void StepData_ConfParameters::Reset ( )

Reset used parameters.

Field Documentation

◆ AngleUnit

AngleUnitMode StepData_ConfParameters::AngleUnit = AngleUnitMode_File

◆ EncodeRegAngle

double StepData_ConfParameters::EncodeRegAngle = 0.57295779513

◆ ReadAllShapes

bool StepData_ConfParameters::ReadAllShapes = false

◆ ReadAssemblyLevel

ReadMode_AssemblyLevel StepData_ConfParameters::ReadAssemblyLevel = ReadMode_AssemblyLevel_All

◆ ReadBSplineContinuity

ReadMode_BSplineContinuity StepData_ConfParameters::ReadBSplineContinuity = ReadMode_BSplineContinuity_C1

◆ ReadCodePage

Resource_FormatType StepData_ConfParameters::ReadCodePage = Resource_FormatType_UTF8

◆ ReadColor

bool StepData_ConfParameters::ReadColor = true

◆ ReadConstrRelation

bool StepData_ConfParameters::ReadConstrRelation = false

◆ ReadIdeas

bool StepData_ConfParameters::ReadIdeas = false

◆ ReadLayer

bool StepData_ConfParameters::ReadLayer = true

◆ ReadMaxPrecisionMode

ReadMode_MaxPrecision StepData_ConfParameters::ReadMaxPrecisionMode = ReadMode_MaxPrecision_Preferred

◆ ReadMaxPrecisionVal

double StepData_ConfParameters::ReadMaxPrecisionVal = 1

◆ ReadName

bool StepData_ConfParameters::ReadName = true

◆ ReadNonmanifold

bool StepData_ConfParameters::ReadNonmanifold = false

◆ ReadPrecisionMode

ReadMode_Precision StepData_ConfParameters::ReadPrecisionMode = ReadMode_Precision_File

◆ ReadPrecisionVal

double StepData_ConfParameters::ReadPrecisionVal = 0.0001

◆ ReadProductContext

ReadMode_ProductContext StepData_ConfParameters::ReadProductContext = ReadMode_ProductContext_All

◆ ReadProductMode

bool StepData_ConfParameters::ReadProductMode = true

◆ ReadProps

bool StepData_ConfParameters::ReadProps = true

◆ ReadRelationship

bool StepData_ConfParameters::ReadRelationship = true

◆ ReadResourceName

TCollection_AsciiString StepData_ConfParameters::ReadResourceName = "STEP"

◆ ReadRootTransformation

bool StepData_ConfParameters::ReadRootTransformation = true

!/ Mode to variate apply or not transformation placed in the root shape representation

◆ ReadSameParamMode

bool StepData_ConfParameters::ReadSameParamMode = false

◆ ReadSequence

TCollection_AsciiString StepData_ConfParameters::ReadSequence = "FromSTEP"

◆ ReadShapeAspect

bool StepData_ConfParameters::ReadShapeAspect = true

◆ ReadShapeRepr

ReadMode_ShapeRepr StepData_ConfParameters::ReadShapeRepr = ReadMode_ShapeRepr_All

◆ ReadSubshapeNames

bool StepData_ConfParameters::ReadSubshapeNames = false

◆ ReadSurfaceCurveMode

ReadMode_SurfaceCurve StepData_ConfParameters::ReadSurfaceCurveMode = ReadMode_SurfaceCurve_Default

◆ ReadTessellated

RWMode_Tessellated StepData_ConfParameters::ReadTessellated = RWMode_Tessellated_On

Defines whether tessellated shapes should be translated.

◆ WriteAssembly

WriteMode_Assembly StepData_ConfParameters::WriteAssembly = WriteMode_Assembly_Off

◆ WriteColor

bool StepData_ConfParameters::WriteColor = true

◆ WriteLayer

bool StepData_ConfParameters::WriteLayer = true

◆ WriteModelType

STEPControl_StepModelType StepData_ConfParameters::WriteModelType = STEPControl_AsIs

◆ WriteName

bool StepData_ConfParameters::WriteName = true

◆ WriteNonmanifold

bool StepData_ConfParameters::WriteNonmanifold = false

◆ WritePrecisionMode

WriteMode_PrecisionMode StepData_ConfParameters::WritePrecisionMode = WriteMode_PrecisionMode_Average

◆ WritePrecisionVal

double StepData_ConfParameters::WritePrecisionVal = 0.0001

◆ WriteProductName

TCollection_AsciiString StepData_ConfParameters::WriteProductName

◆ WriteProps

bool StepData_ConfParameters::WriteProps = true

◆ WriteResourceName

TCollection_AsciiString StepData_ConfParameters::WriteResourceName = "STEP"

◆ WriteSchema

WriteMode_StepSchema StepData_ConfParameters::WriteSchema = WriteMode_StepSchema_AP214CD

◆ WriteSequence

TCollection_AsciiString StepData_ConfParameters::WriteSequence = "ToSTEP"

◆ WriteSubshapeNames

bool StepData_ConfParameters::WriteSubshapeNames = false

◆ WriteSurfaceCurMode

bool StepData_ConfParameters::WriteSurfaceCurMode = true

◆ WriteTessellated

RWMode_Tessellated StepData_ConfParameters::WriteTessellated = RWMode_Tessellated_OnNoBRep

Defines whether tessellated shapes should be translated.

◆ WriteUnit

UnitsMethods_LengthUnit StepData_ConfParameters::WriteUnit = UnitsMethods_LengthUnit_Millimeter

◆ WriteVertexMode

WriteMode_VertexMode StepData_ConfParameters::WriteVertexMode = WriteMode_VertexMode_OneCompound

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