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

Defines parameters of the Rhino reader. More...

#include <cadex/Rhino_ReaderParameters.hxx>

Inheritance diagram for cadex::Rhino_ReaderParameters:
cadex::Base_ReaderParameters

Public Types

enum  MeshType { Default , Render , Analysis , Preview }
 Type of mesh to import.
 
- Public Types inherited from cadex::Base_ReaderParameters
typedef std::shared_ptr< internal::Base_ReaderParametersImpl > ImplPtrType
 Reserved for internal use.
 

Public Member Functions

 Rhino_ReaderParameters ()
 Constructor.
 
const ModelData_MaterialDefaultMaterial () const
 Returns the default material.
 
ModelData_MaterialDefaultMaterial ()
 Sets the default material.
 
MeshType ImportMeshType () const
 Returns the type of mesh to import.
 
MeshTypeImportMeshType ()
 Sets the type of mesh to import.
 
bool ImportHiddenObjects () const
 Returns the flag.
 
bool & ImportHiddenObjects ()
 Sets the flag.
 
bool ReadPCurves () const
 Specifies whether original parametric curves (curve on surface) should be read from the file.
 
bool & ReadPCurves ()
 Specifies whether original parametric curves (curve on surface) should be read from the file.
 
- 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 Rhino reader.

Refer to Importer Parameters.

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

Examples
Unity/Assets/Scripts/ModelImporter.cs.

Member Function Documentation

◆ ReadPCurves() [1/2]

bool & cadex::Rhino_ReaderParameters::ReadPCurves ( )

Specifies whether original parametric curves (curve on surface) should be read from the file.

By default is true.

◆ ReadPCurves() [2/2]

bool cadex::Rhino_ReaderParameters::ReadPCurves ( ) const

Specifies whether original parametric curves (curve on surface) should be read from the file.

By default is true.