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 |
Some CAD formats store faceted data in addition to the B-Rep. | |
bool | importEdges |
Import Edges for the model. | |
bool | importOpenShells |
Import OpenShell for the model. | |
bool | importPMI |
Import PMI (Product and Manufacturing Information) from the model. | |
bool | mergeFaces |
Merge imported geometry in a single Open Inventor Geometry object. | |
Specify how the scene graph resulting from the import should be generated.
Definition at line 136 of file SoCADInputReaderParameters.h.
SoCADInputReaderParameters::ImportOption::ImportOption | ( | ) |
bool SoCADInputReaderParameters::ImportOption::forceTesselation |
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
Definition at line 151 of file SoCADInputReaderParameters.h.
bool SoCADInputReaderParameters::ImportOption::importEdges |
Import Edges for the model.
Default: false
Definition at line 157 of file SoCADInputReaderParameters.h.
bool SoCADInputReaderParameters::ImportOption::importOpenShells |
Import OpenShell for the model.
It is composed of points or polylines.
Default: false
Definition at line 165 of file SoCADInputReaderParameters.h.
bool SoCADInputReaderParameters::ImportOption::importPMI |
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
Definition at line 179 of file SoCADInputReaderParameters.h.
bool SoCADInputReaderParameters::ImportOption::mergeFaces |
Merge imported geometry in a single Open Inventor Geometry object.
Default: false
Definition at line 188 of file SoCADInputReaderParameters.h.