VTK
dox
Rendering
OpenGL2
vtkPointFillPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPointFillPass.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 vtkPointFillPass_h
32
#define vtkPointFillPass_h
33
34
#include "vtkRenderingOpenGL2Module.h"
// For export macro
35
#include "
vtkDepthImageProcessingPass.h
"
36
37
class
vtkDepthPeelingPassLayerList;
// Pimpl
38
class
vtkFrameBufferObject
;
39
class
vtkOpenGLHelper
;
40
class
vtkOpenGLRenderWindow
;
41
class
vtkTextureObject
;
42
43
class
VTKRENDERINGOPENGL2_EXPORT
vtkPointFillPass
:
public
vtkDepthImageProcessingPass
44
{
45
public
:
46
static
vtkPointFillPass
*
New
();
47
vtkTypeMacro(
vtkPointFillPass
,
vtkDepthImageProcessingPass
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
54
virtual
void
Render
(
const
vtkRenderState
*s);
55
61
void
ReleaseGraphicsResources
(
vtkWindow
*w);
62
64
70
vtkSetMacro
(CandidatePointRatio,
float
);
71
vtkGetMacro(CandidatePointRatio,
float
);
73
75
81
vtkSetMacro
(MinimumCandidateAngle,
float
);
82
vtkGetMacro(MinimumCandidateAngle,
float
);
84
85
protected
:
89
vtkPointFillPass
();
90
94
virtual
~
vtkPointFillPass
();
95
99
vtkFrameBufferObject
*
FrameBufferObject
;
100
vtkTextureObject
*
Pass1
;
// render target for the scene
101
vtkTextureObject
*
Pass1Depth
;
// render target for the depth
102
103
// Structures for the various cell types we render.
104
vtkOpenGLHelper
*
BlurProgram
;
105
106
bool
Supported
;
107
bool
SupportProbed
;
108
109
float
CandidatePointRatio
;
110
float
MinimumCandidateAngle
;
111
112
private
:
113
vtkPointFillPass
(
const
vtkPointFillPass
&) VTK_DELETE_FUNCTION;
114
void
operator=(
const
vtkPointFillPass
&) VTK_DELETE_FUNCTION;
115
};
116
117
#endif
vtkDepthImageProcessingPass
Convenient class for post-processing passes. Based on vtkImageProcessingPass, but writes depth as wel...
Definition:
vtkDepthImageProcessingPass.h:62
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
Definition:
vtkFrameBufferObject.h:46
vtkDepthImageProcessingPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkDepthImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPointFillPass::Supported
bool Supported
Definition:
vtkPointFillPass.h:106
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
vtkPointFillPass
Implement a post-processing fillpass.
Definition:
vtkPointFillPass.h:43
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:34
vtkPointFillPass::FrameBufferObject
vtkFrameBufferObject * FrameBufferObject
Graphics resources.
Definition:
vtkPointFillPass.h:99
vtkPointFillPass::Pass1Depth
vtkTextureObject * Pass1Depth
Definition:
vtkPointFillPass.h:101
vtkPointFillPass::SupportProbed
bool SupportProbed
Definition:
vtkPointFillPass.h:107
vtkPointFillPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition:
vtkPointFillPass.h:104
vtkPointFillPass::Pass1
vtkTextureObject * Pass1
Definition:
vtkPointFillPass.h:100
vtkOpenGLHelper
Definition:
vtkOpenGLHelper.h:30
vtkPointFillPass::MinimumCandidateAngle
float MinimumCandidateAngle
Definition:
vtkPointFillPass.h:110
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:40
vtkPointFillPass::CandidatePointRatio
float CandidatePointRatio
Definition:
vtkPointFillPass.h:109
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:38
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
vtkDepthImageProcessingPass.h
Generated by
1.8.16