VTK  9.4.20241221
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
22VTK_ABI_NAMESPACE_BEGIN
24class vtkDepthPeelingPassLayerList; // Pimpl
27
28class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkImageProcessingPass : public vtkOpenGLRenderPass
29{
30public:
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
40
42
48 vtkGetObjectMacro(DelegatePass, vtkRenderPass);
49 virtual void SetDelegatePass(vtkRenderPass* delegatePass);
51
52protected:
57
62
72 void RenderDelegate(const vtkRenderState* s, int width, int height, int newWidth, int newHeight,
74
76
77private:
79 void operator=(const vtkImageProcessingPass&) = delete;
80};
81
82VTK_ABI_NAMESPACE_END
83#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 *)
#define VTK_MARSHALAUTO