VTK  9.1.0
vtkCompositeRGBAPass.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCompositeRGBAPass.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=========================================================================*/
31#ifndef vtkCompositeRGBAPass_h
32#define vtkCompositeRGBAPass_h
33
34#include "vtkRenderPass.h"
35#include "vtkRenderingParallelModule.h" // For export macro
36
38
42class vtkPKdTree;
43
44class VTKRENDERINGPARALLEL_EXPORT vtkCompositeRGBAPass : public vtkRenderPass
45{
46public:
49 void PrintSelf(ostream& os, vtkIndent indent) override;
50
55 void Render(const vtkRenderState* s) override;
56
63
65
70 vtkGetObjectMacro(Controller, vtkMultiProcessController);
71 virtual void SetController(vtkMultiProcessController* controller);
73
75
78 vtkGetObjectMacro(Kdtree, vtkPKdTree);
79 virtual void SetKdtree(vtkPKdTree* kdtree);
81
86
87protected:
92
97
100
106
107private:
109 void operator=(const vtkCompositeRGBAPass&) = delete;
110};
111
112#endif
Blend RGBA buffers of processes.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
bool IsSupported(vtkOpenGLRenderWindow *context)
Is the pass supported by the OpenGL context?
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.
vtkPixelBufferObject * PBO
~vtkCompositeRGBAPass() override
Destructor.
vtkTextureObject * RootTexture
vtkTextureObject * RGBATexture
virtual void SetKdtree(vtkPKdTree *kdtree)
kd tree that gives processes ordering.
static vtkCompositeRGBAPass * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCompositeRGBAPass()
Default constructor.
a simple class to control print indentation
Definition: vtkIndent.h:113
Multiprocessing communication superclass.
OpenGL rendering window.
Build a k-d tree decomposition of a list of points.
Definition: vtkPKdTree.h:58
abstracts an OpenGL pixel buffer object.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:57
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39