#include <map>
#include <string>
#include "RTWrapper/RTWrapper.h"
Go to the source code of this file.
|
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.
|
|