45#ifndef vtkStaticFaceHashLinksTemplate_h
46#define vtkStaticFaceHashLinksTemplate_h
48#include "vtkABINamespace.h"
54VTK_ABI_NAMESPACE_BEGIN
58VTK_ABI_NAMESPACE_BEGIN
62template <
typename TInputIdType,
typename TFaceIdType>
123 struct GeometryInformation;
127 template <
typename TCellOffSetIdType>
128 struct CreateFacesInformation;
130 template <
typename TCellOffSetIdType>
135 template <
typename TCellOffSetIdType>
136 struct BuildFaceHashLinks;
138 template <
typename TCellOffSetIdType>
139 void BuildHashLinksInternal(
vtkUnstructuredGrid* input, GeometryInformation& geometryInformation);
143#include "vtkStaticFaceHashLinksTemplate.txx"
Templated on types of ids defining an edge.
vtkStaticFaceHashLinksTemplate()=default
void BuildHashLinks(vtkUnstructuredGrid *input)
Build the hash links.
std::shared_ptr< TInputIdType > CellIdOfFaceLinks
TInputIdType * GetCellIdOfFacesInHash(vtkIdType hash) const
Get cell id of faces in a particular hash.
vtkIdType GetNumberOfHashes() const
Get the number of hashes.
void Reset()
Reset the hash links and free the memory.
std::shared_ptr< vtkIdType > FaceOffsets
TFaceIdType * GetFaceIdOfFacesInHash(vtkIdType hash) const
Get face id of faces in a particular hash.
vtkIdType GetNumberOfFacesInHash(vtkIdType hash) const
Get the number of faces in a particular hash.
std::shared_ptr< TFaceIdType > FaceIdOfFaceLinks
vtkIdType GetNumberOfFaces() const
Get number of faces.
dataset represents arbitrary combinations of all possible cell types