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

Defines parameters of the OBJ reader. More...

#include <cadex/OBJ_ReaderParameters.hxx>

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.
 
double & UnitCoef ()
 Returns parameters.
 
bool EnforceGrouping () const
 Specifies whether forced grouping should be enabled to reduce amount of created parts.
 
bool & EnforceGrouping ()
 Specifies whether forced grouping should be enabled to reduce amount of created parts.
 
- 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

- 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.
 

Detailed Description

Defines parameters of the OBJ reader.

Refer to Importer Parameters.

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

Examples
Unity/Assets/Scripts/ModelImporter.cs.

Member Function Documentation

◆ EnforceGrouping() [1/2]

bool & cadex::OBJ_ReaderParameters::EnforceGrouping ( )

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 ( ) const

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.