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