Class to initialize all MeshViz XLM nodes. More...
#include <MeshVizXLM/mapping/MoMeshViz.h>
Static Public Member Functions | |
static void | init (int numThreads) |
Initializes all classes in the Mesh Extraction and Data Mapping modules (automatically calls the MiMeshViz::init method). | |
static void | init () |
Equivalent to MoMeshViz::init(0) | |
static void | finish () |
Finishs all classes in the Mesh Extraction and Data Mapping modules (automatically calls the MiMeshViz::finish method). | |
static bool | isInitialized () |
Returns TRUE if module is currently initialized. | |
static const char * | getProductName () |
Returns a character string identifying the name of the extension. | |
Deprecated | |
static SoDEPRECATED const char * | getVersion () |
Returns a character string identifying the version of the extension. | |
Class to initialize all MeshViz XLM nodes.
This class initializes both the Mesh Extraction and Data Mapping modules of MeshViz XLM (it is not necessary to initialize MiMeshViz if using this class). Initialization must be done before creating or using any other MeshViz XLM classes.
Definition at line 42 of file MoMeshViz.h.
|
static |
Finishs all classes in the Mesh Extraction and Data Mapping modules (automatically calls the MiMeshViz::finish method).
This function should be called after all MeshViz XLM 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 |
Equivalent to MoMeshViz::init(0)
|
static |
Initializes all classes in the Mesh Extraction and Data Mapping modules (automatically calls the MiMeshViz::init method).
This function or MoMeshViz::init() must be called before creating or using any other MeshViz XLM classes.
numThreads | is the number of threads that mesh representation nodes, such as MoMeshSkin, allocate for their extraction algorithm when their parallel field is set to true. 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. If numThreads is 0, it allocates the maximum number of threads available. If numThreads is negative, it allocates 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 module is currently initialized.