VTK  9.3.20240425
vtkCompositeRGBAPass.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
22#ifndef vtkCompositeRGBAPass_h
23#define vtkCompositeRGBAPass_h
24
25#include "vtkRenderPass.h"
26#include "vtkRenderingParallelModule.h" // For export macro
27
28VTK_ABI_NAMESPACE_BEGIN
30
34class vtkPKdTree;
35
36class VTKRENDERINGPARALLEL_EXPORT vtkCompositeRGBAPass : public vtkRenderPass
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
47 void Render(const vtkRenderState* s) override;
48
55
57
62 vtkGetObjectMacro(Controller, vtkMultiProcessController);
63 virtual void SetController(vtkMultiProcessController* controller);
65
67
70 vtkGetObjectMacro(Kdtree, vtkPKdTree);
71 virtual void SetKdtree(vtkPKdTree* kdtree);
73
78
79protected:
84
89
92
98
99private:
101 void operator=(const vtkCompositeRGBAPass&) = delete;
102};
103
104VTK_ABI_NAMESPACE_END
105#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:108
Multiprocessing communication superclass.
OpenGL rendering window.
Build a k-d tree decomposition of a list of points.
Definition vtkPKdTree.h:44
abstracts an OpenGL pixel buffer object.
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition vtkWindow.h:48