VTK
dox
Rendering
OpenGL
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
vtkOpaquePass::Render
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
max
#define max(a, b)
Definition:
vtkX3DExporterFIWriterHelper.h:31
vtkOpaquePass.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkOpaquePass
Render the opaque geometry with property key filtering.
Definition:
vtkOpaquePass.h:37
vtkOpaquePass::New
static vtkOpaquePass * New()
vtkX3D::name
@ name
Definition:
vtkX3D.h:219
vtkOpaquePass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkValuePass
Render opaque objects with the vtkValuePainter.
Definition:
vtkValuePass.h:31
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
Generated by
1.8.17