Go to the documentation of this file.
56 #ifndef vtkPCAStatistics_h
57 #define vtkPCAStatistics_h
59 #include "vtkFiltersStatisticsModule.h"
81 NUM_NORMALIZATION_SCHEMES
119 vtkGetMacro(NormalizationScheme,
int);
214 vtkGetMacro(BasisScheme,
int);
225 vtkGetMacro(FixedBasisSize,
int);
233 vtkSetClampMacro(FixedBasisEnergy,
double,0.,1.);
234 vtkGetMacro(FixedBasisEnergy,
double);
290 int NormalizationScheme;
293 double FixedBasisEnergy;
295 static const
char* BasisSchemeEnumNames[NUM_BASIS_SCHEMES + 1];
296 static const
char* NormalizationSchemeEnumNames[NUM_NORMALIZATION_SCHEMES + 1];
303 #endif // vtkPCAStatistics_h
virtual vtkTable * GetSpecifiedNormalization()
These methods allow you to set/get values used to normalize the covariance matrix before PCA.
A class for multivariate principal component analysis.
ProjectionType
These are the enumeration values that SetBasisScheme() accepts and GetBasisScheme returns.
A table, which contains similar-typed columns of data.
void GetEigenvectors(vtkDoubleArray *eigenvectors)
@ DIAGONAL_VARIANCE
Normalize cov(i,j) by sqrt(cov(i,i)*cov(j,j)).
A base class for a functor that assesses data.
@ NONE
The covariance matrix should be used as computed.
virtual const char * GetNormalizationSchemeName(int scheme)
Composite dataset that organizes datasets into blocks.
A class for multivariate linear correlation.
void GetEigenvector(int request, int i, vtkDoubleArray *eigenvector)
void GetEigenvalues(vtkDoubleArray *)
double GetEigenvalue(int request, int i)
double GetEigenvalue(int i)
virtual void SetBasisSchemeByName(const char *schemeName)
@ DIAGONAL_SPECIFIED
Normalize cov(i,j) by sqrt(V(i)*V(j)) where V is supplied by the user.
a simple class to control print indentation
A atomic type representing the union of many types.
void GetEigenvector(int i, vtkDoubleArray *eigenvector)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool SetParameter(const char *parameter, int index, vtkVariant value) override
A convenience method (in particular for access from other applications) to set parameter values.
NormalizationType
Methods by which the covariance matrix may be normalized.
@ FIXED_BASIS_ENERGY
Use consecutive basis matrix entries whose energies sum to at least T.
@ TRIANGLE_SPECIFIED
Normalize cov(i,j) by V(i,j) where V is supplied by the user.
virtual const char * GetBasisSchemeName(int schemeIndex)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void SetNormalizationSchemeByName(const char *sname)
dynamic, self-adjusting array of vtkIdType
@ FIXED_BASIS_SIZE
Use the first N entries in the basis matrix.
Tests instantiations of the vtkNew class template.
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of double
void GetEigenvalues(int request, vtkDoubleArray *)
Get the eigenvalues.
general representation of visualization data
void GetEigenvectors(int request, vtkDoubleArray *eigenvectors)
Get the eigenvectors.
~vtkPCAStatistics() override
static vtkPCAStatistics * New()
@ FULL_BASIS
Use all entries in the basis matrix.
virtual void SetSpecifiedNormalization(vtkTable *)