VTK
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
38 
39 class vtkDataArray;
40 class vtkSelection;
41 class vtkSelectionNode;
42 class vtkTable;
43 
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
52 
54 
58  static int EvaluateValue(vtkDataArray *scalars,
59  vtkIdType id, vtkDataArray *lims)
60  {
61  return vtkExtractSelectedThresholds::EvaluateValue(scalars, 0, id, lims);
62  }
64 
66 
70  static int EvaluateValue(vtkDataArray *array,
71  int array_component_no,
72  vtkIdType id, vtkDataArray *lims);
74 
76 
82  static int EvaluateValue(vtkDataArray *scalars, vtkIdType id,
83  vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount)
84  {
86  id, lims, AboveCount, BelowCount, InsideCount);
87  }
89 
91 
95  static int EvaluateValue(vtkDataArray *scalars,
96  int array_component_no,
97  vtkIdType id,
98  vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount);
100 
101 protected:
104 
105  // Usual data generation method
109 
111  vtkDataSet *output,
112  int usePointScalars);
114  vtkDataSet *output);
115 
117 private:
119  void operator=(const vtkExtractSelectedThresholds&); // Not implemented.
120 };
121 
122 #endif
vtkExtractSelectionBase.h
vtkSelectionNode
A node in a selection tree. Used to store selection results.
Definition: vtkSelectionNode.h:69
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkFiltersExtractionModule.h
vtkExtractSelectedThresholds::EvaluateValue
static int EvaluateValue(vtkDataArray *scalars, vtkIdType id, vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount)
Definition: vtkExtractSelectedThresholds.h:82
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
vtkSelection
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:45
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkExtractSelectedThresholds::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkExtractSelectedThresholds
extract a cells or points from a dataset that have values within a set of thresholds.
Definition: vtkExtractSelectedThresholds.h:45
vtkExtractSelectedThresholds::~vtkExtractSelectedThresholds
~vtkExtractSelectedThresholds()
vtkExtractSelectedThresholds::ExtractPoints
int ExtractPoints(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkExtractSelectedThresholds::EvaluateValue
static int EvaluateValue(vtkDataArray *scalars, vtkIdType id, vtkDataArray *lims)
Definition: vtkExtractSelectedThresholds.h:58
vtkExtractSelectedThresholds::EvaluateValue
static int EvaluateValue(vtkDataArray *scalars, int array_component_no, vtkIdType id, vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkExtractSelectedThresholds::New
static vtkExtractSelectedThresholds * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkExtractSelectedThresholds::ExtractRows
int ExtractRows(vtkSelectionNode *sel, vtkTable *input, vtkTable *output)
vtkExtractSelectionBase
abstract base class for all extract selection filters.
Definition: vtkExtractSelectionBase.h:30
vtkExtractSelectedThresholds::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
VTKFILTERSEXTRACTION_EXPORT
#define VTKFILTERSEXTRACTION_EXPORT
Definition: vtkFiltersExtractionModule.h:15
vtkExtractSelectedThresholds::vtkExtractSelectedThresholds
vtkExtractSelectedThresholds()
vtkExtractSelectedThresholds::ExtractCells
int ExtractCells(vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output, int usePointScalars)
vtkExtractSelectedThresholds::EvaluateValue
static int EvaluateValue(vtkDataArray *array, int array_component_no, vtkIdType id, vtkDataArray *lims)