VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkExtractSelectedThresholds.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectedThresholds.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
=========================================================================*/
33
#ifndef __vtkExtractSelectedThresholds_h
34
#define __vtkExtractSelectedThresholds_h
35
36
#include "
vtkExtractSelectionBase.h
"
37
38
class
vtkDataArray
;
39
class
vtkSelection
;
40
class
vtkSelectionNode
;
41
42
class
VTK_GRAPHICS_EXPORT
vtkExtractSelectedThresholds
:
public
vtkExtractSelectionBase
43
{
44
public
:
45
vtkTypeMacro(
vtkExtractSelectedThresholds
,
vtkExtractSelectionBase
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
49
static
vtkExtractSelectedThresholds
*
New
();
50
52
56
static
int
EvaluateValue(
vtkDataArray
*scalars,
57
vtkIdType
id
,
vtkDataArray
*lims)
58
{
59
return
vtkExtractSelectedThresholds::EvaluateValue
(scalars, 0,
id
, lims);
60
}
62
64
68
static
int
EvaluateValue(
vtkDataArray
*array,
69
int
array_component_no,
70
vtkIdType
id
,
vtkDataArray
*lims);
72
74
80
static
int
EvaluateValue(
vtkDataArray
*scalars,
vtkIdType
id
,
81
vtkDataArray
*lims,
int
*AboveCount,
int
*BelowCount,
int
*InsideCount)
82
{
83
return
vtkExtractSelectedThresholds::EvaluateValue
(scalars, 0,
84
id
, lims, AboveCount, BelowCount, InsideCount);
85
}
87
89
93
static
int
EvaluateValue(
vtkDataArray
*scalars,
94
int
array_component_no,
95
vtkIdType
id
,
96
vtkDataArray
*lims,
int
*AboveCount,
int
*BelowCount,
int
*InsideCount);
98
99
protected
:
100
vtkExtractSelectedThresholds
();
101
~
vtkExtractSelectedThresholds
();
102
103
// Usual data generation method
104
int
RequestData
(
vtkInformation
*,
105
vtkInformationVector
**,
106
vtkInformationVector
*);
107
108
int
ExtractCells(
vtkSelectionNode
*sel,
vtkDataSet
*input,
109
vtkDataSet
*output,
110
int
usePointScalars);
111
int
ExtractPoints(
vtkSelectionNode
*sel,
vtkDataSet
*input,
112
vtkDataSet
*output);
113
114
private
:
115
vtkExtractSelectedThresholds
(
const
vtkExtractSelectedThresholds
&);
// Not implemented.
116
void
operator=(
const
vtkExtractSelectedThresholds
&);
// Not implemented.
117
};
118
119
#endif
Generated on Sun Sep 9 2012 13:03:30 for VTK by
1.8.1.2