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 =========================================================================*/
37 #ifndef vtkOSPRayPass_h
38 #define vtkOSPRayPass_h
39 
40 #include "vtkRenderingOSPRayModule.h" // For export macro
41 #include "vtkRenderPass.h"
42 
43 class vtkCameraPass;
44 class vtkLightsPass;
45 class vtkOSPRayPassInternals;
47 class vtkOverlayPass;
49 class vtkSequencePass;
50 class vtkVolumetricPass;
51 
52 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayPass : public vtkRenderPass
53 {
54 public:
55  static vtkOSPRayPass *New();
57  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
62  virtual void Render(const vtkRenderState *s) override;
63 
65 
68  void SetSceneGraph(vtkOSPRayRendererNode *);
69  vtkGetObjectMacro(SceneGraph, vtkOSPRayRendererNode);
71 
75  virtual void RenderInternal(const vtkRenderState *s);
76 
77  protected:
81  vtkOSPRayPass();
82 
86  virtual ~vtkOSPRayPass();
87 
95 
96  private:
97  vtkOSPRayPass(const vtkOSPRayPass&) = delete;
98  void operator=(const vtkOSPRayPass&) = delete;
99 
100  vtkOSPRayPassInternals *Internal;
101 };
102 
103 #endif
vtkRenderPassCollection * RenderPassCollection
Definition: vtkOSPRayPass.h:94
vtkLightsPass * LightsPass
Definition: vtkOSPRayPass.h:90
Execute render passes sequentially.
Render the volumetric geometry with property key filtering.
vtkOSPRayRendererNode * SceneGraph
Definition: vtkOSPRayPass.h:88
Implement the camera render pass.
Definition: vtkCameraPass.h:38
Render the overlay geometry with property key filtering.
Context in which a vtkRenderPass will render.
vtkCameraPass * CameraPass
Definition: vtkOSPRayPass.h:89
a render pass that uses OSPRay instead of GL
Definition: vtkOSPRayPass.h:52
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkOverlayPass * OverlayPass
Definition: vtkOSPRayPass.h:91
vtkSequencePass * SequencePass
Definition: vtkOSPRayPass.h:93
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:55
links vtkRenderers to OSPRay
Implement the lights render pass.
Definition: vtkLightsPass.h:37
vtkVolumetricPass * VolumetricPass
Definition: vtkOSPRayPass.h:92
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.