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
37class vtkDepthPeelingPassLayerList; // Pimpl
39class vtkOpenGLHelper;
42
43class VTKRENDERINGOPENGL2_EXPORT vtkPointFillPass : public vtkDepthImageProcessingPass
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent);
49
54 virtual void Render(const vtkRenderState *s);
55
62
64
70 vtkSetMacro(CandidatePointRatio,float);
71 vtkGetMacro(CandidatePointRatio,float);
73
75
81 vtkSetMacro(MinimumCandidateAngle,float);
82 vtkGetMacro(MinimumCandidateAngle,float);
84
85 protected:
90
95
100 vtkTextureObject *Pass1; // render target for the scene
101 vtkTextureObject *Pass1Depth; // render target for the depth
102
103 // Structures for the various cell types we render.
105
108
111
112 private:
113 vtkPointFillPass(const vtkPointFillPass&) VTK_DELETE_FUNCTION;
114 void operator=(const vtkPointFillPass&) VTK_DELETE_FUNCTION;
115};
116
117#endif
Convenient class for post-processing passes.
internal class which encapsulates OpenGL frame buffer object.
a simple class to control print indentation
Definition: vtkIndent.h:40
OpenGL rendering window.
Implement a post-processing fillpass.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPointFillPass()
Default constructor.
vtkOpenGLHelper * BlurProgram
vtkTextureObject * Pass1Depth
static vtkPointFillPass * New()
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkFrameBufferObject * FrameBufferObject
Graphics resources.
virtual ~vtkPointFillPass()
Destructor.
vtkTextureObject * Pass1
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.