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
=========================================================================*/
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);
47
void
SetInputComponentToProcess(
int
comp);
48
void
SetScalarRange(
double
min,
double
max
);
50
54
virtual
void
Render
(
const
vtkRenderState
*s);
55
56
protected
:
60
vtkValuePass
();
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
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:40
vtkOpaquePass::New
static vtkOpaquePass * New()
vtkX3D::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:34
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
Generated by
1.8.16