CAD Input reader Parameters when importing CAD file type. More...
#include <Inventor/io/CAD/SoCADInputReaderParameters.h>
Classes | |
struct | ImportOption |
Specify how the scene graph resulting from the import should be generated. More... | |
struct | TessellationOption |
Parameters used to tessellate the model during import. More... | |
Public Types | |
enum | Quality { LOW , MEDIUM , HIGH } |
Public Member Functions | |
SoCADInputReaderParameters () | |
Constructor. | |
virtual | ~SoCADInputReaderParameters () |
Destructor. | |
void | setTessellationOption (Quality quality=MEDIUM) |
Specify predefined tessellation options. | |
void | setTessellationOption (const TessellationOption &option) |
Specify tessellation options. | |
const TessellationOption & | getTessellationOption () const |
Return current tessellation options. | |
void | setImportOption (const ImportOption &option) |
Specify import options. | |
const ImportOption & | getImportOption () const |
Return current import options. | |
Public Member Functions inherited from SoInputParameters | |
SoInputParameters () | |
virtual | ~SoInputParameters () |
CAD Input reader Parameters when importing CAD file type.
This class provides tessellation and import options for the CADReader module. It is used with the SoInput::setInputParameters() method.
SoCADInputReader, SoCADFileFormat
Definition at line 49 of file SoCADInputReaderParameters.h.
Definition at line 113 of file SoCADInputReaderParameters.h.
SoCADInputReaderParameters::SoCADInputReaderParameters | ( | ) |
Constructor.
|
virtual |
Destructor.
const ImportOption & SoCADInputReaderParameters::getImportOption | ( | ) | const |
Return current import options.
const TessellationOption & SoCADInputReaderParameters::getTessellationOption | ( | ) | const |
Return current tessellation options.
void SoCADInputReaderParameters::setImportOption | ( | const ImportOption & | option | ) |
Specify import options.
void SoCADInputReaderParameters::setTessellationOption | ( | const TessellationOption & | option | ) |
Specify tessellation options.
Specify predefined tessellation options.
Advanced users can use the TessellationOption struct to have more control.