VTK
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 "vtkRenderingCoreModule.h" // For export macro
54 #include "vtkAlgorithm.h"
55 #include "vtkImageData.h" // makes things a bit easier
56 
57 class vtkRenderer;
58 
59 class VTKRENDERINGCORE_EXPORT vtkRendererSource : public vtkAlgorithm
60 {
61 public:
64  void PrintSelf(ostream& os, vtkIndent indent);
65 
70 
75 
77 
80  vtkGetObjectMacro(Input, vtkRenderer);
82 
84 
88  vtkSetMacro(WholeWindow, int);
89  vtkGetMacro(WholeWindow, int);
90  vtkBooleanMacro(WholeWindow, int);
92 
94 
97  vtkSetMacro(RenderFlag, int);
98  vtkGetMacro(RenderFlag, int);
99  vtkBooleanMacro(RenderFlag, int);
101 
103 
108  vtkSetMacro(DepthValues, int);
109  vtkGetMacro(DepthValues, int);
110  vtkBooleanMacro(DepthValues, int);
112 
114 
120  vtkSetMacro(DepthValuesInScalars, int);
121  vtkGetMacro(DepthValuesInScalars, int);
122  vtkBooleanMacro(DepthValuesInScalars, int);
124 
126 
134  vtkSetMacro(DepthValuesOnly, int);
135  vtkGetMacro(DepthValuesOnly, int);
136  vtkBooleanMacro(DepthValuesOnly, int);
138 
143 
150 
151 protected:
154 
156  vtkInformationVector** inputVector,
157  vtkInformationVector* outputVector);
161 
168 
169  // see algorithm for more info
171 
172 private:
173  vtkRendererSource(const vtkRendererSource&) VTK_DELETE_FUNCTION;
174  void operator=(const vtkRendererSource&) VTK_DELETE_FUNCTION;
175 };
176 
177 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
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 *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetInput(vtkRenderer *)
Indicates what renderer to get the pixel data from.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
see vtkAlgorithm for details
static vtkRendererSource * New()
vtkImageData * GetOutput()
Get the output data object for a port on this algorithm.
void RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkMTimeType GetMTime()
Return the MTime also considering the Renderer.
abstract specification for renderers
Definition: vtkRenderer.h:64
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248