VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
build
buildd
vtk6-6.1.0+dfsg
Rendering
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 "
vtkRenderingParallelModule.h
"
// For export macro
37
#include "
vtkRenderPass.h
"
38
39
class
vtkMultiProcessController
;
40
41
class
vtkPixelBufferObject
;
42
class
vtkTextureObject
;
43
class
vtkShaderProgram2
;
44
class
vtkOpenGLRenderWindow
;
45
46
class
VTKRENDERINGPARALLEL_EXPORT
vtkCompositeZPass
:
public
vtkRenderPass
47
{
48
public
:
49
static
vtkCompositeZPass
*
New
();
50
vtkTypeMacro
(
vtkCompositeZPass
,
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
bool
IsSupported(
vtkOpenGLRenderWindow
*context);
70
71
protected
:
73
vtkCompositeZPass
();
74
76
virtual
~
vtkCompositeZPass
();
77
81
void
CreateProgram
(
vtkOpenGLRenderWindow
*context);
82
83
vtkMultiProcessController
*
Controller
;
84
85
vtkPixelBufferObject
*
PBO
;
86
vtkTextureObject
*
ZTexture
;
87
vtkShaderProgram2
*
Program
;
88
float
*
RawZBuffer
;
89
size_t
RawZBufferSize
;
90
91
private
:
92
vtkCompositeZPass
(
const
vtkCompositeZPass
&);
// Not implemented.
93
void
operator=(
const
vtkCompositeZPass
&);
// Not implemented.
94
};
95
96
#endif
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:40
VTKRENDERINGPARALLEL_EXPORT
#define VTKRENDERINGPARALLEL_EXPORT
Definition:
vtkRenderingParallelModule.h:15
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:619
vtkRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:36
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:39
vtkgl::w
GLubyte GLubyte GLubyte GLubyte w
Definition:
vtkgl.h:12054
vtkShaderProgram2
GLSL Program.
Definition:
vtkShaderProgram2.h:67
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkCompositeZPass::RawZBufferSize
size_t RawZBufferSize
Definition:
vtkCompositeZPass.h:89
vtkgl::CreateProgram
VTKRENDERINGOPENGL_EXPORT PFNGLCREATEPROGRAMPROC CreateProgram
vtkCompositeZPass::ZTexture
vtkTextureObject * ZTexture
Definition:
vtkCompositeZPass.h:86
vtkCompositeZPass::PBO
vtkPixelBufferObject * PBO
Definition:
vtkCompositeZPass.h:85
vtkRenderingParallelModule.h
vtkCompositeZPass::RawZBuffer
float * RawZBuffer
Definition:
vtkCompositeZPass.h:88
vtkPixelBufferObject
abstracts an OpenGL pixel buffer object.
Definition:
vtkPixelBufferObject.h:42
vtkCompositeZPass::Controller
vtkMultiProcessController * Controller
Definition:
vtkCompositeZPass.h:83
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition:
vtkSetGet.h:222
vtkCompositeZPass::Program
vtkShaderProgram2 * Program
Definition:
vtkCompositeZPass.h:87
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:39
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
vtkRenderPass::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)
vtkgl::s
GLdouble s
Definition:
vtkgl.h:11594
vtkObject::New
static vtkObject * New()
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition:
vtkRenderPass.h:54
vtkCompositeZPass
Merge depth buffers of processes.
Definition:
vtkCompositeZPass.h:46
vtkRenderPass.h
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:70
Generated on Fri May 23 2014 23:58:58 for VTK by
1.8.7