40 #ifndef vtkPCAStatistics_h
41 #define vtkPCAStatistics_h
43 #include "vtkFiltersStatisticsModule.h"
46 VTK_ABI_NAMESPACE_BEGIN
66 NUM_NORMALIZATION_SCHEMES
103 vtkSetMacro(NormalizationScheme,
int);
104 vtkGetMacro(NormalizationScheme,
int);
105 virtual void SetNormalizationSchemeByName(
const char* schemeName);
106 virtual const char* GetNormalizationSchemeName(
int scheme);
134 virtual vtkTable* GetSpecifiedNormalization();
135 virtual void SetSpecifiedNormalization(
vtkTable*);
149 double GetEigenvalue(
int request,
int i);
150 double GetEigenvalue(
int i);
167 void GetEigenvector(
int request,
int i,
vtkDoubleArray* eigenvector);
198 vtkSetMacro(BasisScheme,
int);
199 vtkGetMacro(BasisScheme,
int);
200 virtual const char* GetBasisSchemeName(
int schemeIndex);
201 virtual void SetBasisSchemeByName(
const char* schemeName);
210 vtkSetMacro(FixedBasisSize,
int);
211 vtkGetMacro(FixedBasisSize,
int);
220 vtkSetClampMacro(FixedBasisEnergy,
double, 0., 1.);
221 vtkGetMacro(FixedBasisEnergy,
double);
267 AssessFunctor*& dfunc)
override;
274 static const char* BasisSchemeEnumNames[NUM_BASIS_SCHEMES + 1];
275 static const char* NormalizationSchemeEnumNames[NUM_NORMALIZATION_SCHEMES + 1];
282 VTK_ABI_NAMESPACE_END
283 #endif // vtkPCAStatistics_h
Normalize cov(i,j) by sqrt(V(i)*V(j)) where V is supplied by the user.
NormalizationType
Methods by which the covariance matrix may be normalized.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Derive(vtkMultiBlockDataSet *) override
Execute the calculations required by the Derive option.
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of vtkIdType
Normalize cov(i,j) by V(i,j) where V is supplied by the user.
A type representing the union of many types.
dynamic, self-adjusting array of double
A class for multivariate linear correlation.
Use the first N entries in the basis matrix.
Use all entries in the basis matrix.
a simple class to control print indentation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkMultiCorrelativeStatistics * New()
ProjectionType
These are the enumeration values that SetBasisScheme() accepts and GetBasisScheme returns...
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
void SelectAssessFunctor(vtkTable *inData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
A class for multivariate principal component analysis.
A table, which contains similar-typed columns of data.
virtual bool SetParameter(const char *parameter, int index, vtkVariant value)
A convenience method (in particular for access from other applications) to set parameter values of Le...
Normalize cov(i,j) by sqrt(cov(i,i)*cov(j,j)).
Composite dataset that organizes datasets into blocks.
The covariance matrix should be used as computed.
void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Assess option.
general representation of visualization data
Use consecutive basis matrix entries whose energies sum to at least T.