VTK
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
=========================================================================*/
34
#ifndef vtkCompositeRGBAPass_h
35
#define vtkCompositeRGBAPass_h
36
37
#include "vtkRenderingParallelModule.h"
// For export macro
38
#include "
vtkRenderPass.h
"
39
40
class
vtkMultiProcessController
;
41
42
class
vtkPixelBufferObject
;
43
class
vtkTextureObject
;
44
class
vtkOpenGLRenderWindow
;
45
class
vtkPKdTree
;
46
47
class
VTKRENDERINGPARALLEL_EXPORT
vtkCompositeRGBAPass
:
public
vtkRenderPass
48
{
49
public
:
50
static
vtkCompositeRGBAPass
*
New
();
51
vtkTypeMacro(
vtkCompositeRGBAPass
,
vtkRenderPass
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
53
58
void
Render
(
const
vtkRenderState
*s)
override
;
59
65
void
ReleaseGraphicsResources
(
vtkWindow
*w)
override
;
66
68
73
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
74
virtual
void
SetController(
vtkMultiProcessController
*controller);
76
78
81
vtkGetObjectMacro(Kdtree,
vtkPKdTree
);
82
virtual
void
SetKdtree(
vtkPKdTree
*kdtree);
84
88
bool
IsSupported(
vtkOpenGLRenderWindow
*context);
89
90
protected
:
94
vtkCompositeRGBAPass
();
95
99
~
vtkCompositeRGBAPass
()
override
;
100
101
vtkMultiProcessController
*
Controller
;
102
vtkPKdTree
*
Kdtree
;
103
104
vtkPixelBufferObject
*
PBO
;
105
vtkTextureObject
*
RGBATexture
;
106
vtkTextureObject
*
RootTexture
;
107
float
*
RawRGBABuffer
;
108
size_t
RawRGBABufferSize
;
109
110
private
:
111
vtkCompositeRGBAPass
(
const
vtkCompositeRGBAPass
&) =
delete
;
112
void
operator=(
const
vtkCompositeRGBAPass
&) =
delete
;
113
};
114
115
#endif
vtkRenderPass::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkCompositeRGBAPass::Kdtree
vtkPKdTree * Kdtree
Definition:
vtkCompositeRGBAPass.h:102
vtkCompositeRGBAPass::RootTexture
vtkTextureObject * RootTexture
Definition:
vtkCompositeRGBAPass.h:106
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkCompositeRGBAPass::RawRGBABuffer
float * RawRGBABuffer
Definition:
vtkCompositeRGBAPass.h:107
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
vtkRenderPass.h
vtkPKdTree
Build a k-d tree decomposition of a list of points.
Definition:
vtkPKdTree.h:57
vtkCompositeRGBAPass::RawRGBABufferSize
size_t RawRGBABufferSize
Definition:
vtkCompositeRGBAPass.h:108
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:37
vtkCompositeRGBAPass::RGBATexture
vtkTextureObject * RGBATexture
Definition:
vtkCompositeRGBAPass.h:105
vtkRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:82
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:44
vtkCompositeRGBAPass
Blend RGBA buffers of processes.
Definition:
vtkCompositeRGBAPass.h:47
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:53
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
vtkCompositeRGBAPass::Controller
vtkMultiProcessController * Controller
Definition:
vtkCompositeRGBAPass.h:101
vtkPixelBufferObject
abstracts an OpenGL pixel buffer object.
Definition:
vtkPixelBufferObject.h:43
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition:
vtkRenderPass.h:58
vtkCompositeRGBAPass::PBO
vtkPixelBufferObject * PBO
Definition:
vtkCompositeRGBAPass.h:104
Generated by
1.8.16