14#ifndef vtkAnariPolyDataMapperNode_h
15#define vtkAnariPolyDataMapperNode_h
18#include "vtkRenderingAnariModule.h"
20VTK_ABI_NAMESPACE_BEGIN
23class vtkAnariPolyDataMapperNodeInternals;
39 void Build(
bool prepass)
override;
64 double*
const diffuse,
const double opacity,
const std::string& materialName);
66 vtkAnariPolyDataMapperNodeInternals* Internal{
nullptr };
represents an object (geometry & properties) in a rendered scene
links vtkActor and vtkMapper to ANARI
links vtkActor and vtkMapper to ANARI
void Render(bool prepass) override
Make ANARI calls to render me.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAnariActorNode * GetAnariActorNode() const
bool ActorWasModified() const
void Synchronize(bool prepass) override
Sync ANARIGeometry + ANARIMaterial parameters with vtkPolyData.
void RenderSurfaceModels()
static vtkAnariPolyDataMapperNode * New()
void Build(bool prepass) override
Ensure this node has been intialized.
void AnariRenderPoly(vtkAnariActorNode *const anariActorNode, vtkPolyData *const poly, double *const diffuse, const double opacity, const std::string &materialName)
~vtkAnariPolyDataMapperNode()
void Invalidate(bool prepass) override
Invalidates cached rendering data.
vtkAnariPolyDataMapperNode()
vtkActor * GetVtkActor() const
links vtkRenderers to ANARI
Extracts outer surface (as vtkPolyData) of any dataset.
a simple class to control print indentation
vtkViewNode specialized for vtkPolyDataMappers
concrete dataset represents vertices, lines, polygons, and triangle strips