VTK  9.3.20240613
vtkOSPRayPointGaussianMapperNode.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
10#ifndef vtkOSPRayPointGaussianMapperNode_h
11#define vtkOSPRayPointGaussianMapperNode_h
12
14#include "vtkRenderingRayTracingModule.h" // For export macro
15
16VTK_ABI_NAMESPACE_BEGIN
18class vtkPolyData;
19
20class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayPointGaussianMapperNode
22{
23public:
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
31 void Render(bool prepass) override;
32
33protected:
36
37 void InternalRender(void* renderer, vtkOSPRayActorNode* aNode, vtkPolyData* poly, double opacity,
38 std::string material);
39
40 std::vector<OSPVolume> OSPRayVolumes;
41 std::vector<OSPVolumetricModel> VolumetricModels;
42 std::vector<OSPInstance> Instances;
44
49
54
58 int NumColors = 128;
59 int ScaleTableSize = 1024;
60 float* ScaleTable = nullptr;
61 double ScaleScale = 1.0;
62 double ScaleOffset = 0.0;
63 int OpacityTableSize = 1024;
64 float* OpacityTable = nullptr;
65 double OpacityScale = 1.0;
66 double OpacityOffset = 0.0;
69
70private:
72 void operator=(const vtkOSPRayPointGaussianMapperNode&) = delete;
73};
74
75VTK_ABI_NAMESPACE_END
76#endif
a simple class to control print indentation
Definition vtkIndent.h:108
links vtkActor and vtkMapper to OSPRay
links vtkActor and vtkMapper to OSPRay
std::vector< OSPVolumetricModel > VolumetricModels
void Render(bool prepass) override
Make ospray calls to render me.
bool GetNeedToRebuild(vtkOSPRayActorNode *)
Do frame need to be rebuilt.
void InternalRender(void *renderer, vtkOSPRayActorNode *aNode, vtkPolyData *poly, double opacity, std::string material)
void RenderVolumetricModels()
add precomputed ospray geometries to renderer model.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOSPRayPointGaussianMapperNode * New()
links vtkActor and vtkMapper to OSPRay
concrete dataset represents vertices, lines, polygons, and triangle strips
record modification and/or execution time