VTK  9.2.5
vtkCompositeZPass.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCompositeZPass.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=========================================================================*/
34#ifndef vtkCompositeZPass_h
35#define vtkCompositeZPass_h
36
37#include "vtkRenderPass.h"
38#include "vtkRenderingParallelModule.h" // For export macro
39
41
45class vtkOpenGLHelper;
46
47class VTKRENDERINGPARALLEL_EXPORT vtkCompositeZPass : public vtkRenderPass
48{
49public:
52 void PrintSelf(ostream& os, vtkIndent indent) override;
53
58 void Render(const vtkRenderState* s) override;
59
66
68
73 vtkGetObjectMacro(Controller, vtkMultiProcessController);
74 virtual void SetController(vtkMultiProcessController* controller);
76
81
82protected:
87
92
100
102
108
109private:
110 vtkCompositeZPass(const vtkCompositeZPass&) = delete;
111 void operator=(const vtkCompositeZPass&) = delete;
112};
113
114#endif
Merge depth buffers of processes.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkMultiProcessController * Controller
virtual void SetController(vtkMultiProcessController *controller)
Controller If it is NULL, nothing will be rendered and a warning will be emitted.
vtkTextureObject * ZTexture
vtkOpenGLHelper * Program
bool IsSupported(vtkOpenGLRenderWindow *context)
Is the pass supported by the OpenGL context?
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPixelBufferObject * PBO
static vtkCompositeZPass * New()
void CreateProgram(vtkOpenGLRenderWindow *context)
Create program for texture mapping.
vtkCompositeZPass()
Default constructor.
~vtkCompositeZPass() override
Destructor.
a simple class to control print indentation
Definition: vtkIndent.h:40
Multiprocessing communication superclass.
OpenGL rendering window.
abstracts an OpenGL pixel buffer object.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:60
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39