VTK  9.3.20240424
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
21VTK_ABI_NAMESPACE_BEGIN
23class vtkDepthPeelingPassLayerList; // Pimpl
26
27class VTKRENDERINGOPENGL2_EXPORT vtkImageProcessingPass : public vtkOpenGLRenderPass
28{
29public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
39
41
47 vtkGetObjectMacro(DelegatePass, vtkRenderPass);
48 virtual void SetDelegatePass(vtkRenderPass* delegatePass);
50
51protected:
56
61
71 void RenderDelegate(const vtkRenderState* s, int width, int height, int newWidth, int newHeight,
73
75
76private:
78 void operator=(const vtkImageProcessingPass&) = delete;
79};
80
81VTK_ABI_NAMESPACE_END
82#endif
Convenient class for post-processing passes.
vtkImageProcessingPass()
Default constructor.
virtual void SetDelegatePass(vtkRenderPass *delegatePass)
Delegate for rendering the image to be processed.
void RenderDelegate(const vtkRenderState *s, int width, int height, int newWidth, int newHeight, vtkOpenGLFramebufferObject *fbo, vtkTextureObject *target)
Render delegate with a image of different dimensions than the original one.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
~vtkImageProcessingPass() override
Destructor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition vtkIndent.h:108
Internal class which encapsulates OpenGL FramebufferObject.
Abstract render pass with shader modifications.
OpenGL rendering window.
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)