Package com.openinventor.inventor.io.cad
Class SoCADInputReaderParameters
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.SoInputParameters
-
- com.openinventor.inventor.io.cad.SoCADInputReaderParameters
-
public class SoCADInputReaderParameters extends SoInputParameters
CAD Input reader Parameters when importing CAD file type. This class provides tessellation and import options for the CADReader module. It is used with theSoInput.setInputParameters()method.- See Also:
SoCADInputReader,SoCADFileFormat
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoCADInputReaderParameters.ImportOptionSpecify how the scene graph resulting from the import should be generated.static classSoCADInputReaderParameters.Qualitiesstatic classSoCADInputReaderParameters.TessellationOptionParameters used to tessellate the model during import.-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoCADInputReaderParameters()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoCADInputReaderParameters.ImportOptiongetImportOption()Returns the current import options.SoCADInputReaderParameters.TessellationOptiongetTessellationOption()Returns the current tessellation options.voidsetImportOption(SoCADInputReaderParameters.ImportOption option)Specifies the import options.voidsetTessellationOption()Calls setTessellationOption(SoCADInputReaderParameters.Qualities.valueOf( SoCADInputReaderParameters.Qualities.MEDIUM.getValue() )).voidsetTessellationOption(SoCADInputReaderParameters.Qualities quality)Specify predefined tessellation options.voidsetTessellationOption(SoCADInputReaderParameters.TessellationOption option)Specifies the tessellation options.-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
setImportOption
public void setImportOption(SoCADInputReaderParameters.ImportOption option)
Specifies the import options.
-
getImportOption
public SoCADInputReaderParameters.ImportOption getImportOption()
Returns the current import options.
-
setTessellationOption
public void setTessellationOption(SoCADInputReaderParameters.TessellationOption option)
Specifies the tessellation options.
-
getTessellationOption
public SoCADInputReaderParameters.TessellationOption getTessellationOption()
Returns the current tessellation options.
-
setTessellationOption
public void setTessellationOption()
Calls setTessellationOption(SoCADInputReaderParameters.Qualities.valueOf( SoCADInputReaderParameters.Qualities.MEDIUM.getValue() )).
-
setTessellationOption
public void setTessellationOption(SoCADInputReaderParameters.Qualities quality)
Specify predefined tessellation options. Advanced users can use the TessellationOption struct to have more control.
-
-