function that returns the cell type name for a vtk cell type id?

(Andreas Buykx) #1

hi, I’m looking for a C++ function or static method that returns the cell type name (or the corresponding class name) given a vtk cell type id (for debugging messages). I seem to remember I have used a function like that before but I can’t find it.

(Cory Quammen (Kitware)) #2

static const char* vtkCellTypes::GetClassNameFromTypeId ( int typeId )

(Andreas Buykx) #3

Thanks!