VTK
vtkValuePass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkValuePass.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 =========================================================================*/
27 #ifndef vtkValuePass_h
28 #define vtkValuePass_h
29 
30 #include "vtkRenderingOpenGLModule.h" // For export macro
31 #include "vtkOpaquePass.h"
32 
33 class VTKRENDERINGOPENGL_EXPORT vtkValuePass : public vtkOpaquePass
34 {
35 public:
36  static vtkValuePass *New();
37  vtkTypeMacro(vtkValuePass,vtkOpaquePass);
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
42  void SetInputArrayToProcess(int fieldAssociation, const char *name);
43  void SetInputArrayToProcess(int fieldAssociation, int fieldAttributeType);
44  void SetInputComponentToProcess(int comp);
45  void SetScalarRange(double min, double max);
47 
49  virtual void Render(const vtkRenderState *s);
50 
51  protected:
53  vtkValuePass();
54 
56  virtual ~vtkValuePass();
57 
58  private:
59  vtkValuePass(const vtkValuePass&); // Not implemented.
60  void operator=(const vtkValuePass&); // Not implemented.
61 
62  class vtkInternals;
63  vtkInternals *Internals;
64 };
65 
66 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:39
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:38
Render opaque objects with the vtkValuePainter.
Definition: vtkValuePass.h:33
virtual void Render(const vtkRenderState *s)
static vtkOpaquePass * New()
#define max(a, b)