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