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 "vtkRenderingCoreModule.h" // For export macro
40 #include "vtkAlgorithm.h"
41 #include "vtkImageData.h" // makes things a bit easier
42 
43 class vtkRenderer;
44 
46 {
47 public:
48  static vtkRendererSource *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53  unsigned long GetMTime();
54 
56  void SetInput(vtkRenderer*);
57 
59 
61  vtkGetObjectMacro(Input, vtkRenderer);
63 
65 
67  vtkSetMacro(WholeWindow, int);
68  vtkGetMacro(WholeWindow, int);
69  vtkBooleanMacro(WholeWindow, int);
71 
73 
74  vtkSetMacro(RenderFlag, int);
75  vtkGetMacro(RenderFlag, int);
76  vtkBooleanMacro(RenderFlag, int);
78 
80 
83  vtkSetMacro(DepthValues, int);
84  vtkGetMacro(DepthValues, int);
85  vtkBooleanMacro(DepthValues, int);
87 
89 
93  vtkSetMacro(DepthValuesInScalars, int);
94  vtkGetMacro(DepthValuesInScalars, int);
95  vtkBooleanMacro(DepthValuesInScalars, int);
97 
99  vtkImageData* GetOutput();
100 
102 
103  virtual int ProcessRequest(vtkInformation*,
107 
108 protected:
111 
112  void RequestData(vtkInformation* request,
113  vtkInformationVector** inputVector,
114  vtkInformationVector* outputVector);
115  virtual void RequestInformation (vtkInformation*,
118 
124 
125  // see algorithm for more info
127 
128 private:
129  vtkRendererSource(const vtkRendererSource&); // Not implemented.
130  void operator=(const vtkRendererSource&); // Not implemented.
131 };
132 
133 #endif
take a renderer into the pipeline
Store vtkAlgorithm input/output information.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
abstract specification for renderers
Definition: vtkRenderer.h:63
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
virtual int FillOutputPortInformation(int port, vtkInformation *info)
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
#define VTKRENDERINGCORE_EXPORT
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)