VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPKMeansStatistics Class Reference

#include <vtkPKMeansStatistics.h>

Inheritance diagram for vtkPKMeansStatistics:
Inheritance graph
[legend]
Collaboration diagram for vtkPKMeansStatistics:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkKMeansStatistics Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPKMeansStatisticsNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkIdType GetTotalNumberOfObservations (vtkIdType numObservations)
virtual void SetController (vtkMultiProcessController *)
virtual vtkMultiProcessControllerGetController ()
virtual void UpdateClusterCenters (vtkTable *newClusterElements, vtkTable *curClusterElements, vtkIdTypeArray *numMembershipChanges, vtkIdTypeArray *numElementsInCluster, vtkDoubleArray *error, vtkIdTypeArray *startRunID, vtkIdTypeArray *endRunID, vtkIntArray *computeRun)
virtual void CreateInitialClusterCenters (vtkIdType numToAllocate, vtkIdTypeArray *numberOfClusters, vtkTable *inData, vtkTable *curClusterElements, vtkTable *newClusterElements)

Static Public Member Functions

static vtkPKMeansStatisticsNew ()
static int IsTypeOf (const char *type)
static vtkPKMeansStatisticsSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPKMeansStatistics ()
 ~vtkPKMeansStatistics ()

Protected Attributes

vtkMultiProcessControllerController

Detailed Description

Definition at line 40 of file vtkPKMeansStatistics.h.


Member Typedef Documentation

Reimplemented from vtkKMeansStatistics.

Definition at line 44 of file vtkPKMeansStatistics.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkKMeansStatistics.

static int vtkPKMeansStatistics::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 vtkKMeansStatistics.

virtual int vtkPKMeansStatistics::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 vtkKMeansStatistics.

Reimplemented from vtkKMeansStatistics.

virtual vtkObjectBase* vtkPKMeansStatistics::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkKMeansStatistics.

Reimplemented from vtkKMeansStatistics.

void vtkPKMeansStatistics::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 vtkKMeansStatistics.

Get/Set the multiprocess controller. If no controller is set, single process is assumed.

Get/Set the multiprocess controller. If no controller is set, single process is assumed.

virtual void vtkPKMeansStatistics::UpdateClusterCenters ( vtkTable newClusterElements,
vtkTable curClusterElements,
vtkIdTypeArray numMembershipChanges,
vtkIdTypeArray numElementsInCluster,
vtkDoubleArray error,
vtkIdTypeArray startRunID,
vtkIdTypeArray endRunID,
vtkIntArray computeRun 
) [virtual]

Subroutine to update new cluster centers from the old centers.

Reimplemented from vtkKMeansStatistics.

Subroutine to get the total number of data objects.

Reimplemented from vtkKMeansStatistics.

virtual void vtkPKMeansStatistics::CreateInitialClusterCenters ( vtkIdType  numToAllocate,
vtkIdTypeArray numberOfClusters,
vtkTable inData,
vtkTable curClusterElements,
vtkTable newClusterElements 
) [virtual]

Subroutine to initialize cluster centerss if not provided by the user.

Reimplemented from vtkKMeansStatistics.


Member Data Documentation

Definition at line 84 of file vtkPKMeansStatistics.h.


The documentation for this class was generated from the following file: