VTK  9.6.20260615
vtkCellGridEvaluator::AllocationsByCellType Struct Reference

Hold per-type input point assignment and an offset for output arrays. More...

#include <vtkCellGridEvaluator.h>

Classes

struct  ClassifiedPoint
 The result of classifying a single probe point: the index of the input point, the cell that contains it, and the reference-element (r, s, t) coordinates computed by Newton-Raphson during classification. More...
 

Public Member Functions

vtkIdType GetNumberOfOutputPoints () const
 Return the number of classified points for this cell type.
 

Public Attributes

std::vector< ClassifiedPointInputPoints
 Flat list of classified probe points, populated by ClassifyPoints.
 
vtkIdType Offset { 0 }
 Offset into the global output arrays where this cell type's results begin.
 

Detailed Description

Hold per-type input point assignment and an offset for output arrays.

Definition at line 139 of file vtkCellGridEvaluator.h.

Member Function Documentation

◆ GetNumberOfOutputPoints()

vtkIdType vtkCellGridEvaluator::AllocationsByCellType::GetNumberOfOutputPoints ( ) const
inline

Return the number of classified points for this cell type.

Definition at line 160 of file vtkCellGridEvaluator.h.

Member Data Documentation

◆ InputPoints

std::vector<ClassifiedPoint> vtkCellGridEvaluator::AllocationsByCellType::InputPoints

Flat list of classified probe points, populated by ClassifyPoints.

Contiguous layout enables random-access indexing for parallel interpolation: the entry at index k maps to output slot alloc.Offset + k.

Definition at line 155 of file vtkCellGridEvaluator.h.

◆ Offset

vtkIdType vtkCellGridEvaluator::AllocationsByCellType::Offset { 0 }

Offset into the global output arrays where this cell type's results begin.

Definition at line 157 of file vtkCellGridEvaluator.h.


The documentation for this struct was generated from the following file: