GemaMesh
The GeMA Mesh Plugin
Loading...
Searching...
No Matches
GmpNodeSet Class Reference

A simple concrete implementation of the GmNodeSet interface. More...

#include <gmpNodeSet.h>

Inheritance diagram for GmpNodeSet:
Collaboration diagram for GmpNodeSet:

Public Member Functions

 GmpNodeSet (QString id, GmMesh *mesh, int numNodes, int *nodes)
 Constructor. Receives as parameters the data vector, taking ownership of it.
 
virtual ~GmpNodeSet ()
 Destructor.
 
virtual QString id () const
 
virtual GmMeshmesh () const
 
virtual int numNodes () const
 
virtual int node (int i) const
 
virtual bool setNodeData (int numNodes, int *nodeList)
 
virtual size_t usedMemory () const
 
virtual void clear ()
 Clears node data associated with this node set.
 
- Public Member Functions inherited from GmNodeSet

Private Attributes

QString _id
 The set name.
 
int _numNodes
 The number of nodes stored in this set.
 
int * _nodes
 The nodes vector.
 
GmMesh_mesh
 The mesh that we belong to.
 

Friends

template<template< class > class Vector>
class GmpNodeDataDump
 

Detailed Description

A simple concrete implementation of the GmNodeSet interface.

Member Function Documentation

◆ id()

virtual QString GmpNodeSet::id ( ) const
inlinevirtual

Implements GmNodeSet.

◆ mesh()

virtual GmMesh * GmpNodeSet::mesh ( ) const
inlinevirtual

Implements GmNodeSet.

◆ node()

virtual int GmpNodeSet::node ( int i) const
inlinevirtual

Implements GmNodeSet.

◆ numNodes()

virtual int GmpNodeSet::numNodes ( ) const
inlinevirtual

Implements GmNodeSet.

◆ setNodeData()

bool GmpNodeSet::setNodeData ( int numNodes,
int * nodeList )
virtual

Reimplemented from GmNodeSet.

◆ usedMemory()

virtual size_t GmpNodeSet::usedMemory ( ) const
inlinevirtual

Implements GmNodeSet.


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