VTK
Functions
vtkOSPRayMaterialHelpers Namespace Reference

Functions

OSPTexture2D VTKToOSPTexture (vtkImageData *vColorTextureMap)
 Manufacture an ospray texture from a 2d vtkImageData. More...
 
void MakeMaterials (vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::map< std::string, OSPMaterial > &mats)
 Construct a set of ospray materials for all of the material names. More...
 
OSPMaterial MakeMaterial (vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string nickname)
 Construct one ospray material within the given renderer that corresponds to the visual characteristics set out in the named material in the material library. More...
 
OSPMaterial NewMaterial (vtkOSPRayRendererNode *orn, OSPRenderer oRenderer, std::string ospMatName)
 Wraps ospNewMaterial or ospNewMaterial2, depending on OSPRay version. More...
 

Function Documentation

OSPTexture2D vtkOSPRayMaterialHelpers::VTKToOSPTexture ( vtkImageData vColorTextureMap)

Manufacture an ospray texture from a 2d vtkImageData.

void vtkOSPRayMaterialHelpers::MakeMaterials ( vtkOSPRayRendererNode orn,
OSPRenderer  oRenderer,
std::map< std::string, OSPMaterial > &  mats 
)

Construct a set of ospray materials for all of the material names.

OSPMaterial vtkOSPRayMaterialHelpers::MakeMaterial ( vtkOSPRayRendererNode orn,
OSPRenderer  oRenderer,
std::string  nickname 
)

Construct one ospray material within the given renderer that corresponds to the visual characteristics set out in the named material in the material library.

OSPMaterial vtkOSPRayMaterialHelpers::NewMaterial ( vtkOSPRayRendererNode orn,
OSPRenderer  oRenderer,
std::string  ospMatName 
)

Wraps ospNewMaterial or ospNewMaterial2, depending on OSPRay version.