27 #ifndef vtkCellMetadata_h
28 #define vtkCellMetadata_h
31 #include "vtkCommonDataModelModule.h"
39 #include <token/Singletons.h>
43 #include <unordered_map>
44 #include <unordered_set>
46 VTK_ABI_NAMESPACE_BEGIN
58 using ConstructorMap = std::unordered_map<vtkStringToken, MetadataConstructor>;
67 template <
typename Sub
class>
77 result->SetCellGrid(grid);
84 template <
typename Sub
class>
96 static std::unordered_set<vtkStringToken> CellTypes();
148 static void ClearResponders();
165 static ConstructorMap& Constructors();
172 VTK_ABI_NAMESPACE_END
Perform an operation on cells in a vtkCellMetadata instance.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define vtkInheritanceHierarchyBaseMacro(thisClass)
Use these macros to add an "InheritanceHierarchy()" method to a VTK class.
Hold a reference to a vtkObjectBase instance.
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
static vtkSmartPointer< T > New()
Create an instance of a VTK object.
Hash GetId() const
Return the token's ID (usually its hash but possibly not in the case of collisions).
Visualization data composed of cells of arbitrary type.
a simple class to control print indentation
const char * GetClassName() const
Return the class name as a string.
A function defined over the physical domain of a vtkCellGrid.
represent and manipulate attribute data in a dataset
Represent a string by its integer hash.