GemaMesh
The GeMA Mesh Plugin
Public Member Functions | Private Attributes | Friends | List of all members
GmpGemaNodeSet Class Reference

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

#include <gmpGemaNodeSet.h>

Inheritance diagram for GmpGemaNodeSet:
Inheritance graph
[legend]
Collaboration diagram for GmpGemaNodeSet:
Collaboration graph
[legend]

Public Member Functions

 GmpGemaNodeSet (QString id, GmMesh *mesh, int numNodes, int *nodes)
 Constructor. Receives as parameters the data vector, taking ownership of it.
 
virtual ~GmpGemaNodeSet ()
 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.
 

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>
struct GmpMeshData
 

Detailed Description

A simple concrete implementation of the GmNodeSet interface.


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