VTK  9.7.20261004
vtkCellGridToUnstructuredGrid::Query::OutputAllocation Struct Reference

#include <vtkCellGridToUnstructuredGrid.h>

Detailed Description

A placeholder for space to be occupied in a vtkCellArray.

Definition at line 74 of file vtkCellGridToUnstructuredGrid.h.

Public Attributes

int CellType { VTK_EMPTY_CELL }
 A cell type representative of the output.
vtkIdType NumberOfSamples { 0 }
 How many samples the responder will take of its cells and sides.
vtkIdType NumberOfCells { 0 }
vtkIdType NumberOfConnectivityIds { 0 }
 The number of point-ids this type contributes to the output connectivity, not counting the per-cell offsets.
vtkIdType SampleOffset { 0 }
 Where this type's share of the output begins.
vtkIdType CellOffset { 0 }
vtkIdType ConnOffset { 0 }

Member Data Documentation

◆ CellType

int vtkCellGridToUnstructuredGrid::Query::OutputAllocation::CellType { VTK_EMPTY_CELL }

A cell type representative of the output.

This is only indicative. A responder subdividing a cell may emit more than one type, since pyramids also produce tetrahedra, and a responder transcribing the sides of a cell emits the type of the side.

Definition at line 81 of file vtkCellGridToUnstructuredGrid.h.

◆ NumberOfSamples

vtkIdType vtkCellGridToUnstructuredGrid::Query::OutputAllocation::NumberOfSamples { 0 }

How many samples the responder will take of its cells and sides.

Every sample becomes a candidate output point; samples that coincide are merged into one point after the GenerateSamples pass.

Definition at line 86 of file vtkCellGridToUnstructuredGrid.h.

◆ NumberOfCells

vtkIdType vtkCellGridToUnstructuredGrid::Query::OutputAllocation::NumberOfCells { 0 }

Definition at line 87 of file vtkCellGridToUnstructuredGrid.h.

◆ NumberOfConnectivityIds

vtkIdType vtkCellGridToUnstructuredGrid::Query::OutputAllocation::NumberOfConnectivityIds { 0 }

The number of point-ids this type contributes to the output connectivity, not counting the per-cell offsets.

Definition at line 90 of file vtkCellGridToUnstructuredGrid.h.

◆ SampleOffset

vtkIdType vtkCellGridToUnstructuredGrid::Query::OutputAllocation::SampleOffset { 0 }

Where this type's share of the output begins.

The query fills these in between passes by accumulating the counts above, so every responder can write its output by index instead of appending. They are only valid once the counting pass has finished.

Definition at line 96 of file vtkCellGridToUnstructuredGrid.h.

◆ CellOffset

vtkIdType vtkCellGridToUnstructuredGrid::Query::OutputAllocation::CellOffset { 0 }

Definition at line 97 of file vtkCellGridToUnstructuredGrid.h.

◆ ConnOffset

vtkIdType vtkCellGridToUnstructuredGrid::Query::OutputAllocation::ConnOffset { 0 }

Definition at line 98 of file vtkCellGridToUnstructuredGrid.h.


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