VTK
vtkPOrderStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkPOrderStatistics.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2011 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19  -------------------------------------------------------------------------*/
42 #ifndef vtkPOrderStatistics_h
43 #define vtkPOrderStatistics_h
44 
45 #include "vtkFiltersParallelStatisticsModule.h" // For export macro
46 #include "vtkOrderStatistics.h"
47 
48 //BTX
49 #include <map> // STL Header
50 //ETX
51 
52 class vtkIdTypeArray;
55 
56 class VTKFILTERSPARALLELSTATISTICS_EXPORT vtkPOrderStatistics : public vtkOrderStatistics
57 {
58  public:
59  static vtkPOrderStatistics* New();
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
64 
66  virtual void SetController(vtkMultiProcessController*);
67  vtkGetObjectMacro(Controller, vtkMultiProcessController);
69 
71 
72  virtual void Learn( vtkTable*,
73  vtkTable*,
76 
77  protected:
80 
81 //BTX
83 
85  bool Reduce( vtkIdTypeArray*,
86  vtkDataArray* );
88 
90 
92  bool Reduce( vtkIdTypeArray*,
93  vtkIdType&,
94  char*,
95  std::map<vtkStdString,vtkIdType>& );
97 
99 
101  bool Broadcast( std::map<vtkStdString,vtkIdType>&,
104  vtkIdType );
105 //ETX
107 
109  private:
110  vtkPOrderStatistics(const vtkPOrderStatistics&); // Not implemented.
111  void operator=(const vtkPOrderStatistics&); // Not implemented.
112 };
113 
114 #endif
A class for univariate order statistics.
a vtkAbstractArray subclass for strings
vtkMultiProcessController * Controller
dynamic, self-adjusting array of vtkIdType
int vtkIdType
Definition: vtkType.h:275
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)
static vtkOrderStatistics * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
A class for parallel univariate order statistics.
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
void PrintSelf(ostream &os, vtkIndent indent)
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
Composite dataset that organizes datasets into blocks.
Multiprocessing communication superclass.