Class to initialize all MeshViz XLM nodes. More...
#include <MeshVizXLM/mapping/MoMeshViz.h>
Static Public Member Functions | |
static void | init (int numThreads) |
static void | init () |
static void | finish () |
static bool | isInitialized () |
static const char * | getProductName () |
static const char * | getVersion () |
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.
PEBIMeshViz, QuadraticWheelHexa27, Turbine, QuadraticHexa20, QuadraticHexa27, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, VolumeMesh, WheelHexa8
static void MoMeshViz::finish | ( | ) | [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 const char* MoMeshViz::getProductName | ( | ) | [static] |
Returns a character string identifying the name of the extension.
static const char* MoMeshViz::getVersion | ( | ) | [static] |
Returns a character string identifying the version of extension.
static void MoMeshViz::init | ( | ) | [static] |
Equivalent to MoMeshViz::init(0).
static void MoMeshViz::init | ( | int | numThreads | ) | [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 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 bool MoMeshViz::isInitialized | ( | ) | [static] |
Returns TRUE if module is currently initialized.