VTK  9.2.5
vtkRendererSource.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRendererSource.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
50#ifndef vtkRendererSource_h
51#define vtkRendererSource_h
52
53#include "vtkAlgorithm.h"
54#include "vtkImageData.h" // makes things a bit easier
55#include "vtkRenderingCoreModule.h" // For export macro
56
57class vtkRenderer;
58
59class VTKRENDERINGCORE_EXPORT vtkRendererSource : public vtkAlgorithm
60{
61public:
64 void PrintSelf(ostream& os, vtkIndent indent) override;
65
70
75
77
80 vtkGetObjectMacro(Input, vtkRenderer);
82
84
88 vtkSetMacro(WholeWindow, vtkTypeBool);
89 vtkGetMacro(WholeWindow, vtkTypeBool);
90 vtkBooleanMacro(WholeWindow, vtkTypeBool);
92
94
97 vtkSetMacro(RenderFlag, vtkTypeBool);
98 vtkGetMacro(RenderFlag, vtkTypeBool);
99 vtkBooleanMacro(RenderFlag, vtkTypeBool);
101
103
108 vtkSetMacro(DepthValues, vtkTypeBool);
109 vtkGetMacro(DepthValues, vtkTypeBool);
110 vtkBooleanMacro(DepthValues, vtkTypeBool);
112
114
120 vtkSetMacro(DepthValuesInScalars, vtkTypeBool);
121 vtkGetMacro(DepthValuesInScalars, vtkTypeBool);
122 vtkBooleanMacro(DepthValuesInScalars, vtkTypeBool);
124
126
134 vtkSetMacro(DepthValuesOnly, vtkTypeBool);
135 vtkGetMacro(DepthValuesOnly, vtkTypeBool);
136 vtkBooleanMacro(DepthValuesOnly, vtkTypeBool);
138
143
149
150protected:
153
154 void RequestData(vtkInformation* request, vtkInformationVector** inputVector,
155 vtkInformationVector* outputVector);
157
164
165 // see algorithm for more info
166 int FillOutputPortInformation(int port, vtkInformation* info) override;
167
168private:
169 vtkRendererSource(const vtkRendererSource&) = delete;
170 void operator=(const vtkRendererSource&) = delete;
171};
172
173#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:63
topologically and geometrically regular array of data
Definition: vtkImageData.h:54
a simple class to control print indentation
Definition: vtkIndent.h:40
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
Definition: vtkRenderer.h:73
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287