47#ifndef vtkWebGPUVolumeRayCastMapper_h
48#define vtkWebGPUVolumeRayCastMapper_h
51#include "vtkRenderingVolumeWebGPUModule.h"
56VTK_ABI_NAMESPACE_BEGIN
221 int numberOfScalarComponents,
unsigned int numberOfLevels) override;
245#define vtkWebGPUVolumeRayCastMapper_OVERRIDE_ATTRIBUTES \
246 vtkWebGPUVolumeRayCastMapper::CreateOverrideAttributes()
vtkGPUVolumeRayCastMapper()
topologically and geometrically regular array of data
a simple class to control print indentation
Attribute for vtkObjectFactory overrides.
create a window for renderers to draw into
abstract specification for renderers
represents the common properties for rendering a volume.
represents a volume (data & properties) in a rendered scene
a weak reference to a vtkObject.
void ReleaseGraphicsResources(vtkWindow *window) override
Release any graphics resources that are being consumed by this mapper.
void GPURender(vtkRenderer *ren, vtkVolume *vol) override
Handled in the subclass - the actual render method.
void Render(vtkRenderer *ren, vtkVolume *vol) override
Reads streamed inputs a brick at a time instead of updating them whole first.
int InteractiveMaximumNumberOfSamples
vtkGPUVolumeRayCastMapper Superclass
double * GetBounds() override
Bounds of every connected input taken together, so that a mapper with several inputs is framed and cu...
int IsRenderSupported(vtkRenderWindow *window, vtkVolumeProperty *property) override
Based on hardware and properties, we may or may not be able to render using 3D texture mapping.
double MinimumSampleDistanceFactor
double MaximumSampleDistanceFactor
void RenderBlock(vtkRenderer *ren, vtkVolume *vol, unsigned int level) override
vtkWebGPUVolumeRayCastMapper()
bool IsStreaming(int port=0)
Whether the input on port is read a brick at a time.
double EmptySpaceOpacityThreshold
void SetVolumeProperty(int port, vtkVolumeProperty *property)
Appearance of the input connected to port.
void GetDepthImage(vtkImageData *output) override
What the last render produced while RenderToImage was on: the volume drawn alone over a transparent b...
void PostRender(vtkRenderer *ren, int numberOfScalarComponents) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GetColorImage(vtkImageData *output) override
What the last render produced while RenderToImage was on: the volume drawn alone over a transparent b...
static vtkOverrideAttribute * CreateOverrideAttributes()
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
Asks nothing of a streamed input when the mapper is updated, as vtkVolume does before every render: i...
vtkVolumeProperty * GetVolumeProperty(int port)
Appearance of the input connected to port.
void PreRender(vtkRenderer *ren, vtkVolume *vol, double datasetBounds[6], double scalarRange[2], int numberOfScalarComponents, unsigned int numberOfLevels) override
static vtkWebGPUVolumeRayCastMapper * New()
void GetReductionRatio(double ratio[3]) override
Return how much the dataset has to be reduced in each dimension to fit on the GPU.
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)