19#ifndef vtkAnariLightNode_h
20#define vtkAnariLightNode_h
23#include "vtkRenderingAnariModule.h"
25VTK_ABI_NAMESPACE_BEGIN
27struct vtkAnariLightNodeInternals;
43 void Build(
bool prepass)
override;
116 bool LightWasModified()
const;
118 vtkAnariLightNodeInternals* Internals{
nullptr };
static void SetLightScale(double, vtkLight *)
Convenience method to set/get LIGHT_SCALE on a vtkLight.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static double GetRadius(vtkLight *)
static vtkAnariLightNode * New()
~vtkAnariLightNode() override
void Render(bool prepass) override
Make ANARI calls to render me.
void Invalidate(bool prepass) override
Invalidates cached rendering data.
static void SetRadius(double, vtkLight *)
Convenience method to set/get RADIUS on a vtkLight.
static double GetFalloffAngle(vtkLight *)
static double GetLightScale(vtkLight *)
Convenience method to set/get LIGHT_SCALE on a vtkLight.
static void SetFalloffAngle(double, vtkLight *)
Convenience method to set/get FALLOFF_ANGLE on a vtkLight.
void Synchronize(bool prepass) override
Sync ANARICamera parameters with vtkCamera.
void Build(bool prepass) override
Ensure the right type of ANARICamera object is being held.
links vtkRenderers to ANARI
a simple class to control print indentation
vtkViewNode specialized for vtkLights
a virtual light for 3D rendering