VTK  9.4.20241118
vtkOSPRayMoleculeMapperNode.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 vtkOSPRayMoleculeMapperNode_h
11#define vtkOSPRayMoleculeMapperNode_h
12
14#include "vtkRenderingRayTracingModule.h" // For export macro
15
16#include "RTWrapper/RTWrapper.h" // for handle types
17#include <vector> // for std::vector
18
19VTK_ABI_NAMESPACE_BEGIN
20class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayMoleculeMapperNode : public vtkPolyDataMapperNode
21{
22public:
25 void PrintSelf(ostream& os, vtkIndent indent) override;
26
30 void Render(bool prepass) override;
31
32protected:
35
37 std::vector<OSPGeometricModel> GeometricModels;
38 std::vector<OSPInstance> Instances;
39
40private:
42 void operator=(const vtkOSPRayMoleculeMapperNode&) = delete;
43};
44VTK_ABI_NAMESPACE_END
45#endif
a simple class to control print indentation
Definition vtkIndent.h:108
links vtkMoleculeMapper to OSPRay
std::vector< OSPInstance > Instances
static vtkOSPRayMoleculeMapperNode * New()
void Render(bool prepass) override
Make ospray calls to render me.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::vector< OSPGeometricModel > GeometricModels
~vtkOSPRayMoleculeMapperNode() override
vtkViewNode specialized for vtkPolyDataMappers
record modification and/or execution time