VTK  9.3.1
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 
28 VTK_ABI_NAMESPACE_BEGIN
30 
32 class vtkTextureObject;
34 class vtkPKdTree;
35 
36 class VTKRENDERINGPARALLEL_EXPORT vtkCompositeRGBAPass : public vtkRenderPass
37 {
38 public:
39  static vtkCompositeRGBAPass* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
47  void Render(const vtkRenderState* s) override;
48 
54  void ReleaseGraphicsResources(vtkWindow* w) override;
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 
77  bool IsSupported(vtkOpenGLRenderWindow* context);
78 
79 protected:
84 
88  ~vtkCompositeRGBAPass() override;
89 
92 
96  float* RawRGBABuffer;
98 
99 private:
101  void operator=(const vtkCompositeRGBAPass&) = delete;
102 };
103 
104 VTK_ABI_NAMESPACE_END
105 #endif
vtkTextureObject * RGBATexture
OpenGL rendering window.
Build a k-d tree decomposition of a list of points.
Definition: vtkPKdTree.h:43
vtkPixelBufferObject * PBO
Blend RGBA buffers of processes.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:27
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
vtkTextureObject * RootTexture
abstracts an OpenGL pixel buffer object.
abstracts an OpenGL texture object.
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkMultiProcessController * Controller
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:48
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.