VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Extraction
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 "vtkFiltersExtractionModule.h"
// For export macro
37
#include "
vtkExtractSelectionBase.h
"
38
39
class
vtkDataArray
;
40
class
vtkSelection
;
41
class
vtkSelectionNode
;
42
43
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectedThresholds
:
public
vtkExtractSelectionBase
44
{
45
public
:
46
vtkTypeMacro(
vtkExtractSelectedThresholds
,
vtkExtractSelectionBase
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
50
static
vtkExtractSelectedThresholds
*
New
();
51
53
57
static
int
EvaluateValue(
vtkDataArray
*scalars,
58
vtkIdType
id
,
vtkDataArray
*lims)
59
{
60
return
vtkExtractSelectedThresholds::EvaluateValue
(scalars, 0,
id
, lims);
61
}
63
65
69
static
int
EvaluateValue(
vtkDataArray
*array,
70
int
array_component_no,
71
vtkIdType
id
,
vtkDataArray
*lims);
73
75
81
static
int
EvaluateValue(
vtkDataArray
*scalars,
vtkIdType
id
,
82
vtkDataArray
*lims,
int
*AboveCount,
int
*BelowCount,
int
*InsideCount)
83
{
84
return
vtkExtractSelectedThresholds::EvaluateValue
(scalars, 0,
85
id
, lims, AboveCount, BelowCount, InsideCount);
86
}
88
90
94
static
int
EvaluateValue(
vtkDataArray
*scalars,
95
int
array_component_no,
96
vtkIdType
id
,
97
vtkDataArray
*lims,
int
*AboveCount,
int
*BelowCount,
int
*InsideCount);
99
100
protected
:
101
vtkExtractSelectedThresholds
();
102
~
vtkExtractSelectedThresholds
();
103
104
// Usual data generation method
105
int
RequestData
(
vtkInformation
*,
106
vtkInformationVector
**,
107
vtkInformationVector
*);
108
109
int
ExtractCells(
vtkSelectionNode
*sel,
vtkDataSet
*input,
110
vtkDataSet
*output,
111
int
usePointScalars);
112
int
ExtractPoints(
vtkSelectionNode
*sel,
vtkDataSet
*input,
113
vtkDataSet
*output);
114
115
private
:
116
vtkExtractSelectedThresholds
(
const
vtkExtractSelectedThresholds
&);
// Not implemented.
117
void
operator=(
const
vtkExtractSelectedThresholds
&);
// Not implemented.
118
};
119
120
#endif
Generated on Thu May 24 2012 22:22:15 for VTK by
1.8.1