VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
vtkCompositeZPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCompositeZPass.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 __vtkCompositeZPass_h
34
#define __vtkCompositeZPass_h
35
36
#include "
vtkRenderPass.h
"
37
38
class
vtkMultiProcessController
;
39
40
class
vtkPixelBufferObject
;
41
class
vtkTextureObject
;
42
class
vtkShaderProgram2
;
43
class
vtkOpenGLRenderWindow
;
44
45
class
VTK_PARALLEL_EXPORT
vtkCompositeZPass
:
public
vtkRenderPass
46
{
47
public
:
48
static
vtkCompositeZPass
*
New
();
49
vtkTypeMacro(
vtkCompositeZPass
,
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
bool
IsSupported(
vtkOpenGLRenderWindow
*context);
69
70
protected
:
72
vtkCompositeZPass
();
73
75
virtual
~
vtkCompositeZPass
();
76
80
void
CreateProgram(
vtkOpenGLRenderWindow
*context);
81
82
vtkMultiProcessController
*
Controller
;
83
84
vtkPixelBufferObject
*
PBO
;
85
vtkTextureObject
*
ZTexture
;
86
vtkShaderProgram2
*
Program
;
87
float
*
RawZBuffer
;
88
size_t
RawZBufferSize
;
89
90
private
:
91
vtkCompositeZPass
(
const
vtkCompositeZPass
&);
// Not implemented.
92
void
operator=(
const
vtkCompositeZPass
&);
// Not implemented.
93
};
94
95
#endif
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:39
vtkRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:35
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:38
vtkShaderProgram2
GLSL Program.
Definition:
vtkShaderProgram2.h:67
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkCompositeZPass::RawZBufferSize
size_t RawZBufferSize
Definition:
vtkCompositeZPass.h:88
vtkCompositeZPass::ZTexture
vtkTextureObject * ZTexture
Definition:
vtkCompositeZPass.h:85
vtkCompositeZPass::PBO
vtkPixelBufferObject * PBO
Definition:
vtkCompositeZPass.h:84
vtkCompositeZPass::RawZBuffer
float * RawZBuffer
Definition:
vtkCompositeZPass.h:87
vtkPixelBufferObject
abstracts an OpenGL pixel buffer object.
Definition:
vtkPixelBufferObject.h:38
vtkCompositeZPass::Controller
vtkMultiProcessController * Controller
Definition:
vtkCompositeZPass.h:82
vtkCompositeZPass::Program
vtkShaderProgram2 * Program
Definition:
vtkCompositeZPass.h:86
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:35
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
VTK_PARALLEL_EXPORT
#define VTK_PARALLEL_EXPORT
Definition:
vtkWin32Header.h:283
vtkRenderPass::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)
vtkObject::New
static vtkObject * New()
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition:
vtkRenderPass.h:53
vtkCompositeZPass
Merge depth buffers of processes.
Definition:
vtkCompositeZPass.h:45
vtkRenderPass.h
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:69
Generated on Sun Oct 19 2014 13:07:27 for VTK by
1.8.8