22#ifndef vtkOSPRayPolyDataMapperNode_h
23#define vtkOSPRayPolyDataMapperNode_h
27#include "vtkRenderingRayTracingModule.h"
54 double* ambientColor,
double* diffuseColor,
double opacity, std::string material);
a simple class to control print indentation
links vtkActor and vtkMapper to OSPRay
links vtkActor and vtkMapper to OSPRay
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ORenderPoly(void *renderer, vtkOSPRayActorNode *aNode, vtkPolyData *poly, double *ambientColor, double *diffuseColor, double opacity, std::string material)
void ClearGeometricModels()
static vtkOSPRayPolyDataMapperNode * New()
void Invalidate(bool prepass) override
Invalidates cached rendering data.
std::vector< OSPGeometricModel > GeometricModels
vtkOSPRayPolyDataMapperNode()
~vtkOSPRayPolyDataMapperNode() override
void Render(bool prepass) override
Make ospray calls to render me.
std::vector< OSPInstance > Instances
void RenderGeometricModels()
add precomputed ospray geometries to renderer model.
vtkViewNode specialized for vtkPolyDataMappers
concrete dataset represents vertices, lines, polygons, and triangle strips