VTK  9.7.20260816
vtkStencilMaskPass.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
29
30#ifndef vtkStencilMaskPass_h
31#define vtkStencilMaskPass_h
32
33#include "vtkRenderPass.h"
34#include "vtkRenderingOpenGL2Module.h" // For export macro
35#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
36
37VTK_ABI_NAMESPACE_BEGIN
39
40class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkStencilMaskPass : public vtkRenderPass
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
50 void Render(const vtkRenderState* state) override;
51
58
59protected:
60 vtkStencilMaskPass() = default;
62
63private:
65 void operator=(const vtkStencilMaskPass&) = delete;
66
67 bool AlreadyWarnedAboutStencils = false; // Avoid spam when user interact with the window
68};
69
70VTK_ABI_NAMESPACE_END
71#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Key for integer values in vtkInformation.
vtkRenderPass()
Default constructor.
Context in which a vtkRenderPass will render.
~vtkStencilMaskPass() override
vtkStencilMaskPass()=default
static vtkStencilMaskPass * New()
void Render(const vtkRenderState *state) override
Perform rendering according to a render state.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkInformationIntegerKey * GLStencilWrite()
Whether or not we want to write an actor into the stencil buffer A value of 1 means enabled,...
#define VTK_MARSHALAUTO