MoMeshViz Class Reference
[Mapping]

MeshViz Class to initialize all MeshViz XLM nodes. More...

#include <MeshVizXLM/mapping/MoMeshViz.h>

List of all members.

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 ()

Detailed Description

MeshViz 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.

See related examples:

PEBIMeshViz, QuadraticWheelHexa27, Turbine, QuadraticHexa20, QuadraticHexa27, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, VolumeMesh, WheelHexa8


Member Function Documentation

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.

Parameters:
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 bool MoMeshViz::isInitialized (  )  [static]

Returns TRUE if module is currently initialized.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/