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
33class vtkCameraPass;
34class vtkLightsPass;
35class vtkOSPRayPassInternals;
37class vtkOverlayPass;
39class vtkSequencePass;
41
42class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayPass : public vtkRenderPass
43{
44public:
45 static vtkOSPRayPass *New();
47 void PrintSelf(ostream& os, vtkIndent indent);
48
52 virtual void Render(const vtkRenderState *s);
53
55
59 vtkGetObjectMacro(SceneGraph, vtkOSPRayRendererNode);
61
65 virtual void RenderInternal(const vtkRenderState *s);
66
67 protected:
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
Implement the camera render pass.
Definition: vtkCameraPass.h:42
a simple class to control print indentation
Definition: vtkIndent.h:40
Implement the lights render pass.
Definition: vtkLightsPass.h:41
a render pass that uses OSPRay instead of GL
Definition: vtkOSPRayPass.h:43
vtkOSPRayPass()
Default constructor.
virtual ~vtkOSPRayPass()
Destructor.
vtkOSPRayRendererNode * SceneGraph
Definition: vtkOSPRayPass.h:78
vtkLightsPass * LightsPass
Definition: vtkOSPRayPass.h:80
static vtkOSPRayPass * New()
virtual void RenderInternal(const vtkRenderState *s)
Called by the internals of this class.
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkOverlayPass * OverlayPass
Definition: vtkOSPRayPass.h:81
vtkCameraPass * CameraPass
Definition: vtkOSPRayPass.h:79
vtkSequencePass * SequencePass
Definition: vtkOSPRayPass.h:83
vtkRenderPassCollection * RenderPassCollection
Definition: vtkOSPRayPass.h:84
void SetSceneGraph(vtkOSPRayRendererNode *)
Tells the pass what it will render.
vtkVolumetricPass * VolumetricPass
Definition: vtkOSPRayPass.h:82
links vtkRenderers to OSPRay
Render the overlay geometry with property key filtering.
a list of RenderPasses
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:59
Context in which a vtkRenderPass will render.
Execute render passes sequentially.
Render the volumetric geometry with property key filtering.