4#ifndef vtkWebGPUAMRMapper_h
5#define vtkWebGPUAMRMapper_h
8#include "vtkRenderingWebGPUModule.h"
21VTK_ABI_NAMESPACE_BEGIN
52 vtkSetMacro(InterfaceRenderEnabled,
bool);
53 vtkGetMacro(InterfaceRenderEnabled,
bool);
54 vtkBooleanMacro(InterfaceRenderEnabled,
bool);
63 vtkSetMacro(SamplingRate,
double);
64 vtkGetMacro(SamplingRate,
double);
74 vtkSetMacro(MaxTraversalDepth,
unsigned int);
75 vtkGetMacro(MaxTraversalDepth,
unsigned int);
106 bool InterfaceRenderEnabled =
true;
107 double SamplingRate = 1.0;
108 unsigned int MaxTraversalDepth = 0;
vtkAbstractVolumeMapper()
general representation of visualization data
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
a multi-resolution dataset based on vtkCartesianGrid allowing overlaps
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
represents a volume (data & properties) in a rendered scene
GPU state for vtkWebGPUAMRMapper: converts the input (HTG or OverlappingAMR) to ExaBricks via vtkAMRT...
virtual void SetInputData(vtkOverlappingAMR *)
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual void SetInputData(vtkDataObject *)
virtual vtkHyperTreeGrid * GetInput()
vtkWebGPUAMRMapper()
Creates the compute passes and sets up the observers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkWebGPUAMRMapper * New()
virtual vtkHyperTreeGrid * GetInput(int port)
virtual void SetInputData(vtkHyperTreeGrid *)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkWebGPUAMRMapper() override
void GetBounds(double bounds[6]) override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void Render(vtkRenderer *renderer, vtkVolume *vol) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
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.
window superclass for vtkRenderWindow