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 () | |
virtual | ~SoCADInputReaderParameters () |
void | setTessellationOption (Quality quality=MEDIUM) |
void | setTessellationOption (const TessellationOption &option) |
const TessellationOption & | getTessellationOption () const |
void | setImportOption (const ImportOption &option) |
const ImportOption & | getImportOption () const |
This class provides tessellation and import options for the CADReader module. It is used with the SoInput::setInputParameters() method.
SoCADInputReader, SoCADFileFormat
SoCADInputReaderParameters::SoCADInputReaderParameters | ( | ) |
Constructor.
virtual SoCADInputReaderParameters::~SoCADInputReaderParameters | ( | ) | [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.
void SoCADInputReaderParameters::setTessellationOption | ( | Quality | quality = MEDIUM |
) |
Specify predefined tessellation options.
Advanced users can use the TessellationOption struct to have more control.