Pointwise Plugin SDK
Public Member Functions | List of all members

The unstructured grid model index mapper handler class. More...

#include <CaeUnsGridModel.h>

Public Member Functions

virtual PWP_UINT64 mapIndex (const PWP_UINT64 pwgmNdx)=0
 Pure virtual index mapping method. More...
 
virtual ~CaeUnsCustomIndexHandler ()
 Destructor. More...
 

Detailed Description

The unstructured grid model index mapper handler class.

Handler objects passed to CaeUnsGridModel::customIndexSchemeReady() must inherit the CaeUnsCustomIndexHandler class and implement the mapIndex() pure virtual method.

Index mapping is only needed if the plugin's IndexScheme is set to Custom and MeshLinkSupported is true.

See also
meshLinkSupported(), useZeroBasedIndexing(), useOneBasedIndexing(), useCustomIndexing()

Definition at line 147 of file CaeUnsGridModel.h.

Constructor & Destructor Documentation

◆ ~CaeUnsCustomIndexHandler()

virtual CaeUnsCustomIndexHandler::~CaeUnsCustomIndexHandler ( )
inlinevirtual

Destructor.

Definition at line 150 of file CaeUnsGridModel.h.

Member Function Documentation

◆ mapIndex()

virtual PWP_UINT64 CaeUnsCustomIndexHandler::mapIndex ( const PWP_UINT64  pwgmNdx)
pure virtual

Pure virtual index mapping method.

This method is called as needed by the pointwise export framework (by way of CaeUnsGridModel::customIndexSchemeReady()) to map indices.

Subclasses are required to implement this virtual method.

Parameters
pwgmNdxThe index as defined in the PWGM.
Returns
The exported index that corresponds to pwgmNdx.

Referenced by ndxMapperCB().


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