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 =========================================================================*/
36 #ifndef __vtkRendererSource_h
37 #define __vtkRendererSource_h
38 
39 #include "vtkAlgorithm.h"
40 #include "vtkImageData.h" // makes things a bit easier
41 
42 class vtkRenderer;
43 
45 {
46 public:
47  static vtkRendererSource *New();
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52  unsigned long GetMTime();
53 
55  void SetInput(vtkRenderer*);
56 
58 
60  vtkGetObjectMacro(Input,vtkRenderer);
62 
64 
66  vtkSetMacro(WholeWindow,int);
67  vtkGetMacro(WholeWindow,int);
68  vtkBooleanMacro(WholeWindow,int);
70 
72 
73  vtkSetMacro(RenderFlag, int);
74  vtkGetMacro(RenderFlag, int);
75  vtkBooleanMacro(RenderFlag, int);
77 
79 
82  vtkSetMacro(DepthValues,int);
83  vtkGetMacro(DepthValues,int);
84  vtkBooleanMacro(DepthValues,int);
86 
88 
92  vtkSetMacro(DepthValuesInScalars,int);
93  vtkGetMacro(DepthValuesInScalars,int);
94  vtkBooleanMacro(DepthValuesInScalars,int);
96 
98  vtkImageData* GetOutput();
99 
101 
102  virtual int ProcessRequest(vtkInformation*,
106 
107 protected:
110 
111  void RequestData(vtkInformation* request,
112  vtkInformationVector** inputVector,
113  vtkInformationVector* outputVector);
114  virtual void RequestInformation (vtkInformation*,
117 
123 
124  // see algorithm for more info
126 
127 private:
128  vtkRendererSource(const vtkRendererSource&); // Not implemented.
129  void operator=(const vtkRendererSource&); // Not implemented.
130 };
131 
132 #endif
133 
134