Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoCADInputReaderParameters Class Reference

VSG extension CAD Input reader Parameters when importing CAD file type. More...

#include <Inventor/io/CAD/SoCADInputReaderParameters.h>

+ Inheritance diagram for SoCADInputReaderParameters:

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 TessellationOptiongetTessellationOption () const
 Return current tessellation options.
 
void setImportOption (const ImportOption &option)
 Specify import options.
 
const ImportOptiongetImportOption () const
 Return current import options.
 
- Public Member Functions inherited from SoInputParameters
 SoInputParameters ()
 
virtual ~SoInputParameters ()
 

Detailed Description

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

SEE ALSO

SoCADInputReader, SoCADFileFormat

Definition at line 49 of file SoCADInputReaderParameters.h.

Member Enumeration Documentation

◆ Quality

Enumerator
LOW 

Low quality / less time and memory consumption.

MEDIUM 

Medium quality / reasonnable quality, time and memory consumption in most case.

HIGH 

High Quality / more time and memory consumption.

Definition at line 113 of file SoCADInputReaderParameters.h.

Constructor & Destructor Documentation

◆ SoCADInputReaderParameters()

SoCADInputReaderParameters::SoCADInputReaderParameters ( )

Constructor.

◆ ~SoCADInputReaderParameters()

virtual SoCADInputReaderParameters::~SoCADInputReaderParameters ( )
virtual

Destructor.

Member Function Documentation

◆ getImportOption()

const ImportOption & SoCADInputReaderParameters::getImportOption ( ) const

Return current import options.

◆ getTessellationOption()

const TessellationOption & SoCADInputReaderParameters::getTessellationOption ( ) const

Return current tessellation options.

◆ setImportOption()

void SoCADInputReaderParameters::setImportOption ( const ImportOption option)

Specify import options.

◆ setTessellationOption() [1/2]

void SoCADInputReaderParameters::setTessellationOption ( const TessellationOption option)

Specify tessellation options.

◆ setTessellationOption() [2/2]

void SoCADInputReaderParameters::setTessellationOption ( Quality  quality = MEDIUM)

Specify predefined tessellation options.

Advanced users can use the TessellationOption struct to have more control.


The documentation for this class was generated from the following file: