Specify how the scene graph resulting from the import should be generated. More...
#include <Inventor/io/CAD/SoCADInputReaderParameters.h>
Public Member Functions | |
ImportOption () | |
Public Attributes | |
bool | forceTesselation |
bool | importEdges |
bool | importOpenShells |
bool | importPMI |
bool | mergeFaces |
Specify how the scene graph resulting from the import should be generated.
SoCADInputReaderParameters::ImportOption::ImportOption | ( | ) |
Some CAD formats store faceted data in addition to the B-Rep.
If forceTesselation is true, then this representation is ignored and a tesselation will be generated from the B-Rep. If forceTesselation is false, the faceted representation is used and other parameters are ignored (including tesselationparameters).
Note: using faceted data greatly improves import performance (both time and memory consumption).
Default: false
Since Open Inventor 9.6Import Edges for the model.
Default: false
Import OpenShell for the model.
It is composed of points or polylines.
Default: false
Import PMI (Product and Manufacturing Information) from the model.
It is composed of text, measures and view points.
Note: while importing text we keep the Font name information from the source if the given font is not available then the Open Inventor default font is used which can be used through OIV_FONT_NAME environment variable or programmatically by calling SoFontNameElement::setDefault(). See SoFont class doc to get some recommended font that support most symbols glyphs.
Default: false
Merge imported geometry in a single Open Inventor Geometry object.
Default: false