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

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

#include <gmpGemaCellBoundary.h>

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

Public Member Functions

 GmpGemaCellBoundary (QString id, GmCellBoundaryType type, GmCellMesh *mesh, int numCells, int *cells, int *borders)
 Constructor. Receives as parameters the boundary type and the data vectors, taking ownership of them.
 
virtual ~GmpGemaCellBoundary ()
 Destructor.
 
virtual QString id () const
 
virtual GmCellBoundaryType type () const
 
virtual GmCellMeshmesh () const
 
virtual int numCells () const
 
virtual GmCellcell (int i) const
 
virtual int cellBorder (int i) const
 
virtual bool setBoundaryData (int numCells, int *cellList, int *borderList)
 
virtual size_t usedMemory () const
 

Private Attributes

QString _id
 The group name.
 
GmCellBoundaryType _type
 The type of border.
 
int _numCells
 The number of cells stored in this group.
 
int * _cells
 The cell vector.
 
int * _borders
 The border (edge or face) vector.
 
GmCellMesh_mesh
 The mesh that we belong to.
 

Friends

template<template< class > class Vector>
struct GmpCellMeshData
 

Detailed Description

A simple concrete implementation of the GmCellBoundary interface.


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