VTK  9.1.0
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=========================================================================*/
47#ifndef vtkRendererSource_h
48#define vtkRendererSource_h
49
50#include "vtkAlgorithm.h"
51#include "vtkImageData.h" // makes things a bit easier
52#include "vtkRenderingCoreModule.h" // For export macro
53
54class vtkRenderer;
55
56class VTKRENDERINGCORE_EXPORT vtkRendererSource : public vtkAlgorithm
57{
58public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
67
72
74
77 vtkGetObjectMacro(Input, vtkRenderer);
79
81
85 vtkSetMacro(WholeWindow, vtkTypeBool);
86 vtkGetMacro(WholeWindow, vtkTypeBool);
87 vtkBooleanMacro(WholeWindow, vtkTypeBool);
89
91
94 vtkSetMacro(RenderFlag, vtkTypeBool);
95 vtkGetMacro(RenderFlag, vtkTypeBool);
96 vtkBooleanMacro(RenderFlag, vtkTypeBool);
98
100
105 vtkSetMacro(DepthValues, vtkTypeBool);
106 vtkGetMacro(DepthValues, vtkTypeBool);
107 vtkBooleanMacro(DepthValues, vtkTypeBool);
109
111
117 vtkSetMacro(DepthValuesInScalars, vtkTypeBool);
118 vtkGetMacro(DepthValuesInScalars, vtkTypeBool);
119 vtkBooleanMacro(DepthValuesInScalars, vtkTypeBool);
121
123
131 vtkSetMacro(DepthValuesOnly, vtkTypeBool);
132 vtkGetMacro(DepthValuesOnly, vtkTypeBool);
133 vtkBooleanMacro(DepthValuesOnly, vtkTypeBool);
135
140
146
147protected:
150
151 void RequestData(vtkInformation* request, vtkInformationVector** inputVector,
152 vtkInformationVector* outputVector);
154
161
162 // see algorithm for more info
164
165private:
166 vtkRendererSource(const vtkRendererSource&) = delete;
167 void operator=(const vtkRendererSource&) = delete;
168};
169
170#endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:114
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
a simple class to control print indentation
Definition: vtkIndent.h:113
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:173
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287