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
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
vtkCompositeRGBAPass::RGBATexture
vtkTextureObject * RGBATexture
Definition:
vtkCompositeRGBAPass.h:89
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:40
vtkPKdTree
Build a k-d tree decomposition of a list of points.
Definition:
vtkPKdTree.h:54
vtkCompositeRGBAPass::PBO
vtkPixelBufferObject * PBO
Definition:
vtkCompositeRGBAPass.h:88
vtkCompositeRGBAPass::RawRGBABufferSize
size_t RawRGBABufferSize
Definition:
vtkCompositeRGBAPass.h:92
VTKRENDERINGPARALLEL_EXPORT
#define VTKRENDERINGPARALLEL_EXPORT
Definition:
vtkRenderingParallelModule.h:15
vtkRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkCompositeRGBAPass
Blend RGBA buffers of processes.
Definition:
vtkCompositeRGBAPass.h:46
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:33
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:39
vtkCompositeRGBAPass::Kdtree
vtkPKdTree * Kdtree
Definition:
vtkCompositeRGBAPass.h:86
vtkgl::w
GLubyte GLubyte GLubyte GLubyte w
Definition:
vtkgl.h:12054
vtkCompositeRGBAPass::RawRGBABuffer
float * RawRGBABuffer
Definition:
vtkCompositeRGBAPass.h:91
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkCompositeRGBAPass::RootTexture
vtkTextureObject * RootTexture
Definition:
vtkCompositeRGBAPass.h:90
vtkRenderingParallelModule.h
vtkPixelBufferObject
abstracts an OpenGL pixel buffer object.
Definition:
vtkPixelBufferObject.h:42
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)
vtkCompositeRGBAPass::Controller
vtkMultiProcessController * Controller
Definition:
vtkCompositeRGBAPass.h:85
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
vtkRenderPass.h
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:70
Generated on Thu Mar 12 2015 20:32:00 for VTK by
1.8.8