VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
ParallelStatistics
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
;
53
class
vtkMultiBlockDataSet
;
54
class
vtkMultiProcessController
;
55
56
class
VTKFILTERSPARALLELSTATISTICS_EXPORT
vtkPOrderStatistics
:
public
vtkOrderStatistics
57
{
58
public
:
59
static
vtkPOrderStatistics
*
New
();
60
vtkTypeMacro(
vtkPOrderStatistics
,
vtkOrderStatistics
);
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
*,
74
vtkMultiBlockDataSet
* );
76
77
protected
:
78
vtkPOrderStatistics
();
79
~
vtkPOrderStatistics
();
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>&,
102
vtkIdTypeArray
*,
103
vtkStringArray
*,
104
vtkIdType
);
105
//ETX
107
108
vtkMultiProcessController
*
Controller
;
109
private
:
110
vtkPOrderStatistics
(
const
vtkPOrderStatistics
&);
// Not implemented.
111
void
operator=(
const
vtkPOrderStatistics
&);
// Not implemented.
112
};
113
114
#endif
Generated on Thu May 24 2012 22:22:22 for VTK by
1.8.1