VTK  9.7.20261123
vtkWebGPUVolumeTest::Frame Struct Reference

#include <vtkWebGPUVolumeTestHelpers.h>

Detailed Description

A frame, as RGB triples ordered row by row.

Definition at line 49 of file vtkWebGPUVolumeTestHelpers.h.

Public Member Functions

const unsigned char * At (int x, int y) const
std::size_t CountLit (const double background[3], int tolerance=12) const
 Pixels that differ from the background by more than tolerance per channel.

Public Attributes

std::vector< unsigned char > Pixels
int Width = 0
int Height = 0

Member Function Documentation

◆ At()

const unsigned char * vtkWebGPUVolumeTest::Frame::At ( int x,
int y ) const
inline

Definition at line 55 of file vtkWebGPUVolumeTestHelpers.h.

◆ CountLit()

std::size_t vtkWebGPUVolumeTest::Frame::CountLit ( const double background[3],
int tolerance = 12 ) const
inline

Pixels that differ from the background by more than tolerance per channel.

Definition at line 61 of file vtkWebGPUVolumeTestHelpers.h.

Member Data Documentation

◆ Pixels

std::vector<unsigned char> vtkWebGPUVolumeTest::Frame::Pixels

Definition at line 51 of file vtkWebGPUVolumeTestHelpers.h.

◆ Width

int vtkWebGPUVolumeTest::Frame::Width = 0

Definition at line 52 of file vtkWebGPUVolumeTestHelpers.h.

◆ Height

int vtkWebGPUVolumeTest::Frame::Height = 0

Definition at line 53 of file vtkWebGPUVolumeTestHelpers.h.


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