VTK  9.4.20241218
vtkDefaultPass.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
25#ifndef vtkDefaultPass_h
26#define vtkDefaultPass_h
27
28#include "vtkRenderPass.h"
29#include "vtkRenderingOpenGL2Module.h" // For export macro
30#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
31
32VTK_ABI_NAMESPACE_BEGIN
34class vtkDefaultPassLayerList; // Pimpl
35
36class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkDefaultPass : public vtkRenderPass
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
49 void Render(const vtkRenderState* s) override;
50
51protected:
56
60 ~vtkDefaultPass() override;
61
66 virtual void RenderOpaqueGeometry(const vtkRenderState* s);
67
73
79
85
91
97
102 virtual void RenderOverlay(const vtkRenderState* s);
103
108 virtual void RenderFilteredOverlay(const vtkRenderState* s);
109
110private:
111 vtkDefaultPass(const vtkDefaultPass&) = delete;
112 void operator=(const vtkDefaultPass&) = delete;
113};
114
115VTK_ABI_NAMESPACE_END
116#endif
Implement the basic render passes.
virtual void RenderVolumetricGeometry(const vtkRenderState *s)
Volume pass without key checking.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void RenderFilteredOpaqueGeometry(const vtkRenderState *s)
Opaque pass with key checking.
~vtkDefaultPass() override
Destructor.
virtual void RenderFilteredTranslucentPolygonalGeometry(const vtkRenderState *s)
Translucent pass with key checking.
virtual void RenderTranslucentPolygonalGeometry(const vtkRenderState *s)
Translucent pass without key checking.
vtkDefaultPass()
Default constructor.
virtual void RenderFilteredVolumetricGeometry(const vtkRenderState *s)
Translucent pass with key checking.
virtual void RenderOverlay(const vtkRenderState *s)
Overlay pass without key checking.
virtual void RenderFilteredOverlay(const vtkRenderState *s)
Overlay pass with key checking.
static vtkDefaultPass * New()
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
virtual void RenderOpaqueGeometry(const vtkRenderState *s)
Opaque pass without key checking.
a simple class to control print indentation
Definition vtkIndent.h:108
OpenGL rendering window.
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.
#define VTK_MARSHALAUTO