20#ifndef vtkAnariRenderWindow_h
21#define vtkAnariRenderWindow_h
24#include "vtkRenderingAnariCoreModule.h"
26VTK_ABI_NAMESPACE_BEGIN
58 vtkGetMacro(UseDebugDevice,
bool);
59 vtkSetMacro(UseDebugDevice,
bool);
60 vtkBooleanMacro(UseDebugDevice,
bool);
79 int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
int vtkNotUsed(right) = 0)
override;
80 int GetPixelData(
int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
87 int x1,
int y1,
int x2,
int y2,
int vtkNotUsed(front),
int vtkNotUsed(right) = 0)
override;
119 unsigned char* SampleSourceColorBuffer(
int x1,
int y1,
int x2,
int y2,
int channelCount);
120 unsigned char* SampleSourceColorBuffer(
121 int x1,
int y1,
int x2,
int y2,
int channelCount,
bool& success);
122 int SampleSourceColorBuffer(
130 const unsigned char* SampleSourceColorBuffer(
int x,
int y)
const;
136 int GetWidth()
const;
137 int GetHeight()
const;
143 bool UseDebugDevice =
false;
149#define vtkAnariRenderWindow_OVERRIDE_ATTRIBUTES vtkAnariRenderWindow::CreateOverrideAttributes()
base class to objects which create + manage a ANARI library + device
~vtkAnariRenderWindow() override
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()
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