VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "vtkRenderingParallelModule.h"
// For export macro
37
#include "
vtkRenderPass.h
"
38
39
class
vtkMultiProcessController
;
40
41
class
vtkPixelBufferObject
;
42
class
vtkTextureObject
;
43
class
vtkOpenGLRenderWindow
;
44
class
vtkPKdTree
;
45
46
class
VTKRENDERINGPARALLEL_EXPORT
vtkCompositeRGBAPass
:
public
vtkRenderPass
47
{
48
public
:
49
static
vtkCompositeRGBAPass
*
New
();
50
vtkTypeMacro(
vtkCompositeRGBAPass
,
vtkRenderPass
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
55
virtual
void
Render
(
const
vtkRenderState
*s);
56
59
void
ReleaseGraphicsResources
(
vtkWindow
*w);
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
:
80
vtkCompositeRGBAPass
();
81
83
virtual
~
vtkCompositeRGBAPass
();
84
85
vtkMultiProcessController
*
Controller
;
86
vtkPKdTree
*
Kdtree
;
87
88
vtkPixelBufferObject
*
PBO
;
89
vtkTextureObject
*
RGBATexture
;
90
vtkTextureObject
*
RootTexture
;
91
float
*
RawRGBABuffer
;
92
size_t
RawRGBABufferSize
;
93
94
private
:
95
vtkCompositeRGBAPass
(
const
vtkCompositeRGBAPass
&);
// Not implemented.
96
void
operator=(
const
vtkCompositeRGBAPass
&);
// Not implemented.
97
};
98
99
#endif
Generated on Thu May 24 2012 22:22:37 for VTK by
1.8.1