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 =========================================================================*/
28 #ifndef vtkValuePass_h
29 #define vtkValuePass_h
30 
31 #include "vtkRenderingOpenGLModule.h" // For export macro
32 #include "vtkOpaquePass.h"
33 
34 class VTKRENDERINGOPENGL_EXPORT vtkValuePass : public vtkOpaquePass
35 {
36 public:
37  static vtkValuePass *New();
38  vtkTypeMacro(vtkValuePass,vtkOpaquePass);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
45  void SetInputArrayToProcess(int fieldAssociation, const char *name);
46  void SetInputArrayToProcess(int fieldAssociation, int fieldAttributeType);
48  void SetScalarRange(double min, double max);
50 
54  virtual void Render(const vtkRenderState *s);
55 
56  protected:
61 
65  virtual ~vtkValuePass();
66 
67  private:
68  vtkValuePass(const vtkValuePass&) VTK_DELETE_FUNCTION;
69  void operator=(const vtkValuePass&) VTK_DELETE_FUNCTION;
70 
71  class vtkInternals;
72  vtkInternals *Internals;
73 };
74 
75 #endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:41
Context in which a vtkRenderPass will render.
Render opaque objects with the vtkValuePainter.
Definition: vtkValuePass.h:35
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetInputComponentToProcess(int comp)
static vtkValuePass * New()
virtual ~vtkValuePass()
Destructor.
vtkValuePass()
Default constructor.
virtual void Render(const vtkRenderState *s)
Render.
void SetInputArrayToProcess(int fieldAssociation, int fieldAttributeType)
void SetInputArrayToProcess(int fieldAssociation, const char *name)
Set the array to be drawn.
void SetScalarRange(double min, double max)
@ name
Definition: vtkX3D.h:219
#define max(a, b)