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. | |
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.
Definition at line 48 of file MiMeshViz.h.
|
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.
|
static |
Returns a character string identifying the name of the extension.
|
static |
Returns a character string identifying the version of the extension.
|
static |
Initializes all Mesh Extraction classes.
This function must be called before any other Mesh Extraction class may be constructed or used.
numThreads | is 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. |
|
static |
Returns true if MeshViz XLM is initialized.