VTK
dox
Filters
ParallelImaging
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
-------------------------------------------------------------------------*/
39
#ifndef vtkPExtractHistogram2D_h
40
#define vtkPExtractHistogram2D_h
41
42
#include "vtkFiltersParallelImagingModule.h"
// For export macro
43
#include "
vtkExtractHistogram2D.h
"
44
45
class
vtkMultiBlockDataSet
;
46
class
vtkMultiProcessController
;
47
48
class
VTKFILTERSPARALLELIMAGING_EXPORT
vtkPExtractHistogram2D
:
public
vtkExtractHistogram2D
49
{
50
public
:
51
static
vtkPExtractHistogram2D
*
New
();
52
vtkTypeMacro(
vtkPExtractHistogram2D
,
vtkExtractHistogram2D
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
54
55
virtual
void
SetController(
vtkMultiProcessController
*);
56
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
57
58
protected
:
59
vtkPExtractHistogram2D
();
60
~
vtkPExtractHistogram2D
()
override
;
61
62
vtkMultiProcessController
*
Controller
;
63
64
int
ComputeBinExtents
(
vtkDataArray
* col1,
vtkDataArray
* col2)
override
;
65
66
// Execute the calculations required by the Learn option.
67
void
Learn
(
vtkTable
* inData,
68
vtkTable
* inParameters,
69
vtkMultiBlockDataSet
* outMeta )
override
;
70
71
private
:
72
vtkPExtractHistogram2D
(
const
vtkPExtractHistogram2D
&) =
delete
;
73
void
operator=(
const
vtkPExtractHistogram2D
&) =
delete
;
74
};
75
76
#endif
vtkTable
A table, which contains similar-typed columns of data.
Definition:
vtkTable.h:68
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:54
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition:
vtkMultiBlockDataSet.h:51
vtkExtractHistogram2D::Learn
void Learn(vtkTable *inData, vtkTable *inParameters, vtkMultiBlockDataSet *inMeta) override
Execute the calculations required by the Learn option.
vtkExtractHistogram2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractHistogram2D
compute a 2D histogram between two columns of an input vtkTable.
Definition:
vtkExtractHistogram2D.h:58
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:82
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkExtractHistogram2D.h
vtkPExtractHistogram2D
compute a 2D histogram between two columns of an input vtkTable in parallel.
Definition:
vtkPExtractHistogram2D.h:48
vtkPExtractHistogram2D::Controller
vtkMultiProcessController * Controller
Definition:
vtkPExtractHistogram2D.h:62
vtkExtractHistogram2D::New
static vtkExtractHistogram2D * New()
vtkExtractHistogram2D::ComputeBinExtents
virtual int ComputeBinExtents(vtkDataArray *col1, vtkDataArray *col2)
Generated by
1.8.16