VTK  9.4.20241103
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
25
26VTK_ABI_NAMESPACE_BEGIN
27class vtkDepthPeelingPassLayerList; // Pimpl
32
33class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkPointFillPass
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
45 void Render(const vtkRenderState* s) override;
46
53
55
61 vtkSetMacro(CandidatePointRatio, float);
62 vtkGetMacro(CandidatePointRatio, float);
64
66
72 vtkSetMacro(MinimumCandidateAngle, float);
73 vtkGetMacro(MinimumCandidateAngle, float);
75
76protected:
81
86
91 vtkTextureObject* Pass1; // render target for the scene
92 vtkTextureObject* Pass1Depth; // render target for the depth
93
95
98
99private:
100 vtkPointFillPass(const vtkPointFillPass&) = delete;
101 void operator=(const vtkPointFillPass&) = delete;
102};
103
104VTK_ABI_NAMESPACE_END
105#endif
Convenient class for post-processing passes.
a simple class to control print indentation
Definition vtkIndent.h:108
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:48
#define VTK_MARSHALAUTO