VTK
|
compute a 2D histogram between two columns of an input vtkTable in parallel. More...
#include <vtkPExtractHistogram2D.h>
Public Types | |
typedef vtkExtractHistogram2D | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPExtractHistogram2D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetController () |
Static Public Member Functions | |
static vtkPExtractHistogram2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkPExtractHistogram2D * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPExtractHistogram2D () | |
~vtkPExtractHistogram2D () | |
virtual int | ComputeBinExtents (vtkDataArray *col1, vtkDataArray *col2) |
virtual void | Learn (vtkTable *inData, vtkTable *inParameters, vtkMultiBlockDataSet *outMeta) |
Protected Attributes | |
vtkMultiProcessController * | Controller |
compute a 2D histogram between two columns of an input vtkTable in parallel.
This class does exactly the same this as vtkExtractHistogram2D, but does it in a multi-process environment. After each node computes their own local histograms, this class does an AllReduce that distributes the sum of all local histograms onto each node.
Definition at line 47 of file vtkPExtractHistogram2D.h.
Reimplemented from vtkExtractHistogram2D.
Definition at line 51 of file vtkPExtractHistogram2D.h.
vtkPExtractHistogram2D::vtkPExtractHistogram2D | ( | ) | [protected] |
vtkPExtractHistogram2D::~vtkPExtractHistogram2D | ( | ) | [protected] |
static vtkPExtractHistogram2D* vtkPExtractHistogram2D::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkExtractHistogram2D.
static int vtkPExtractHistogram2D::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkExtractHistogram2D.
virtual int vtkPExtractHistogram2D::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkExtractHistogram2D.
static vtkPExtractHistogram2D* vtkPExtractHistogram2D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkExtractHistogram2D.
virtual vtkObjectBase* vtkPExtractHistogram2D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkExtractHistogram2D.
Reimplemented from vtkExtractHistogram2D.
void vtkPExtractHistogram2D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkExtractHistogram2D.
virtual void vtkPExtractHistogram2D::SetController | ( | vtkMultiProcessController * | ) | [virtual] |
virtual vtkMultiProcessController* vtkPExtractHistogram2D::GetController | ( | ) | [virtual] |
virtual int vtkPExtractHistogram2D::ComputeBinExtents | ( | vtkDataArray * | col1, |
vtkDataArray * | col2 | ||
) | [protected, virtual] |
Reimplemented from vtkExtractHistogram2D.
virtual void vtkPExtractHistogram2D::Learn | ( | vtkTable * | inData, |
vtkTable * | inParameters, | ||
vtkMultiBlockDataSet * | inMeta | ||
) | [protected, virtual] |
Execute the calculations required by the Learn option. This is what actually does the histogram computation.
Reimplemented from vtkExtractHistogram2D.
Definition at line 61 of file vtkPExtractHistogram2D.h.