VTK
9.0.1
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
=========================================================================*/
31
#ifndef vtkCompositeRGBAPass_h
32
#define vtkCompositeRGBAPass_h
33
34
#include "
vtkRenderPass.h
"
35
#include "vtkRenderingParallelModule.h"
// For export macro
36
37
class
vtkMultiProcessController
;
38
39
class
vtkPixelBufferObject
;
40
class
vtkTextureObject
;
41
class
vtkOpenGLRenderWindow
;
42
class
vtkPKdTree
;
43
44
class
VTKRENDERINGPARALLEL_EXPORT
vtkCompositeRGBAPass
:
public
vtkRenderPass
45
{
46
public
:
47
static
vtkCompositeRGBAPass
*
New
();
48
vtkTypeMacro(
vtkCompositeRGBAPass
,
vtkRenderPass
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
50
55
void
Render
(
const
vtkRenderState
* s)
override
;
56
62
void
ReleaseGraphicsResources
(
vtkWindow
* w)
override
;
63
65
70
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
71
virtual
void
SetController(
vtkMultiProcessController
* controller);
73
75
78
vtkGetObjectMacro(Kdtree,
vtkPKdTree
);
79
virtual
void
SetKdtree(
vtkPKdTree
* kdtree);
81
85
bool
IsSupported(
vtkOpenGLRenderWindow
* context);
86
87
protected
:
91
vtkCompositeRGBAPass
();
92
96
~
vtkCompositeRGBAPass
()
override
;
97
98
vtkMultiProcessController
*
Controller
;
99
vtkPKdTree
*
Kdtree
;
100
101
vtkPixelBufferObject
*
PBO
;
102
vtkTextureObject
*
RGBATexture
;
103
vtkTextureObject
*
RootTexture
;
104
float
*
RawRGBABuffer
;
105
size_t
RawRGBABufferSize
;
106
107
private
:
108
vtkCompositeRGBAPass
(
const
vtkCompositeRGBAPass
&) =
delete
;
109
void
operator=(
const
vtkCompositeRGBAPass
&) =
delete
;
110
};
111
112
#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:99
vtkCompositeRGBAPass::RootTexture
vtkTextureObject * RootTexture
Definition:
vtkCompositeRGBAPass.h:103
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:104
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:105
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:37
vtkCompositeRGBAPass::RGBATexture
vtkTextureObject * RGBATexture
Definition:
vtkCompositeRGBAPass.h:102
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:75
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:40
vtkCompositeRGBAPass
Blend RGBA buffers of processes.
Definition:
vtkCompositeRGBAPass.h:44
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:51
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
vtkCompositeRGBAPass::Controller
vtkMultiProcessController * Controller
Definition:
vtkCompositeRGBAPass.h:98
vtkPixelBufferObject
abstracts an OpenGL pixel buffer object.
Definition:
vtkPixelBufferObject.h:43
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition:
vtkRenderPass.h:56
vtkCompositeRGBAPass::PBO
vtkPixelBufferObject * PBO
Definition:
vtkCompositeRGBAPass.h:101
Generated on Thu Jun 25 2020 08:31:00 for VTK by
1.8.17