SoCADInputReaderParameters::ImportOption Struct Reference

Specify how the scene graph resulting from the import should be generated. More...

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

List of all members.

Public Member Functions

 ImportOption ()

Public Attributes

bool forceTesselation
bool importEdges
bool importOpenShells
bool importPMI
bool mergeFaces

Detailed Description

Specify how the scene graph resulting from the import should be generated.


Constructor & Destructor Documentation

SoCADInputReaderParameters::ImportOption::ImportOption (  ) 

Member Data Documentation

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.6

Import 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.

  • multiple faces of a shell are merged in a single SoTriangleSet.
  • multiple edges of a shell are merged in a single SoLineSet.

Default: false


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

Open Inventor Toolkit reference manual, generated on 15 May 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/