Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
MiMeshViz Class Reference

MeshViz Class to initialize the MeshViz Mesh Extraction module. More...

#include <MeshVizXLM/MiMeshViz.h>

Static Public Member Functions

static void init (int numThreads=0)
 Initializes all Mesh Extraction classes.
 
static void finish ()
 Finishes all classes of MeshViz extraction.
 
static const char * getProductName ()
 Returns a character string identifying the name of the extension.
 
static bool isInitialized ()
 Returns true if MeshViz XLM is initialized.
 
Deprecated
static SoDEPRECATED const char * getVersion ()
 Returns a character string identifying the version of the extension.
 

Detailed Description

MeshViz Class to initialize the MeshViz Mesh Extraction module.

This class is used to initialize and finish the Mesh Extraction module. The init() method must be called before using any other Mesh Extraction classes.

This class is provided for stand-alone use of Mesh Extraction (separate from Open Inventor). If using MeshViz Data Mapping, it is not necessary to explicitly initalize Mesh Extraction because this is done automatically by the MoMeshViz class.

SEE ALSO

MoMeshViz

Definition at line 48 of file MiMeshViz.h.

Member Function Documentation

◆ finish()

static void MiMeshViz::finish ( )
static

Finishes all classes of MeshViz extraction.

This function should be called after all Mesh Extraction objects have been destroyed, to ensure that any static memory allocations are freed.

◆ getProductName()

static const char * MiMeshViz::getProductName ( )
static

Returns a character string identifying the name of the extension.

◆ getVersion()

static SoDEPRECATED const char * MiMeshViz::getVersion ( )
static

Returns a character string identifying the version of the extension.

◆ init()

static void MiMeshViz::init ( int  numThreads = 0)
static

Initializes all Mesh Extraction classes.

This function must be called before any other Mesh Extraction class may be constructed or used.

Parameters
numThreadsis the number of threads allocated to the extractors with multi-threading enabled (see for instance MiSkinExtractUnstructured::getNewInstance(mesh,parallel)). If numThreads is not 1, multiple threads can be used during every extraction algorithm. In that case, all the methods of the geometry and topology interfaces must be thread-safe as they can be called concurrently. For instance, for unstructured mesh, pay particular attention to the implementation of the methods getCoord, getCell and the methods that implement the MiCell interface. Default value is 0 which allocates the maximum number of threads available. Negative values allocate the maximum number of threads available decreased by the given number. For instance, value -2 allocates the maximum number of threads available minus 2.

◆ isInitialized()

static bool MiMeshViz::isInitialized ( )
static

Returns true if MeshViz XLM is initialized.


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