VTK  9.3.0
vtkPointFillPass.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
19#ifndef vtkPointFillPass_h
20#define vtkPointFillPass_h
21
23#include "vtkRenderingOpenGL2Module.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
26class vtkDepthPeelingPassLayerList; // Pimpl
31
32class VTKRENDERINGOPENGL2_EXPORT vtkPointFillPass : public vtkDepthImageProcessingPass
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
43 void Render(const vtkRenderState* s) override;
44
51
53
59 vtkSetMacro(CandidatePointRatio, float);
60 vtkGetMacro(CandidatePointRatio, float);
62
64
70 vtkSetMacro(MinimumCandidateAngle, float);
71 vtkGetMacro(MinimumCandidateAngle, float);
73
74protected:
79
84
89 vtkTextureObject* Pass1; // render target for the scene
90 vtkTextureObject* Pass1Depth; // render target for the depth
91
93
96
97private:
98 vtkPointFillPass(const vtkPointFillPass&) = delete;
99 void operator=(const vtkPointFillPass&) = delete;
100};
101
102VTK_ABI_NAMESPACE_END
103#endif
Convenient class for post-processing passes.
a simple class to control print indentation
Definition vtkIndent.h:29
Internal class which encapsulates OpenGL FramebufferObject.
Class to make rendering a full screen quad easier.
OpenGL rendering window.
Implement a post-processing fillpass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
~vtkPointFillPass() override
Destructor.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkPointFillPass()
Default constructor.
vtkTextureObject * Pass1Depth
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
static vtkPointFillPass * New()
vtkOpenGLQuadHelper * QuadHelper
vtkTextureObject * Pass1
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition vtkWindow.h:25