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);
45  void SetScalarRange(double min, double max);
47 
51  virtual void Render(const vtkRenderState *s);
52 
53  protected:
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
vtkOpaquePass.h
vtkValuePass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
max
#define max(a, b)
Definition: vtkX3DExporterFIWriterHelper.h:31
vtkValuePass::Render
virtual void Render(const vtkRenderState *s)
Render.
vtkValuePass::vtkValuePass
vtkValuePass()
Default constructor.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkValuePass::SetScalarRange
void SetScalarRange(double min, double max)
vtkOpaquePass
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:38
vtkValuePass::SetInputArrayToProcess
void SetInputArrayToProcess(int fieldAssociation, int fieldAttributeType)
vtkX3D::name
@ name
Definition: vtkX3D.h:219
vtkValuePass
Render opaque objects with the vtkValuePainter.
Definition: vtkValuePass.h:32
vtkValuePass::SetInputComponentToProcess
void SetInputComponentToProcess(int comp)
vtkValuePass::~vtkValuePass
virtual ~vtkValuePass()
Destructor.
vtkValuePass::SetInputArrayToProcess
void SetInputArrayToProcess(int fieldAssociation, const char *name)
Set the array to be drawn.
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:41
vtkValuePass::New
static vtkValuePass * New()