Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Rendering/vtkRendererSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkRendererSource.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00054 #ifndef __vtkRendererSource_h
00055 #define __vtkRendererSource_h
00056 
00057 #include "vtkImageSource.h"
00058 
00059 class vtkRenderer;
00060 
00061 class VTK_RENDERING_EXPORT vtkRendererSource : public vtkImageSource
00062 {
00063 public:
00064   static vtkRendererSource *New();
00065   vtkTypeRevisionMacro(vtkRendererSource,vtkImageSource);
00066   void PrintSelf(ostream& os, vtkIndent indent);
00067 
00069   unsigned long GetMTime();
00070 
00072   virtual void SetInput(vtkRenderer*);
00073 
00075 
00077   vtkGetObjectMacro(Input,vtkRenderer);
00079 
00081 
00083   vtkSetMacro(WholeWindow,int);
00084   vtkGetMacro(WholeWindow,int);
00085   vtkBooleanMacro(WholeWindow,int);
00087   
00089 
00090   vtkSetMacro(RenderFlag, int);
00091   vtkGetMacro(RenderFlag, int);
00092   vtkBooleanMacro(RenderFlag, int);
00094 
00096 
00099   vtkSetMacro(DepthValues,int);
00100   vtkGetMacro(DepthValues,int);
00101   vtkBooleanMacro(DepthValues,int);
00103 
00105 
00109   vtkSetMacro(DepthValuesInScalars,int);
00110   vtkGetMacro(DepthValuesInScalars,int);
00111   vtkBooleanMacro(DepthValuesInScalars,int);
00113   
00114 protected:
00115   vtkRendererSource();
00116   ~vtkRendererSource();
00117 
00118   virtual void ExecuteData(vtkDataObject *data);
00119   
00120   void UpdateInformation();
00121   
00122   vtkRenderer *Input;
00123   int WholeWindow;
00124   int RenderFlag;
00125   int DepthValues;
00126   int DepthValuesInScalars;
00127 
00128 private:
00129   vtkRendererSource(const vtkRendererSource&);  // Not implemented.
00130   void operator=(const vtkRendererSource&);  // Not implemented.
00131 };
00132 
00133 #endif
00134 
00135