20#ifndef vtkAnariRenderWindow_h
21#define vtkAnariRenderWindow_h
24#include "vtkRenderingAnariModule.h"
26VTK_ABI_NAMESPACE_BEGIN
66 int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
int vtkNotUsed(right) = 0)
override;
67 int GetPixelData(
int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
74 int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
int vtkNotUsed(right) = 0)
override;
106 unsigned char* SampleSourceColorBuffer(
int x1,
int y1,
int x2,
int y2,
int channelCount);
107 unsigned char* SampleSourceColorBuffer(
108 int x1,
int y1,
int x2,
int y2,
int channelCount,
bool& success);
109 int SampleSourceColorBuffer(
117 const unsigned char* SampleSourceColorBuffer(
int x,
int y)
const;
123 int GetWidth()
const;
124 int GetHeight()
const;
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...
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.
Hold a reference to a vtkObjectBase instance.
dynamic, self-adjusting array of unsigned char