VTK  9.6.20260529
vtkSurfaceNets3DNonManifoldCases::VoxelNeighborhood< T > Struct Template Reference

Holds the local configuration of the 8 voxels surrounding a triad point in the grid. More...

#include <vtkSurfaceNets3DNonManifoldCases.h>

Public Attributes

EdgeCaseType EdgeCase
 
VoxelCaseType VoxelCase
 
std::array< T, 8 > Labels
 

Detailed Description

template<class T>
struct vtkSurfaceNets3DNonManifoldCases::VoxelNeighborhood< T >

Holds the local configuration of the 8 voxels surrounding a triad point in the grid.

This includes the 12-bit edge case bitmask indicating which edges of the voxel cell are intersected by the surface net, the 8-bit voxel case bitmask indicating which of the 8 surrounding voxels are inside a labeled region, and the material labels of each of the 8 surrounding voxels. Inactive voxels (i.e., those outside a labeled region) are assigned the background label.

Template Parameters
TThe type of the material labels (e.g., int, unsigned short).

Definition at line 649 of file vtkSurfaceNets3DNonManifoldCases.h.

Member Data Documentation

◆ EdgeCase

◆ VoxelCase

◆ Labels

template<class T>
std::array<T, 8> vtkSurfaceNets3DNonManifoldCases::VoxelNeighborhood< T >::Labels

Definition at line 653 of file vtkSurfaceNets3DNonManifoldCases.h.


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