VTK  9.2.6
vtkOSPRayMoleculeMapperNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayMoleculeMapperNode.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkOSPRayMoleculeMapperNode_h
23 #define vtkOSPRayMoleculeMapperNode_h
24 
25 #include "vtkPolyDataMapperNode.h"
26 #include "vtkRenderingRayTracingModule.h" // For export macro
27 
28 #include "RTWrapper/RTWrapper.h" // for handle types
29 #include <vector> // for std::vector
30 
31 class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayMoleculeMapperNode : public vtkPolyDataMapperNode
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
41  void Render(bool prepass) override;
42 
43 protected:
45  ~vtkOSPRayMoleculeMapperNode() override;
46 
48  std::vector<OSPGeometricModel> GeometricModels;
49  std::vector<OSPInstance> Instances;
50 
51 private:
53  void operator=(const vtkOSPRayMoleculeMapperNode&) = delete;
54 };
55 #endif
vtkViewNode specialized for vtkPolyDataMappers
std::vector< OSPGeometricModel > GeometricModels
record modification and/or execution time
Definition: vtkTimeStamp.h:35
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
std::vector< OSPInstance > Instances
links vtkMoleculeMapper to OSPRay
static vtkPolyDataMapperNode * New()
virtual void Render(bool)
Makes calls to make self visible.
Definition: vtkViewNode.h:67