VTK
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 =========================================================================*/
33 #ifndef vtkCompositeRGBAPass_h
34 #define vtkCompositeRGBAPass_h
35 
36 #include "vtkRenderingParallelModule.h" // For export macro
37 #include "vtkRenderPass.h"
38 
40 
42 class vtkTextureObject;
44 class vtkPKdTree;
45 
46 class VTKRENDERINGPARALLEL_EXPORT vtkCompositeRGBAPass : public vtkRenderPass
47 {
48 public:
49  static vtkCompositeRGBAPass *New();
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
55  virtual void Render(const vtkRenderState *s);
56 
60 
62 
64  vtkGetObjectMacro(Controller,vtkMultiProcessController);
65  virtual void SetController(vtkMultiProcessController *controller);
67 
69 
71  vtkGetObjectMacro(Kdtree,vtkPKdTree);
72  virtual void SetKdtree(vtkPKdTree *kdtree);
74 
76  bool IsSupported(vtkOpenGLRenderWindow *context);
77 
78  protected:
81 
83  virtual ~vtkCompositeRGBAPass();
84 
87 
91  float *RawRGBABuffer;
93 
94  private:
95  vtkCompositeRGBAPass(const vtkCompositeRGBAPass&); // Not implemented.
96  void operator=(const vtkCompositeRGBAPass&); // Not implemented.
97 };
98 
99 #endif
vtkTextureObject * RGBATexture
OpenGL rendering window.
Build a k-d tree decomposition of a list of points.
Definition: vtkPKdTree.h:54
vtkPixelBufferObject * PBO
void PrintSelf(ostream &os, vtkIndent indent)
Blend RGBA buffers of processes.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkTextureObject * RootTexture
abstracts an OpenGL pixel buffer object.
abstracts an OpenGL texture object.
virtual void Render(const vtkRenderState *s)=0
virtual void ReleaseGraphicsResources(vtkWindow *w)
vtkMultiProcessController * Controller
static vtkObject * New()
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:54
Multiprocessing communication superclass.