20#ifndef vtkAnariRenderWindow_h
21#define vtkAnariRenderWindow_h
24#include "vtkRenderingAnariModule.h"
26VTK_ABI_NAMESPACE_BEGIN
68 int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
int vtkNotUsed(right) = 0)
override;
69 int GetPixelData(
int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
76 int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
int vtkNotUsed(right) = 0)
override;
108 unsigned char* SampleSourceColorBuffer(
int x1,
int y1,
int x2,
int y2,
int channelCount);
109 unsigned char* SampleSourceColorBuffer(
110 int x1,
int y1,
int x2,
int y2,
int channelCount,
bool& success);
111 int SampleSourceColorBuffer(
119 const unsigned char* SampleSourceColorBuffer(
int x,
int y)
const;
125 int GetWidth()
const;
126 int GetHeight()
const;
137#define vtkAnariRenderWindow_OVERRIDE_ATTRIBUTES vtkAnariRenderWindow::CreateOverrideAttributes()
base class to objects which create + manage a ANARI library + device
unsigned char * GetRGBACharPixelData(int x1, int y1, int x2, int y2, int front, int right=0) override
Functions that query RGBA pixel image.
unsigned char * GetPixelData(int x1, int y1, int x2, int y2, int front, int right=0) override
Functions that query RGB pixel image.
~vtkAnariRenderWindow() override=default
vtkAnariRenderWindow()
As the render window only supports offscreen rendering for the moment, the constructor calls Offscree...
static vtkOverrideAttribute * CreateOverrideAttributes()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetPixelData(int x1, int y1, int x2, int y2, int front, vtkUnsignedCharArray *data, int right=0) override
Functions that query RGB pixel image.
void DoStereoRender() override
Called to trigger the rendering to ANARI.
int GetRGBACharPixelData(int x1, int y1, int x2, int y2, int front, vtkUnsignedCharArray *data, int right=0) override
Functions that query RGB pixel image.
static vtkAnariRenderWindow * New()
base class to objects which create + manage an ANARI library, device, and renderer
links vtkRenderers to ANARI
matches vtk rendering classes to specific ANARI ViewNode classes
a simple class to control print indentation
Allocate and hold a VTK object.
Attribute for vtkObjectFactory overrides.
Hold a reference to a vtkObjectBase instance.
dynamic, self-adjusting array of unsigned char