SoWEMConvertInventor

InventorModule
genre WEMGenerate
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoWEM
definition SoWEM.def
see also VTKPolyDataToWEM
keywords Open, Converter

Purpose

The SoWEMConvertInventor module converts all triangles of an Open Inventor scene into the WEM format (winged-edge mesh). The complexity of the algorithm to convert all triangles is O(n(logn)), with n = number of vertices.

Usage

Connect the inventor scene to be converted to this module and press Apply.

Details

The module uses a hash table to test if a vertex of a new incoming triangle has been already processed and is already a WEM node in WEM data structure. The bounding box of the scene is divided in NxNxN cubes (currently N=10, because of memory capacity). For each vertex the corresponding cube is searching and this is the index of the hash table.

Windows

Default Panel

../../../Modules/Inventor/SoWEM/mhelp/Images/Screenshots/SoWEMConvertInventor._default.png

Input Fields

The only input of the module is the Open Inventor scene to be converted.

inScene

name: inScene, type: SoNode

Output Fields

The module has the converted scene as a WEM output. The SoNode output is not used and is hidden.

outWEM

name: outWEM, type: WEM(MLBase)
For accessing this object via scripting see the Scripting Reference: MLWEMWrapper.

self (hidden)

name: self, type: SoNode

Parameter Fields

Field Index

Apply: Trigger renderCulling: Enum
Auto apply: Bool Use Node Colors: Bool
boundingBoxCaching: Enum  
convertInfo: String  
isProcessing: Bool  
pickCulling: Enum  
progress: Float  
renderCaching: Enum  

Visible Fields

Apply

name: apply, type: Trigger

If pressed, the module converts an input scene anew t0 a WEM.

Auto apply

name: autoApply, type: Bool, default: TRUE

If checked, the module converts the input WEM to a Inventor scene on each change of the input WEM.

Use Node Colors

name: useNodeColors, type: Bool, default: FALSE

If checked, the diffuse colors of the inventor scene are set as WEM node colors.

Hidden Fields

renderCaching

name: renderCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

boundingBoxCaching

name: boundingBoxCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

renderCulling

name: renderCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

pickCulling

name: pickCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

progress

name: progress, type: Float, default: 0, minimum: 0, maximum: 1

convertInfo

name: convertInfo, type: String, default: Ready

isProcessing

name: isProcessing, type: Bool, default: FALSE