19#ifndef vtkOSPRayMaterialHelpers_h
20#define vtkOSPRayMaterialHelpers_h
27VTK_ABI_NAMESPACE_BEGIN
34VTK_ABI_NAMESPACE_BEGIN
41 void* data,
const uint32_t _flags);
topologically and geometrically regular array of data
links vtkRenderers to OSPRay
OSPTexture NewTexture2D(RTW::Backend *backend, const osp::vec2i &size, const OSPTextureFormat type, void *data, const uint32_t _flags)
Helper function to make a 2d OSPRay Texture.
OSPTexture VTKToOSPTexture(RTW::Backend *backend, vtkImageData *vColorTextureMap, bool isSRGB=false)
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.
OSPMaterial NewMaterial(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string ospMatName)
Wraps ospNewMaterial.