|
VTK
9.6.20260213
|
Functor class used to topologically merge (nearly) coincident points. More...
#include <vtkVoronoiCore3D.h>
Public Member Functions | |
| TopologicalMerge (vtkVoronoiCore3D< TCompositor, TClassifier > *vc) | |
| vtkIdType | GetNumberOfMergedPoints () |
| Methods related to merging coincident points. | |
| void | Initialize () |
| void | operator() (vtkIdType threadId, vtkIdType endThreadId) |
| void | Reduce () |
Static Public Member Functions | |
| static std::unique_ptr< TopologicalMerge > | Execute (vtkVoronoiCore3D< TCompositor, TClassifier > *vc) |
Public Attributes | |
| vtkVoronoiCore3D< TCompositor, TClassifier > * | VC |
| vtkMergeTuples3DType | MergeTuples |
| vtkMergeMapType | MergeMap |
| vtkIdType | NumMergedPts |
Functor class used to topologically merge (nearly) coincident points.
It basically sorts topological coordinates, and then assigns a global point id to each run (of identical topological coordinates). The resulting merge map can then be used to generate merged point ids when producing global output. The class depends on the compositor type, which provides the topological coordinates and information about the number of points produced by each hull; and merge tuples, which is the global array that maps hull points into merged global points. On output, this class produces the total number of merged points, and a merge map that maps the hull points into final point ids.
Definition at line 425 of file vtkVoronoiCore3D.h.
| vtkVoronoiCore3D< TCompositor, TClassifier >::TopologicalMerge::TopologicalMerge | ( | vtkVoronoiCore3D< TCompositor, TClassifier > * | vc | ) |
|
inline |
Methods related to merging coincident points.
The number of merged points is the number of remaining points after merging (ie., after removing duplicates). The MergeMap maps the hull point ids (which contain duplicates) to global point ids (no duplicates).
Definition at line 440 of file vtkVoronoiCore3D.h.
|
inline |
Definition at line 443 of file vtkVoronoiCore3D.h.
| void vtkVoronoiCore3D< TCompositor, TClassifier >::TopologicalMerge::operator() | ( | vtkIdType | threadId, |
| vtkIdType | endThreadId ) |
| void vtkVoronoiCore3D< TCompositor, TClassifier >::TopologicalMerge::Reduce | ( | ) |
|
static |
| vtkVoronoiCore3D<TCompositor, TClassifier>* vtkVoronoiCore3D< TCompositor, TClassifier >::TopologicalMerge::VC |
Definition at line 427 of file vtkVoronoiCore3D.h.
| vtkMergeTuples3DType vtkVoronoiCore3D< TCompositor, TClassifier >::TopologicalMerge::MergeTuples |
Definition at line 430 of file vtkVoronoiCore3D.h.
| vtkMergeMapType vtkVoronoiCore3D< TCompositor, TClassifier >::TopologicalMerge::MergeMap |
Definition at line 431 of file vtkVoronoiCore3D.h.
| vtkIdType vtkVoronoiCore3D< TCompositor, TClassifier >::TopologicalMerge::NumMergedPts |
Definition at line 432 of file vtkVoronoiCore3D.h.