31 #ifndef vtkOSPRayMaterialHelpers_h 32 #define vtkOSPRayMaterialHelpers_h 36 #include "ospray/ospray.h" 52 OSPRenderer oRenderer,
53 std::map<std::string, OSPMaterial> &mats);
61 OSPRenderer oRenderer,
68 OSPRenderer oRenderer,
OSPMaterial NewMaterial(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string ospMatName)
Wraps ospNewMaterial or ospNewMaterial2, depending on OSPRay version.
topologically and geometrically regular array of data
OSPTexture2D VTKToOSPTexture(vtkImageData *vColorTextureMap)
Manufacture an ospray texture from a 2d vtkImageData.
OSPMaterial MakeMaterial(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string nickname)
Construct one ospray material within the given renderer that corresponds to the visual characteristic...
void MakeMaterials(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::map< std::string, OSPMaterial > &mats)
Construct a set of ospray materials for all of the material names.
links vtkRenderers to OSPRay