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 =========================================================================*/
27 #ifndef vtkOSPRayPass_h
28 #define vtkOSPRayPass_h
29 
30 #include "vtkRenderingOSPRayModule.h" // For export macro
31 #include "vtkRenderPass.h"
32 
33 class vtkCameraPass;
34 class vtkLightsPass;
35 class vtkOSPRayPassInternals;
37 class vtkOverlayPass;
39 class vtkSequencePass;
40 class vtkVolumetricPass;
41 
42 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayPass : public vtkRenderPass
43 {
44 public:
45  static vtkOSPRayPass *New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
52  virtual void Render(const vtkRenderState *s);
53 
55 
58  void SetSceneGraph(vtkOSPRayRendererNode *);
59  vtkGetObjectMacro(SceneGraph, vtkOSPRayRendererNode);
61 
65  virtual void RenderInternal(const vtkRenderState *s);
66 
67  protected:
71  vtkOSPRayPass();
72 
76  virtual ~vtkOSPRayPass();
77 
85 
86  private:
87  vtkOSPRayPass(const vtkOSPRayPass&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkOSPRayPass&) VTK_DELETE_FUNCTION;
89 
90  class Internals;
91  vtkOSPRayPassInternals *Internal;
92 };
93 
94 #endif
vtkRenderPassCollection * RenderPassCollection
Definition: vtkOSPRayPass.h:84
vtkLightsPass * LightsPass
Definition: vtkOSPRayPass.h:80
Execute render passes sequentially.
Render the volumetric geometry with property key filtering.
vtkOSPRayRendererNode * SceneGraph
Definition: vtkOSPRayPass.h:78
Implement the camera render pass.
Definition: vtkCameraPass.h:38
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Render the overlay geometry with property key filtering.
Context in which a vtkRenderPass will render.
vtkCameraPass * CameraPass
Definition: vtkOSPRayPass.h:79
a render pass that uses OSPRay instead of GL
Definition: vtkOSPRayPass.h:42
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkOverlayPass * OverlayPass
Definition: vtkOSPRayPass.h:81
vtkSequencePass * SequencePass
Definition: vtkOSPRayPass.h:83
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
a 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:37
vtkVolumetricPass * VolumetricPass
Definition: vtkOSPRayPass.h:82