VTK  9.4.20241220
Namespaces | Functions
vtkOSPRayMaterialHelpers.h File Reference
#include <map>
#include <string>
#include "RTWrapper/RTWrapper.h"
Include dependency graph for vtkOSPRayMaterialHelpers.h:

Go to the source code of this file.

Namespaces

namespace  vtkOSPRayMaterialHelpers
 

Functions

OSPTexture vtkOSPRayMaterialHelpers::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 vtkOSPRayMaterialHelpers::VTKToOSPTexture (RTW::Backend *backend, vtkImageData *vColorTextureMap, bool isSRGB=false)
 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.