VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
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
38
class
vtkMultiProcessController
;
39
40
class
vtkPixelBufferObject
;
41
class
vtkTextureObject
;
42
class
vtkOpenGLRenderWindow
;
43
class
vtkPKdTree
;
44
45
class
VTK_PARALLEL_EXPORT
vtkCompositeRGBAPass
:
public
vtkRenderPass
46
{
47
public
:
48
static
vtkCompositeRGBAPass
*
New
();
49
vtkTypeMacro(
vtkCompositeRGBAPass
,
vtkRenderPass
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent);
51
54
virtual
void
Render
(
const
vtkRenderState
*s);
55
58
void
ReleaseGraphicsResources
(
vtkWindow
*w);
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
:
79
vtkCompositeRGBAPass
();
80
82
virtual
~
vtkCompositeRGBAPass
();
83
84
vtkMultiProcessController
*
Controller
;
85
vtkPKdTree
*
Kdtree
;
86
87
vtkPixelBufferObject
*
PBO
;
88
vtkTextureObject
*
RGBATexture
;
89
vtkTextureObject
*
RootTexture
;
90
float
*
RawRGBABuffer
;
91
size_t
RawRGBABufferSize
;
92
93
private
:
94
vtkCompositeRGBAPass
(
const
vtkCompositeRGBAPass
&);
// Not implemented.
95
void
operator=(
const
vtkCompositeRGBAPass
&);
// Not implemented.
96
};
97
98
#endif
Generated on Sun Sep 9 2012 13:03:43 for VTK by
1.8.1.2