VTK  9.1.0
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=========================================================================*/
28#ifndef vtkPointFillPass_h
29#define vtkPointFillPass_h
30
32#include "vtkRenderingOpenGL2Module.h" // For export macro
33
34class vtkDepthPeelingPassLayerList; // Pimpl
39
40class VTKRENDERINGOPENGL2_EXPORT vtkPointFillPass : public vtkDepthImageProcessingPass
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
51 void Render(const vtkRenderState* s) override;
52
59
61
67 vtkSetMacro(CandidatePointRatio, float);
68 vtkGetMacro(CandidatePointRatio, float);
70
72
78 vtkSetMacro(MinimumCandidateAngle, float);
79 vtkGetMacro(MinimumCandidateAngle, float);
81
82protected:
87
92
97 vtkTextureObject* Pass1; // render target for the scene
98 vtkTextureObject* Pass1Depth; // render target for the depth
99
101
104
105private:
106 vtkPointFillPass(const vtkPointFillPass&) = delete;
107 void operator=(const vtkPointFillPass&) = delete;
108};
109
110#endif
Convenient class for post-processing passes.
a simple class to control print indentation
Definition: vtkIndent.h:113
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:39