VTK  9.7.20261123
vtkWebGPUVolumeRayCastMapper::vtkInternals Class Reference

#include <vtkWebGPUVolumeRayCastMapperInternals.h>

Detailed Description

Definition at line 50 of file vtkWebGPUVolumeRayCastMapperInternals.h.

Classes

struct  Stream
 What is known of a port that is read a brick at a time. More...

Public Member Functions

 vtkInternals (vtkWebGPUVolumeRayCastMapper *self)
void SyncDeviceResources (vtkWebGPURenderWindow *window, vtkWebGPUVolumeRayCastCoordinator *coordinator, vtkVolume *volume)
 Bring every connected input up to date on the device and offer it to coordinator.
void ReleaseGraphicsResources ()
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.

Public Attributes

std::map< int, vtkSmartPointer< vtkVolumeProperty > > PortProperties
 Per port appearance overrides, used when a port is not backed by its own vtkVolume.
std::map< int, Stream > Streams

Static Public Attributes

static constexpr int TableSize = vtkWebGPUVolumeTransferFunctionSize

Constructor & Destructor Documentation

◆ vtkInternals()

vtkWebGPUVolumeRayCastMapper::vtkInternals::vtkInternals ( vtkWebGPUVolumeRayCastMapper * self)
inlineexplicit

Definition at line 55 of file vtkWebGPUVolumeRayCastMapperInternals.h.

Member Function Documentation

◆ SyncDeviceResources()

void vtkWebGPUVolumeRayCastMapper::vtkInternals::SyncDeviceResources ( vtkWebGPURenderWindow * window,
vtkWebGPUVolumeRayCastCoordinator * coordinator,
vtkVolume * volume )

Bring every connected input up to date on the device and offer it to coordinator.

Called in the SyncDeviceResources stage, before anything is drawn.

◆ ReleaseGraphicsResources()

void vtkWebGPUVolumeRayCastMapper::vtkInternals::ReleaseGraphicsResources ( )

◆ WantsStreaming()

bool vtkWebGPUVolumeRayCastMapper::vtkInternals::WantsStreaming ( int port,
vtkInformation * info )

Whether port would be streamed, judged from its pipeline information alone.

Safe to call while a pipeline request is being answered, which UpdateStream is not.

◆ UpdateStream()

bool vtkWebGPUVolumeRayCastMapper::vtkInternals::UpdateStream ( int port)

Whether port is streamed, bringing what is known of its source up to date.

Asks the pipeline for information only; the one voxel probe is repeated only when something upstream changed.

Member Data Documentation

◆ TableSize

int vtkWebGPUVolumeRayCastMapper::vtkInternals::TableSize = vtkWebGPUVolumeTransferFunctionSize
staticconstexpr

Definition at line 53 of file vtkWebGPUVolumeRayCastMapperInternals.h.

◆ PortProperties

std::map<int, vtkSmartPointer<vtkVolumeProperty> > vtkWebGPUVolumeRayCastMapper::vtkInternals::PortProperties

Per port appearance overrides, used when a port is not backed by its own vtkVolume.

Definition at line 70 of file vtkWebGPUVolumeRayCastMapperInternals.h.

◆ Streams

std::map<int, Stream> vtkWebGPUVolumeRayCastMapper::vtkInternals::Streams

Definition at line 108 of file vtkWebGPUVolumeRayCastMapperInternals.h.


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