Hide menu
Loading...
Searching...
No Matches
cadex::IGES_ReaderParameters Class Reference

Defines parameters of the IGES reader. More...

#include <cadex/IGES_ReaderParameters.hxx>

Inheritance diagram for cadex::IGES_ReaderParameters:
cadex::Base_ReaderParameters

Public Types

enum  VersionType { V2 = 2 }
 Specifies version of IGES reader. More...
 
enum  SurfaceCurveModeType { Auto , Use2d , Use3d }
 Specifies preference mode for reading surface curves. More...
 
- Public Types inherited from cadex::Base_ReaderParameters
typedef std::shared_ptr< internal::Base_ReaderParametersImpl > ImplPtrType
 Reserved for internal use.
 

Public Member Functions

 IGES_ReaderParameters ()
 Constructor.
 
bool SkipBlank () const
 Returns the flag whether the blank entities must be skipped during import.
 
bool & SkipBlank ()
 Returns the flag whether the blank entities must be skipped during import.
 
VersionType Version () const
 Returns version.
 
VersionTypeVersion ()
 Sets version.
 
SurfaceCurveModeType SurfaceCurveMode () const
 Returns a surface curve mode value.
 
SurfaceCurveModeTypeSurfaceCurveMode ()
 Returns a modifiable surface curve mode value.
 
- Public Member Functions inherited from cadex::Base_ReaderParameters
bool DelayedConversion () const
 Specifies whether the import should fully complete conversion or defer it This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & DelayedConversion ()
 Specifies whether the reader should defer conversion whenever possible or complete it.
 
bool ReadPMI () const
 Specifies whether Product and Manufacturing Information (PMI) should be read from the file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & ReadPMI ()
 Specifies whether Product and Manufacturing Information (PMI) should be read from the file.
 
bool SaveExternalReferencePaths () const
 Specifies whether source file path of SGE elements should be stored in its property tables. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & SaveExternalReferencePaths ()
 Specifies whether source file path of SGE elements should be stored in its property tables.
 
void SetLengthUnit (Base_LengthUnit LengthUnit)
 Sets a unit in which to treat geometric data in file.
 
bool ReadDrawing () const
 Specifies whether a drawing should be read from the file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & ReadDrawing ()
 Specifies whether a drawing should be read from the file.
 
internal::Base_ReaderParametersImpl * Impl () const
 Returns internal implementation object.
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
const ImplPtrTypeSharedImpl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_ReaderParameters
 Base_ReaderParameters (internal::Base_ReaderParametersImpl *theImpl)
 Constructor.
 

Detailed Description

Defines parameters of the IGES reader.

Refer to Importer Parameters.

Parameters can be set using IGES_Reader::Parameters().

Examples
Unity/Assets/Scripts/ModelImporter.cs.

Member Enumeration Documentation

◆ SurfaceCurveModeType

Specifies preference mode for reading surface curves.

Reserved for future use.

Surface curves are the curves used to trim the surfaces. These include Curve On Surface (IGES type 142) and Boundary (IGES type 141). Surface curves may contain either 3D representation (in model space) or 2D representation (in surface parameter space) or both. The enumeration values define which of these should be preferred.

Enumerator
Auto 

The choice between curve representation is made automatically depennding on various factors (consistency of the representations, preference flag in the IGES file, etc).

Use2d 

2D representation will be used if available in the file.

Use3d 

3D representation will be used if available in the file.

◆ VersionType

Specifies version of IGES reader.

Deprecated:
Deprecated:

Kept for preserving binary compatibility.

Member Function Documentation

◆ Version() [1/2]

IGES_ReaderParameters::VersionType & cadex::IGES_ReaderParameters::Version ( )

Sets version.

Deprecated:

Kept for preserving binary compatibility. Has no effect.

◆ Version() [2/2]

IGES_ReaderParameters::VersionType cadex::IGES_ReaderParameters::Version ( ) const

Returns version.

Deprecated:

Kept for preserving binary compatibility. Has no effect.