GemaMesh
The GeMA Mesh Plugin
Loading...
Searching...
No Matches
GmpNodeDataDump< Vector > Class Template Reference

A helper class to implement state dump operations for a GmpNodeMeshData<Vector> object. More...

#include <gmpNodeDataDump.h>

Collaboration diagram for GmpNodeDataDump< Vector >:

Public Member Functions

 GmpNodeDataDump (GmpNodeMeshData< Vector > *nd)
 Constructor.
 
virtual bool addStateGeometryData (GmStateDump *state, int groupId)
 Adds to the state dump an item storing node set nodes followed by an item storing ghost node coordinates, followed by an item storing node coordinates.
 
virtual bool fillDumpControlMapData (GmMesh *mesh, QVariantMap *map, const GmLogCategory &logger)
 Stores the mesh data control info on the stored map.
 
virtual bool dumpControlMapDataLoaded (GmMesh *mesh, QVariantMap *map, const GmLogCategory &logger)
 Loads the map data into the object + adjusts vector sizes if necessary.
 
virtual void setState (GmStateDump *state)
 

Private Attributes

GmpNodeMeshData< Vector > * _nd
 The node mesh data object being dumped / recovered.
 
GmStateDump_state
 The state dump object when loading mesh data during Lua mesh model loading (always NULL during orchestration)
 

Detailed Description

template<template< class > class Vector>
class GmpNodeDataDump< Vector >

A helper class to implement state dump operations for a GmpNodeMeshData<Vector> object.

Member Function Documentation

◆ addStateGeometryData()

template<template< class > class Vector>
bool GmpNodeDataDump< Vector >::addStateGeometryData ( GmStateDump * state,
int groupId )
virtual

Adds to the state dump an item storing node set nodes followed by an item storing ghost node coordinates, followed by an item storing node coordinates.

The order in which the items is created is mainly historical due to when this class was split in two classes, with the node coordinates in the derived class. Kept to avoid changing regression tests.


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