15#ifndef vtkWebGPUHardwareSelector_h
16#define vtkWebGPUHardwareSelector_h
20#include "vtkRenderingWebGPUModule.h"
22VTK_ABI_NAMESPACE_BEGIN
67 unsigned int outSelectedPosition[2])
override;
83 int Convert(
int xx,
int yy,
unsigned char* pb)
override;
89 vtkTypeUInt32 AttributeId;
91 vtkTypeUInt32 CompositeId;
92 vtkTypeUInt32 ProcessId;
95 bool MapReady =
false;
96 std::vector<Ids> IdBuffer;
a simple class to control print indentation
abstract superclass for all actors, volumes and annotations
create a window for renderers to draw into
implements the device specific code of vtkWebGPUHardwareSelector.
void BeginRenderProp(vtkRenderWindow *) override
vtkProp * GetPropFromID(int id) override
returns the prop associated with a ID.
void ReleasePixBuffers() override
Clears all pixel buffers.
vtkWebGPUHardwareSelector()
PixelInformation GetPixelInformation(const unsigned int inDisplayPosition[2], int maxDist, unsigned int outSelectedPosition[2]) override
It is possible to use the vtkHardwareSelector for a custom picking.
void EndRenderProp() override
Called by the mapper before and after rendering each prop.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void PreCapturePass(int) override
void EndRenderProp(vtkRenderWindow *) override
void PostCapturePass(int) override
static vtkWebGPUHardwareSelector * New()
int Convert(int xx, int yy, unsigned char *pb) override
pos must be relative to the lower-left corner of this->Area.
void RenderProcessId(unsigned int) override
Called by any vtkMapper or subclass to render process id.
void BeginRenderProp() override
Called by the mapper before and after rendering each prop.
void SavePixelBuffer(int) override
void RenderCompositeIndex(unsigned int) override
Called by any vtkMapper or vtkProp subclass to render a composite-index.
bool CaptureBuffers() override
The super class repeatedly renders the frame for different passes.
~vtkWebGPUHardwareSelector() override
void EndSelection() override
void BeginSelection() override