VTK  9.7.1
vtkImageProcessingPass.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
15 #ifndef vtkImageProcessingPass_h
16 #define vtkImageProcessingPass_h
17 
18 #include "vtkOpenGLRenderPass.h"
19 #include "vtkRenderingOpenGL2Module.h" // For export macro
20 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
21 
22 VTK_ABI_NAMESPACE_BEGIN
24 class vtkDepthPeelingPassLayerList; // Pimpl
26 class vtkTextureObject;
27 
28 class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkImageProcessingPass : public vtkOpenGLRenderPass
29 {
30 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
39  void ReleaseGraphicsResources(vtkWindow* w) override;
40 
42 
48  vtkGetObjectMacro(DelegatePass, vtkRenderPass);
49  virtual void SetDelegatePass(vtkRenderPass* delegatePass);
51 
52 protected:
57 
61  ~vtkImageProcessingPass() override;
62 
72  void RenderDelegate(const vtkRenderState* s, int width, int height, int newWidth, int newHeight,
74 
76 
77 private:
79  void operator=(const vtkImageProcessingPass&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
OpenGL rendering window.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Convenient class for post-processing passes.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:41
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Internal class which encapsulates OpenGL FramebufferObject.
abstracts an OpenGL texture object.
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
#define VTK_MARSHALAUTO
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
Abstract render pass with shader modifications.