12#ifndef vtkCellTypeUtilities_h
13#define vtkCellTypeUtilities_h
15#include "vtkCommonDataModelModule.h"
20VTK_ABI_NAMESPACE_BEGIN
vtkCellTypeUtilities is a collection of methods for cell type lookup.
static const char * GetClassNameFromTypeId(int typeId)
Given an int (as defined in vtkCellType.h) identifier for a class return it's classname.
static vtkCellTypeUtilities * New()
vtkCellTypeUtilities()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static int GetTypeIdFromName(const std::string &name)
Return a cell type (as defined in vtkCellType.h) from the given display name.
static int GetDimension(unsigned char type)
Get the dimension of a cell.
~vtkCellTypeUtilities() override=default
static int GetTypeIdFromClassName(const char *classname)
Given a data object classname, return it's int identified (as defined in vtkCellType....
static int IsLinear(unsigned char type)
This convenience method is a fast check to determine if a cell type represents a linear or nonlinear ...
static std::string GetTypeAsString(int typeId)
Return a display name for the given cell type, or an empty string if the id is not recognized.
a simple class to control print indentation
abstract base class for most VTK objects