VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL/vtkValuePasses.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkValuePasses.h
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 =========================================================================*/
00030 #ifndef vtkValuePasses_h
00031 #define vtkValuePasses_h
00032 
00033 #include "vtkRenderingOpenGLModule.h" // For export macro
00034 #include "vtkRenderPass.h"
00035 
00036 class VTKRENDERINGOPENGL_EXPORT vtkValuePasses : public vtkRenderPass
00037 {
00038 public:
00039   static vtkValuePasses *New();
00040   vtkTypeMacro(vtkValuePasses,vtkRenderPass);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044   virtual void Render(const vtkRenderState *s);
00045 
00047 
00048   void SetInputArrayToProcess(int fieldAssociation, const char *name);
00049   void SetInputArrayToProcess(int fieldAssociation, int fieldAttributeType);
00050   void SetInputComponentToProcess(int comp);
00051   void SetScalarRange(double min, double max);
00053 
00054  protected:
00056   vtkValuePasses();
00057 
00059   virtual ~vtkValuePasses();
00060 
00061  private:
00062   vtkValuePasses(const vtkValuePasses&);  // Not implemented.
00063   void operator=(const vtkValuePasses&);  // Not implemented.
00064 
00065   class vtkInternals;
00066   vtkInternals *Internals;
00067 };
00068 
00069 #endif