Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

P2VolumeMeshMapper Class Reference

Last update: 16.07.2025

imports data from an incompatible GRID (signal, pixel, voxel) More...

Public Types

typedef boost::shared_ptr< CoorTransformationBaseCoorTransformationBasePtr
 a pointer to a rigid transformation algorithm object
 
enum  Type {
  eCOMPATIBLE =0, eINCOMPATIBLE, eINCOMPATIBLE_CPP, eINCOMPATIBLE_RAY,
  eGRID, eP2VOLUME, eMORPHED_MESH
}
 an enum type defining the type of the derived class More...
 

Public Member Functions

virtual string generateScriptOfSettingsDefinition (string variable_ident)
 
virtual Type mapperType ()
 
virtual string mapperTypeIdent ()
 destructor
 
 P2VolumeMeshMapper ()
 constructor
 

Public Attributes

bool number_sided_projection
 if true, then one uses number-sided node-to-segment detection, else only one-sided node-to-segment (reference-to-design) detection is used. Default: false
 
bool overwrite_existing
 If true, then existing data objects will be replaced. More...
 
string transferred_data_ident_prefix
 The prefix for re-transferred data. More...
 

Detailed Description

imports data from an incompatible GRID (signal, pixel, voxel)

Member Enumeration Documentation

◆ Type

enum Type
inherited

an enum type defining the type of the derived class

Enumerator
eCOMPATIBLE 

compatible mesh mapper

eINCOMPATIBLE 

incompatible mesh mapper

eINCOMPATIBLE_CPP 

incompatible mesh mapper (closest point projection)

eINCOMPATIBLE_RAY 

incompatible mesh mapper (along user-specified direction)

eGRID 

grid mesh mapper

eP2VOLUME 

point-to-volume mesh mapper

eMORPHED_MESH 

mesh mapper used morphing

Member Data Documentation

◆ overwrite_existing

bool overwrite_existing

If true, then existing data objects will be replaced.

This option is used by transferData

◆ transferred_data_ident_prefix

string transferred_data_ident_prefix

The prefix for re-transferred data.

transferData is able to transfer the data to the new database, and to transfer the same data back This strategy allows to check the error that is obtained when transferring data between two meshes, since one can compare it with the original data on the same mesh. If the prefix is an empty string, then no data will be created. Else one choses the new quantity ident as "prefix[original_quantity_ident]"

Connect with Ansys