56 #ifndef vtkPCAStatistics_h 57 #define vtkPCAStatistics_h 59 #include "vtkFiltersStatisticsModule.h" 81 NUM_NORMALIZATION_SCHEMES
118 vtkSetMacro(NormalizationScheme,
int);
119 vtkGetMacro(NormalizationScheme,
int);
120 virtual void SetNormalizationSchemeByName(
const char* sname );
121 virtual const char* GetNormalizationSchemeName(
int scheme );
149 virtual vtkTable* GetSpecifiedNormalization();
150 virtual void SetSpecifiedNormalization(
vtkTable* );
164 double GetEigenvalue(
int request,
int i);
165 double GetEigenvalue(
int i);
182 void GetEigenvector(
int request,
int i,
vtkDoubleArray* eigenvector);
213 vtkSetMacro(BasisScheme,
int);
214 vtkGetMacro(BasisScheme,
int);
215 virtual const char* GetBasisSchemeName(
int schemeIndex );
216 virtual void SetBasisSchemeByName(
const char* schemeName );
224 vtkSetMacro(FixedBasisSize,
int);
225 vtkGetMacro(FixedBasisSize,
int);
233 vtkSetClampMacro(FixedBasisEnergy,
double,0.,1.);
234 vtkGetMacro(FixedBasisEnergy,
double);
295 static const char* BasisSchemeEnumNames[NUM_BASIS_SCHEMES + 1];
296 static const char* NormalizationSchemeEnumNames[NUM_NORMALIZATION_SCHEMES + 1];
303 #endif // vtkPCAStatistics_h A base class for a functor that assesses data.
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 atomic 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.