The class TFrmVCA supports the management of the user interface of the vertex component analysis (VCA). Please note that you cannot create an instance of this class yourself (the class has no public Create method). In order to manipulate the parameters of the VCA you have first to call the function VCAGui. This will display the VCA user interface and create the instance FrmVCA which is then globally available throughout a script.

The class TFrmVCA provides the following properties and methods:




Hint: If you use the global instance FrmVCA before you have called VCAGui this will result in an error message ("Could not call proc at ....")

Example: The following code snippet creates the user interface of the VCA, sets a few parameters and calculates the vertex components. Finally the VCA image of endmember 4 is displayed:
VCAGui (6,5,false);
FrmVCA.AttachedForm := false;
FrmVCA.Left := 100;
FrmVCA.Top := 100;
FrmVCA.Mask := 1;
FrmVCA.FirstLayer := 93;
FrmVCA.LastLayer := 180;
FrmVCA.DisplayMask := false;
FrmVCA.ResultsTab := 1;
FrmVCA.ShowEndmemberImage (4);