14#ifndef vtkAnariPolyDataMapperNode_h
15#define vtkAnariPolyDataMapperNode_h
18#include "vtkRenderingAnariModule.h"
20VTK_ABI_NAMESPACE_BEGIN
24class vtkAnariPolyDataMapperNodeInternals;
39 void Build(
bool prepass)
override;
67 double opacity,
const std::string& materialName);
69 vtkAnariPolyDataMapperNodeInternals*
Internal{
nullptr };
represents an object (geometry & properties) in a rendered scene
links vtkActor and vtkMapper to ANARI
Interface for inheriting classes for overriding mapper functionality.
links vtkActor and vtkMapper to ANARI
vtkAnariSceneGraph * RendererNode
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
vtkAnariPolyDataMapperNodeInternals * Internal
bool ActorWasModified() const
~vtkAnariPolyDataMapperNode() override
void SetInheritInterface(vtkAnariPolyDataMapperInheritInterface *inheritInterface)
void Synchronize(bool prepass) override
Sync ANARIGeometry + ANARIMaterial parameters with vtkPolyData.
void AnariRenderPoly(vtkAnariActorNode *anariActorNode, vtkPolyData *poly, double *diffuse, double opacity, const std::string &materialName)
void RenderSurfaceModels()
static vtkAnariPolyDataMapperNode * New()
void Build(bool prepass) override
Ensure this node has been initialized.
void Invalidate(bool prepass) override
Invalidates cached rendering data.
vtkAnariPolyDataMapperNode()
vtkActor * GetVtkActor() const
links vtkRenderers to ANARI
a simple class to control print indentation
concrete dataset represents vertices, lines, polygons, and triangle strips