VTK  9.7.20260926
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
37
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
45
46VTK_ABI_NAMESPACE_BEGIN
47class vtkRenderer;
48
49class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkRendererSource : public vtkAlgorithm
50{
51public:
54 void PrintSelf(ostream& os, vtkIndent indent) override;
55
60
65
67
70 vtkGetObjectMacro(Input, vtkRenderer);
72
74
78 vtkSetMacro(WholeWindow, vtkTypeBool);
79 vtkGetMacro(WholeWindow, vtkTypeBool);
80 vtkBooleanMacro(WholeWindow, vtkTypeBool);
82
84
87 vtkSetMacro(RenderFlag, vtkTypeBool);
88 vtkGetMacro(RenderFlag, vtkTypeBool);
89 vtkBooleanMacro(RenderFlag, vtkTypeBool);
91
93
98 vtkSetMacro(DepthValues, vtkTypeBool);
99 vtkGetMacro(DepthValues, vtkTypeBool);
100 vtkBooleanMacro(DepthValues, vtkTypeBool);
102
104
114
116
126 vtkBooleanMacro(DepthValuesOnly, vtkTypeBool);
128
133
139
140protected:
143
144 void RequestData(vtkInformation* request, vtkInformationVector** inputVector,
145 vtkInformationVector* outputVector);
147
154
155 // see algorithm for more info
156 int FillOutputPortInformation(int port, vtkInformation* info) override;
157
158private:
159 vtkRendererSource(const vtkRendererSource&) = delete;
160 void operator=(const vtkRendererSource&) = delete;
161};
162
163VTK_ABI_NAMESPACE_END
164#endif
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.
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:318
#define VTK_MARSHALAUTO