smesh/src/SMDS/SMDS_MeshCell.hxx

31 lines
430 B
C++
Raw Normal View History

2010-01-08 15:53:25 +00:00
#ifndef _SMDS_MESHCELL_HXX_
#define _SMDS_MESHCELL_HXX_
#include "SMDS_MeshElement.hxx"
/*!
* \brief Base class for all cells
*/
2010-07-01 14:46:31 +00:00
class SMDS_EXPORT SMDS_MeshCell: public SMDS_MeshElement
2010-01-08 15:53:25 +00:00
{
public:
SMDS_MeshCell();
virtual ~SMDS_MeshCell();
2010-07-01 14:46:31 +00:00
inline void setVtkId(int vtkId)
{
myVtkID = vtkId;
}
inline int getVtkId() const
{
return myVtkID;
}
2010-01-08 15:53:25 +00:00
static int nbCells;
protected:
int myVtkID;
};
#endif