VTK
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 =========================================================================*/
31 #ifndef vtkPointFillPass_h
32 #define vtkPointFillPass_h
33 
34 #include "vtkRenderingOpenGL2Module.h" // For export macro
36 
37 class vtkDepthPeelingPassLayerList; // Pimpl
41 class vtkTextureObject;
42 
43 class VTKRENDERINGOPENGL2_EXPORT vtkPointFillPass : public vtkDepthImageProcessingPass
44 {
45 public:
46  static vtkPointFillPass *New();
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
54  void Render(const vtkRenderState *s) override;
55 
61  void ReleaseGraphicsResources(vtkWindow *w) override;
62 
64 
70  vtkSetMacro(CandidatePointRatio,float);
71  vtkGetMacro(CandidatePointRatio,float);
73 
75 
81  vtkSetMacro(MinimumCandidateAngle,float);
82  vtkGetMacro(MinimumCandidateAngle,float);
84 
85  protected:
90 
94  ~vtkPointFillPass() override;
95 
100  vtkTextureObject *Pass1; // render target for the scene
101  vtkTextureObject *Pass1Depth; // render target for the depth
102 
104 
107 
108  private:
109  vtkPointFillPass(const vtkPointFillPass&) = delete;
110  void operator=(const vtkPointFillPass&) = delete;
111 };
112 
113 #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:37
Implement a post-processing fillpass.
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:39
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.
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.