VTK
|
#include <vtkPKMeansStatistics.h>
Public Types | |
typedef vtkKMeansStatistics | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPKMeansStatistics * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkIdType | GetTotalNumberOfObservations (vtkIdType numObservations) |
virtual void | SetController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetController () |
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 vtkPKMeansStatistics * | New () |
static int | IsTypeOf (const char *type) |
static vtkPKMeansStatistics * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPKMeansStatistics () | |
~vtkPKMeansStatistics () | |
Protected Attributes | |
vtkMultiProcessController * | Controller |
Definition at line 40 of file vtkPKMeansStatistics.h.
Reimplemented from vtkKMeansStatistics.
Definition at line 44 of file vtkPKMeansStatistics.h.
vtkPKMeansStatistics::vtkPKMeansStatistics | ( | ) | [protected] |
vtkPKMeansStatistics::~vtkPKMeansStatistics | ( | ) | [protected] |
static vtkPKMeansStatistics* vtkPKMeansStatistics::New | ( | ) | [static] |
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.
static vtkPKMeansStatistics* vtkPKMeansStatistics::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
virtual void vtkPKMeansStatistics::SetController | ( | vtkMultiProcessController * | ) | [virtual] |
Get/Set the multiprocess controller. If no controller is set, single process is assumed.
virtual vtkMultiProcessController* vtkPKMeansStatistics::GetController | ( | ) | [virtual] |
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.
virtual vtkIdType vtkPKMeansStatistics::GetTotalNumberOfObservations | ( | vtkIdType | numObservations | ) | [virtual] |
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.
Definition at line 84 of file vtkPKMeansStatistics.h.