|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   31 #ifndef vtkOSPRayMaterialHelpers_h 
   32 #define vtkOSPRayMaterialHelpers_h 
   50   void* 
data, 
const uint32_t _flags, 
size_t sizeOf);
 
  
links vtkRenderers to OSPRay
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.
topologically and geometrically regular array of data
OSPTexture NewTexture2D(RTW::Backend *backend, const osp::vec2i &size, const OSPTextureFormat type, void *data, const uint32_t _flags, size_t sizeOf)
Helper function to make a 2d OSPRay Texture.
OSPTexture VTKToOSPTexture(RTW::Backend *backend, vtkImageData *vColorTextureMap)
Manufacture an ospray texture from a 2d vtkImageData.
OSPMaterial NewMaterial(vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string ospMatName)
Wraps ospNewMaterial.