VTK
9.2.6
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
=========================================================================*/
27
28
#ifndef vtkPointFillPass_h
29
#define vtkPointFillPass_h
30
31
#include "
vtkDepthImageProcessingPass.h
"
32
#include "vtkRenderingOpenGL2Module.h"
// For export macro
33
34
class
vtkDepthPeelingPassLayerList;
// Pimpl
35
class
vtkOpenGLFramebufferObject
;
36
class
vtkOpenGLQuadHelper
;
37
class
vtkOpenGLRenderWindow
;
38
class
vtkTextureObject
;
39
40
class
VTKRENDERINGOPENGL2_EXPORT
vtkPointFillPass
:
public
vtkDepthImageProcessingPass
41
{
42
public
:
43
static
vtkPointFillPass
*
New
();
44
vtkTypeMacro(
vtkPointFillPass
,
vtkDepthImageProcessingPass
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
46
51
void
Render
(
const
vtkRenderState
* s)
override
;
52
58
void
ReleaseGraphicsResources
(
vtkWindow
* w)
override
;
59
61
67
vtkSetMacro(
CandidatePointRatio
,
float
);
68
vtkGetMacro(
CandidatePointRatio
,
float
);
70
72
78
vtkSetMacro(
MinimumCandidateAngle
,
float
);
79
vtkGetMacro(
MinimumCandidateAngle
,
float
);
81
82
protected
:
86
vtkPointFillPass
();
87
91
~vtkPointFillPass
()
override
;
92
96
vtkOpenGLFramebufferObject
*
FrameBufferObject
;
97
vtkTextureObject
*
Pass1
;
// render target for the scene
98
vtkTextureObject
*
Pass1Depth
;
// render target for the depth
99
100
vtkOpenGLQuadHelper
*
QuadHelper
;
101
102
float
CandidatePointRatio
;
103
float
MinimumCandidateAngle
;
104
105
private
:
106
vtkPointFillPass
(
const
vtkPointFillPass
&) =
delete
;
107
void
operator=(
const
vtkPointFillPass
&) =
delete
;
108
};
109
110
#endif
vtkDepthImageProcessingPass::vtkDepthImageProcessingPass
vtkDepthImageProcessingPass()
Default constructor.
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkOpenGLFramebufferObject
Internal class which encapsulates OpenGL FramebufferObject.
Definition
vtkOpenGLFramebufferObject.h:182
vtkOpenGLQuadHelper
Class to make rendering a full screen quad easier.
Definition
vtkOpenGLQuadHelper.h:63
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition
vtkOpenGLRenderWindow.h:54
vtkPointFillPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPointFillPass::Render
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkPointFillPass::~vtkPointFillPass
~vtkPointFillPass() override
Destructor.
vtkPointFillPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkPointFillPass::vtkPointFillPass
vtkPointFillPass()
Default constructor.
vtkPointFillPass::MinimumCandidateAngle
float MinimumCandidateAngle
Definition
vtkPointFillPass.h:103
vtkPointFillPass::Pass1Depth
vtkTextureObject * Pass1Depth
Definition
vtkPointFillPass.h:98
vtkPointFillPass::FrameBufferObject
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
Definition
vtkPointFillPass.h:96
vtkPointFillPass::New
static vtkPointFillPass * New()
vtkPointFillPass::QuadHelper
vtkOpenGLQuadHelper * QuadHelper
Definition
vtkPointFillPass.h:100
vtkPointFillPass::Pass1
vtkTextureObject * Pass1
Definition
vtkPointFillPass.h:97
vtkPointFillPass::CandidatePointRatio
float CandidatePointRatio
Definition
vtkPointFillPass.h:102
vtkRenderState
Context in which a vtkRenderPass will render.
Definition
vtkRenderState.h:41
vtkTextureObject
abstracts an OpenGL texture object.
Definition
vtkTextureObject.h:41
vtkWindow
window superclass for vtkRenderWindow
Definition
vtkWindow.h:39
vtkDepthImageProcessingPass.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2