19#ifndef vtkWebGPUVolumeRayCastMapperInternals_h
20#define vtkWebGPUVolumeRayCastMapperInternals_h
39VTK_ABI_NAMESPACE_BEGIN
114 void UpdateVolumeData(Input& input,
int cellSize);
115 void UpdateHiddenVoxels(Input& input);
116 void UpdateTransferFunctions(Input& input);
117 void UpdateCellClassification(Input& input);
122 std::map<int, Input> InputCache;
124 std::vector<int> ActivePorts;
topologically and geometrically regular array of data
Allocate and hold a VTK object.
Hold a reference to a vtkObjectBase instance.
represents the common properties for rendering a volume.
represents a volume (data & properties) in a rendered scene
Ray casts every WebGPU volume in a renderer in one pass.
vtkInternals(vtkWebGPUVolumeRayCastMapper *self)
void ReleaseGraphicsResources()
std::map< int, Stream > Streams
bool WantsStreaming(int port, vtkInformation *info)
Whether port would be streamed, judged from its pipeline information alone.
bool UpdateStream(int port)
Whether port is streamed, bringing what is known of its source up to date.
void SyncDeviceResources(vtkWebGPURenderWindow *window, vtkWebGPUVolumeRayCastCoordinator *coordinator, vtkVolume *volume)
Bring every connected input up to date on the device and offer it to coordinator.
std::map< int, vtkSmartPointer< vtkVolumeProperty > > PortProperties
Per port appearance overrides, used when a port is not backed by its own vtkVolume.
static constexpr int TableSize
vtkWebGPUVolumeRayCastMapper()
What is known of a port that is read a brick at a time.
vtkMTimeType PipelineTime
bool HasRange
The range the source publishes for that array, when it does.
vtkSmartPointer< vtkDataArray > Scalars
Type, components and name of the array read, and nothing else.
vtkNew< vtkImageData > Shell
The volume's geometry with no voxels in it, standing in for the data everywhere the whole volume woul...
bool Refused
The source could stream but what it produces cannot be, say because it is cell data.
vtkTypeUInt32 vtkMTimeType
constexpr int vtkWebGPUVolumeTransferFunctionSize
Size of every tabulated transfer function, in texels.