15 #ifndef vtkWebGPUHardwareSelector_h
16 #define vtkWebGPUHardwareSelector_h
20 #include "vtkRenderingWebGPUModule.h"
21 #include "vtkTypeUInt32Array.h"
24 VTK_ABI_NAMESPACE_BEGIN
73 unsigned int outSelectedPosition[2])
override;
89 int Convert(
int xx,
int yy,
unsigned char* pb)
override;
95 vtkTypeUInt32 AttributeId;
97 vtkTypeUInt32 CompositeId;
98 vtkTypeUInt32 ProcessId;
101 bool MapReady =
false;
110 #define vtkWebGPUHardwareSelector_OVERRIDE_ATTRIBUTES \
111 vtkWebGPUHardwareSelector::CreateOverrideAttributes()
112 VTK_ABI_NAMESPACE_END
void SavePixelBuffer(int) override
abstract superclass for all actors, volumes and annotations
Attribute for vtkObjectFactory overrides.
void BeginRenderProp(vtkRenderWindow *) override
virtual void EndSelection()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void BeginRenderProp() override
Called by the mapper before and after rendering each prop.
virtual void ReleasePixBuffers()
Clears all pixel buffers.
void EndRenderProp(vtkRenderWindow *) override
virtual bool CaptureBuffers()
It is possible to use the vtkHardwareSelector for a custom picking.
void RenderProcessId(unsigned int) override
Called by any vtkMapper or subclass to render process id.
implements the device specific code of vtkWebGPUHardwareSelector.
void PreCapturePass(int) override
static void Convert(vtkIdType id, float tcoord[3])
a simple class to control print indentation
void EndRenderProp() override
Called by the mapper before and after rendering each prop.
virtual void BeginSelection()
static vtkHardwareSelector * New()
virtual vtkProp * GetPropFromID(int id)
returns the prop associated with a ID.
void RenderCompositeIndex(unsigned int) override
Called by any vtkMapper or vtkProp subclass to render a composite-index.
create a window for renderers to draw into
PixelInformation GetPixelInformation(const unsigned int display_position[2])
It is possible to use the vtkHardwareSelector for a custom picking.
void PostCapturePass(int) override