VTK  9.0.1
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 
40 class vtkTextureObject;
42 class vtkPKdTree;
43 
44 class VTKRENDERINGPARALLEL_EXPORT vtkCompositeRGBAPass : public vtkRenderPass
45 {
46 public:
47  static vtkCompositeRGBAPass* New();
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
55  void Render(const vtkRenderState* s) override;
56 
62  void ReleaseGraphicsResources(vtkWindow* w) override;
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 
85  bool IsSupported(vtkOpenGLRenderWindow* context);
86 
87 protected:
92 
96  ~vtkCompositeRGBAPass() override;
97 
100 
106 
107 private:
109  void operator=(const vtkCompositeRGBAPass&) = delete;
110 };
111 
112 #endif
vtkTextureObject * RGBATexture
OpenGL rendering window.
Build a k-d tree decomposition of a list of points.
Definition: vtkPKdTree.h:57
vtkPixelBufferObject * PBO
Blend RGBA buffers of processes.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:33
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:56
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.