CAD Exchanger SDK
cadex::OBJ_ReaderParameters Class Reference

Defines parameters of the OBJ reader. More...

Inheritance diagram for cadex::OBJ_ReaderParameters:
cadex::Base_ReaderParameters

Public Member Functions

 OBJ_ReaderParameters ()
 Constructor.
 
double UnitCoef () const
 Returns a scale factor of measurement units of the input file. More...
 
double & UnitCoef ()
 Returns parameters.
 
bool EnforceGrouping () const
 Specifies whether forced grouping should be enabled to reduce amount of created parts. More...
 
bool & EnforceGrouping ()
 Specifies whether forced grouping should be enabled to reduce amount of created parts. More...
 
- 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. More...
 
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. More...
 
void SetLengthUnit (Base_LengthUnit LengthUnit)
 Sets a unit in which to treat geometric data in file. More...
 
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

- Public Types inherited from cadex::Base_ReaderParameters
typedef std::shared_ptr< internal::Base_ReaderParametersImpl > ImplPtrType
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::Base_ReaderParameters
 Base_ReaderParameters (internal::Base_ReaderParametersImpl *theImpl)
 Constructor. More...
 

Detailed Description

Defines parameters of the OBJ reader.

Refer to Importer Parameters.

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

Member Function Documentation

◆ EnforceGrouping() [1/2]

bool cadex::OBJ_ReaderParameters::EnforceGrouping ( ) const

Specifies whether forced grouping should be enabled to reduce amount of created parts.

By default is false.

◆ EnforceGrouping() [2/2]

bool & cadex::OBJ_ReaderParameters::EnforceGrouping ( )

Specifies whether forced grouping should be enabled to reduce amount of created parts.

By default is false.

◆ UnitCoef()

double cadex::OBJ_ReaderParameters::UnitCoef ( ) const

Returns a scale factor of measurement units of the input file.

By default the value is 1., i.e. coordinates are interpreted in millimeters.