VTK
vtkPExtractHistogram2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPExtractHistogram2D.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 2009 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 -------------------------------------------------------------------------*/
38 #ifndef vtkPExtractHistogram2D_h
39 #define vtkPExtractHistogram2D_h
40 
41 #include "vtkFiltersParallelImagingModule.h" // For export macro
42 #include "vtkExtractHistogram2D.h"
43 
46 
48 {
49 public:
50  static vtkPExtractHistogram2D* New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
54  virtual void SetController(vtkMultiProcessController*);
55  vtkGetObjectMacro(Controller,vtkMultiProcessController);
56 
57 protected:
60 
62 
63  virtual int ComputeBinExtents(vtkDataArray* col1, vtkDataArray* col2);
64 
65  // Execute the calculations required by the Learn option.
66  virtual void Learn( vtkTable* inData,
67  vtkTable* inParameters,
68  vtkMultiBlockDataSet* outMeta );
69 
70 private:
71  vtkPExtractHistogram2D(const vtkPExtractHistogram2D&); // Not implemented
72  void operator=(const vtkPExtractHistogram2D&); // Not implemented
73 };
74 
75 #endif
virtual void Learn(vtkTable *inData, vtkTable *inParameters, vtkMultiBlockDataSet *inMeta)
#define VTKFILTERSPARALLELIMAGING_EXPORT
vtkMultiProcessController * Controller
compute a 2D histogram between two columns of an input vtkTable in parallel.
a simple class to control print indentation
Definition: vtkIndent.h:38
compute a 2D histogram between two columns of an input vtkTable.
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
void PrintSelf(ostream &os, vtkIndent indent)
static vtkExtractHistogram2D * New()
virtual int ComputeBinExtents(vtkDataArray *col1, vtkDataArray *col2)
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
Composite dataset that organizes datasets into blocks.
Multiprocessing communication superclass.