VTK  9.7.1
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 
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkDepthPeelingPassLayerList; // Pimpl
31 class vtkTextureObject;
32 
33 class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkPointFillPass
35 {
36 public:
37  static vtkPointFillPass* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
45  void Render(const vtkRenderState* s) override;
46 
52  void ReleaseGraphicsResources(vtkWindow* w) override;
53 
55 
61  vtkSetMacro(CandidatePointRatio, float);
62  vtkGetMacro(CandidatePointRatio, float);
64 
66 
72  vtkSetMacro(MinimumCandidateAngle, float);
73  vtkGetMacro(MinimumCandidateAngle, float);
75 
76 protected:
81 
85  ~vtkPointFillPass() override;
86 
91  vtkTextureObject* Pass1; // render target for the scene
92  vtkTextureObject* Pass1Depth; // render target for the depth
93 
95 
98 
99 private:
100  vtkPointFillPass(const vtkPointFillPass&) = delete;
101  void operator=(const vtkPointFillPass&) = delete;
102 };
103 
104 VTK_ABI_NAMESPACE_END
105 #endif
OpenGL rendering window.
vtkTextureObject * Pass1
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
vtkTextureObject * Pass1Depth
vtkOpenGLQuadHelper * QuadHelper
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:41
Implement a post-processing fillpass.
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Internal class which encapsulates OpenGL FramebufferObject.
abstracts an OpenGL texture object.
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
Class to make rendering a full screen quad easier.
#define VTK_MARSHALAUTO
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Convenient class for post-processing passes.