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 "vtkRenderPass.h"
37 
39 
41 class vtkTextureObject;
43 class vtkPKdTree;
44 
46 {
47 public:
48  static vtkCompositeRGBAPass *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
54  virtual void Render(const vtkRenderState *s);
55 
59 
61 
63  vtkGetObjectMacro(Controller,vtkMultiProcessController);
64  virtual void SetController(vtkMultiProcessController *controller);
66 
68 
70  vtkGetObjectMacro(Kdtree,vtkPKdTree);
71  virtual void SetKdtree(vtkPKdTree *kdtree);
73 
75  bool IsSupported(vtkOpenGLRenderWindow *context);
76 
77  protected:
80 
82  virtual ~vtkCompositeRGBAPass();
83 
86 
90  float *RawRGBABuffer;
92 
93  private:
94  vtkCompositeRGBAPass(const vtkCompositeRGBAPass&); // Not implemented.
95  void operator=(const vtkCompositeRGBAPass&); // Not implemented.
96 };
97 
98 #endif