15#ifndef vtkAnariRenderer_h
16#define vtkAnariRenderer_h
19#include "vtkRenderingAnariModule.h"
21#include <anari/anari_cpp.hpp>
23VTK_ABI_NAMESPACE_BEGIN
25class vtkAnariRendererInternals;
89 void CheckAnariDeviceInitialized();
94 vtkAnariRendererInternals* Internal{
nullptr };
base class to objects which create + manage an ANARI library, device, and renderer
anari::Device GetAnariDevice() const
void SetParameter(const char *param, int, int, int, int)
static vtkAnariRenderer * New()
const char * GetSubtype() const
Get the subtype of the current underlying anari::Renderer.
void SetParameter(const char *param, float, float, float)
void SetParameter(const char *param, int)
void SetAnariDevice(anari::Device d)
void SetParameter(const char *param, float)
void SetParameter(const char *param, float, float, float, float)
vtkAnariRenderer()
Default constructor.
void SetSubtype(const char *subtype="default")
Set the underlying subtype of the anari::Renderer.
virtual ~vtkAnariRenderer()
Destructor.
void SetParameter(const char *param, int, int, int)
void SetParameter(const char *param, float, float)
anari::Renderer GetHandle() const
Get the current ANARI renderer, which will be NULL if not yet setup.
void SetParameter(const char *param, bool)
Methods to set/commit generic parameteters on the underlying anari::Renderer object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetParameter(const char *param, int, int)
a simple class to control print indentation
abstract base class for most VTK objects