Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkRendererSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkRendererSource.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00049 #ifndef __vtkRendererSource_h
00050 #define __vtkRendererSource_h
00051 
00052 #include "vtkImageAlgorithm.h"
00053 
00054 class vtkRenderer;
00055 
00056 class VTK_RENDERING_EXPORT vtkRendererSource : public vtkImageAlgorithm
00057 {
00058 public:
00059   static vtkRendererSource *New();
00060   vtkTypeRevisionMacro(vtkRendererSource,vtkImageAlgorithm);
00061   void PrintSelf(ostream& os, vtkIndent indent);
00062 
00064   unsigned long GetMTime();
00065 
00067   virtual void SetInput(vtkRenderer*);
00068 
00070 
00072   vtkGetObjectMacro(Input,vtkRenderer);
00074 
00076 
00078   vtkSetMacro(WholeWindow,int);
00079   vtkGetMacro(WholeWindow,int);
00080   vtkBooleanMacro(WholeWindow,int);
00082   
00084 
00085   vtkSetMacro(RenderFlag, int);
00086   vtkGetMacro(RenderFlag, int);
00087   vtkBooleanMacro(RenderFlag, int);
00089 
00091 
00094   vtkSetMacro(DepthValues,int);
00095   vtkGetMacro(DepthValues,int);
00096   vtkBooleanMacro(DepthValues,int);
00098 
00100 
00104   vtkSetMacro(DepthValuesInScalars,int);
00105   vtkGetMacro(DepthValuesInScalars,int);
00106   vtkBooleanMacro(DepthValuesInScalars,int);
00108   
00109 protected:
00110   vtkRendererSource();
00111   ~vtkRendererSource();
00112 
00113   void RequestData(vtkInformation *request, 
00114                         vtkInformationVector *inputVector, 
00115                         vtkInformationVector *outputVector);
00116   
00117   virtual void ExecuteInformation(vtkInformation *, 
00118                                       vtkInformationVector *, 
00119                                       vtkInformationVector *);
00120 
00121   vtkRenderer *Input;
00122   int WholeWindow;
00123   int RenderFlag;
00124   int DepthValues;
00125   int DepthValuesInScalars;
00126 
00127 private:
00128   vtkRendererSource(const vtkRendererSource&);  // Not implemented.
00129   void operator=(const vtkRendererSource&);  // Not implemented.
00130 };
00131 
00132 #endif
00133 
00134