VTK  9.4.20241226
vtkRendererSource.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
38#ifndef vtkRendererSource_h
39#define vtkRendererSource_h
40
41#include "vtkAlgorithm.h"
42#include "vtkImageData.h" // makes things a bit easier
43#include "vtkRenderingCoreModule.h" // For export macro
44
45VTK_ABI_NAMESPACE_BEGIN
46class vtkRenderer;
47
48class VTKRENDERINGCORE_EXPORT vtkRendererSource : public vtkAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
59
64
66
69 vtkGetObjectMacro(Input, vtkRenderer);
71
73
77 vtkSetMacro(WholeWindow, vtkTypeBool);
78 vtkGetMacro(WholeWindow, vtkTypeBool);
79 vtkBooleanMacro(WholeWindow, vtkTypeBool);
81
83
86 vtkSetMacro(RenderFlag, vtkTypeBool);
87 vtkGetMacro(RenderFlag, vtkTypeBool);
88 vtkBooleanMacro(RenderFlag, vtkTypeBool);
90
92
97 vtkSetMacro(DepthValues, vtkTypeBool);
98 vtkGetMacro(DepthValues, vtkTypeBool);
99 vtkBooleanMacro(DepthValues, vtkTypeBool);
101
103
109 vtkSetMacro(DepthValuesInScalars, vtkTypeBool);
110 vtkGetMacro(DepthValuesInScalars, vtkTypeBool);
111 vtkBooleanMacro(DepthValuesInScalars, vtkTypeBool);
113
115
123 vtkSetMacro(DepthValuesOnly, vtkTypeBool);
124 vtkGetMacro(DepthValuesOnly, vtkTypeBool);
125 vtkBooleanMacro(DepthValuesOnly, vtkTypeBool);
127
132
138
139protected:
142
143 void RequestData(vtkInformation* request, vtkInformationVector** inputVector,
144 vtkInformationVector* outputVector);
146
153
154 // see algorithm for more info
155 int FillOutputPortInformation(int port, vtkInformation* info) override;
156
157private:
158 vtkRendererSource(const vtkRendererSource&) = delete;
159 void operator=(const vtkRendererSource&) = delete;
160};
161
162VTK_ABI_NAMESPACE_END
163#endif
Superclass for all sources, filters, and sinks in VTK.
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
take a renderer's image and/or depth map into the pipeline
virtual void RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMTimeType GetMTime() override
Return the MTime also considering the Renderer.
void SetInput(vtkRenderer *)
Indicates what renderer to get the pixel data from.
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
~vtkRendererSource() override
vtkTypeBool DepthValuesOnly
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData * GetOutput()
Get the output data object for a port on this algorithm.
void RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkRendererSource * New()
vtkTypeBool DepthValuesInScalars
abstract specification for renderers
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270