4#ifndef vtkWebGPUAMRMapperInternals_h
5#define vtkWebGPUAMRMapperInternals_h
9#include "vtkRenderingWebGPUModule.h"
25VTK_ABI_NAMESPACE_BEGIN
78 bool InterfaceRenderEnabled =
true;
79 double SamplingRate = 1.0;
80 unsigned int MaxTraversalDepth = 0;
95 int ScalarsBufferIndex = -1;
97 int BricksBufferIndex = -1;
99 int ABRBufferIndex = -1;
101 int ABRBrickListsBufferIndex = -1;
103 int InterfaceBufferIndex = -1;
105 int BVHBufferIndex = -1;
109 int CameraBufferIndex = -1;
112 int ParamsBufferIndex = -1;
117 int ColorTableTextureIndex = -1;
118 const int ColorTableSize = 256;
122 unsigned long ColorTransferFunctionMTime = 0;
123 unsigned long TransferFunctionMTime = 0;
127 double GlobalMin[3] = { 0.0, 0.0, 0.0 };
128 double GlobalExtent[3] = { 1.0, 1.0, 1.0 };
131 vtkSmartPointer<vtkWebGPUComputeRenderTexture> FramebufferRenderTexture;
133 int LastWindowSize[2] = { 0, 0 };
general representation of visualization data
a simple class to control print indentation
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
record modification and/or execution time
represents a volume (data & properties) in a rendered scene
void Render(vtkRenderer *renderer, vtkVolume *vol)
~vtkWebGPUAMRMapperInternals() override
void SetInput(vtkDataObject *input)
Single input path for HTG and OverlappingAMR: picks the helper via the factory.
vtkWebGPUAMRMapperInternals()
void SetMaxTraversalDepth(unsigned int depth)
Max AMR level traversed during brick building (0 = unlimited).
static vtkWebGPUAMRMapperInternals * New()
friend class vtkWebGPUAMRMapper
void SetInterfaceRenderEnabled(bool enabled)
Clip mixed cells against their interface planes (off = treat all as pure).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSamplingRate(double scale)
Scale factor on the base sampling rate (1.0 = two samples per finest cell).
Represents the set of parameters that will be used to create a compute shader buffer on the device wh...
A compute pass is an abstraction for offloading computation from the CPU onto the GPU using WebGPU co...
A compute pipeline is the orchestrator of a collection of compute passes.
Result of BuildBricks: the three structures, ready for GPU upload.