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