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.
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.
Input Fields¶
The only input of the module is the Open Inventor scene to be converted.
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
.
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 |