VTK  9.1.0
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
26#include "vtkRenderingRayTracingModule.h" // For export macro
27
28#include "RTWrapper/RTWrapper.h" // for handle types
29#include <vector> // for std::vector
30
31class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayMoleculeMapperNode : public vtkPolyDataMapperNode
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
41 void Render(bool prepass) override;
42
43protected:
46
48 std::vector<OSPGeometricModel> GeometricModels;
49 std::vector<OSPInstance> Instances;
50
51private:
53 void operator=(const vtkOSPRayMoleculeMapperNode&) = delete;
54};
55#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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
Definition: vtkTimeStamp.h:52