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 =========================================================================*/
25 #ifndef vtkValuePass_h
26 #define vtkValuePass_h
27 
28 #include "vtkRenderingOpenGLModule.h" // For export macro
29 #include "vtkOpaquePass.h"
30 
31 class VTKRENDERINGOPENGL_EXPORT vtkValuePass : public vtkOpaquePass
32 {
33 public:
34  static vtkValuePass *New();
35  vtkTypeMacro(vtkValuePass,vtkOpaquePass);
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
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 
51  virtual void Render(const vtkRenderState *s);
52 
53  protected:
57  vtkValuePass();
58 
62  virtual ~vtkValuePass();
63 
64  private:
65  vtkValuePass(const vtkValuePass&) VTK_DELETE_FUNCTION;
66  void operator=(const vtkValuePass&) VTK_DELETE_FUNCTION;
67 
68  class vtkInternals;
69  vtkInternals *Internals;
70 };
71 
72 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:37
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:39
Render opaque objects with the vtkValuePainter.
Definition: vtkValuePass.h:31
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
static vtkOpaquePass * New()
#define max(a, b)