VTK
vtkOSPRayPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayPass.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 =========================================================================*/
40 #ifndef vtkOSPRayPass_h
41 #define vtkOSPRayPass_h
42 
43 #include "vtkRenderingOSPRayModule.h" // For export macro
44 #include "vtkRenderPass.h"
45 
46 class vtkCameraPass;
47 class vtkLightsPass;
48 class vtkOSPRayPassInternals;
50 class vtkOverlayPass;
52 class vtkSequencePass;
53 class vtkVolumetricPass;
54 
55 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayPass : public vtkRenderPass
56 {
57 public:
58  static vtkOSPRayPass *New();
60  void PrintSelf(ostream& os, vtkIndent indent) override;
61 
65  virtual void Render(const vtkRenderState *s) override;
66 
68 
71  void SetSceneGraph(vtkOSPRayRendererNode *);
72  vtkGetObjectMacro(SceneGraph, vtkOSPRayRendererNode);
74 
78  virtual void RenderInternal(const vtkRenderState *s);
79 
80  protected:
84  vtkOSPRayPass();
85 
89  virtual ~vtkOSPRayPass();
90 
98 
99  private:
100  vtkOSPRayPass(const vtkOSPRayPass&) = delete;
101  void operator=(const vtkOSPRayPass&) = delete;
102 
103  vtkOSPRayPassInternals *Internal;
104 };
105 
106 #endif
vtkRenderPassCollection * RenderPassCollection
Definition: vtkOSPRayPass.h:97
vtkLightsPass * LightsPass
Definition: vtkOSPRayPass.h:93
Execute render passes sequentially.
Render the volumetric geometry with property key filtering.
vtkOSPRayRendererNode * SceneGraph
Definition: vtkOSPRayPass.h:91
Implement the camera render pass.
Definition: vtkCameraPass.h:41
Render the overlay geometry with property key filtering.
Context in which a vtkRenderPass will render.
vtkCameraPass * CameraPass
Definition: vtkOSPRayPass.h:92
a render pass that uses OSPRay instead of GL
Definition: vtkOSPRayPass.h:55
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkOverlayPass * OverlayPass
Definition: vtkOSPRayPass.h:94
vtkSequencePass * SequencePass
Definition: vtkOSPRayPass.h:96
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
an ordered list of RenderPasses
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:58
links vtkRenderers to OSPRay
Implement the lights render pass.
Definition: vtkLightsPass.h:40
vtkVolumetricPass * VolumetricPass
Definition: vtkOSPRayPass.h:95
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.