VTK: Rendering/RayTracing/vtkOSPRayMoleculeMapperNode.h Source File

| VTK 9.3.1

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