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

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

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.

Definition at line 42 of file MoMeshViz.h.

Member Function Documentation

◆ finish()

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.

◆ getProductName()

static const char * MoMeshViz::getProductName ( )
static

Returns a character string identifying the name of the extension.

◆ getVersion()

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

Returns a character string identifying the version of the extension.

◆ init() [1/2]

static void MoMeshViz::init ( )
static

Equivalent to MoMeshViz::init(0)

◆ init() [2/2]

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

◆ isInitialized()

static bool MoMeshViz::isInitialized ( )
static

Returns TRUE if module is currently initialized.


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