23#ifndef _MITOPOLOGYIJ_H
24#define _MITOPOLOGYIJ_H
26#include <MeshVizXLM/mesh/topology/MiTopology.h>
28#include <Inventor/STL/sstream>
67 virtual bool isDead(
size_t SO_UNUSED_PARAM(i),
size_t SO_UNUSED_PARAM(j))
const{
return false ;};
73 virtual std::ostream&
toStream(std::ostream& s)
const
75 s <<
"#Mesh topology Ij" << std::endl;
76 s <<
"#Num Cells I" << std::endl;
77 s << getNumCellsI() << std::endl;
78 s <<
"#Num Cells J" << std::endl;
79 s << getNumCellsJ() << std::endl;
80 s <<
"#Has Dead Cells" << std::endl;
84 s <<
"#Dead Cells:" << std::endl;
85 for (
size_t i=0; i<getNumCellsI(); i++)
87 for (
size_t j=0; j<getNumCellsJ(); j++)
91 s <<
"deadCell " << i <<
" " << j << std::endl;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> List of cells interface.
virtual bool hasDeadCells() const
Returns true if the topology contains dead cells.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> List of structured surfa...
virtual std::ostream & toStream(std::ostream &s) const
Performs an output operation on a stream which is returned afterward.
virtual bool isDead(size_t i, size_t j) const
Returns true if the cell of index (i,j) should be ignored.
virtual size_t getNumCellsJ() const =0
Returns the number of cells on the second logical axis.
virtual size_t getNumCellsI() const =0
Returns the number of cells on the first logical axis.