Additional Inherited Members | |
Public Member Functions inherited from ILSampleDatabase | |
LString | AddSample (LPVSampleType sampleType, ILSample *sample) |
void | AddSampleFolder (LPVSampleType sampleType, LString folderPath) |
LString | AddSampleImage (LPVSampleType sampleType, ILImage *img, ILRegion *sampleRegion) |
int | CountSample (LPVSampleType sampleType) |
LPVErrorCode | Delete () |
ILSample * | GetSample (LString sampleName) |
void | Init (LString labelName, LString workingDirectory) |
BOOL | IsInMemory () |
Whether this is an in-memory database, whose sample files and all informations are never saved. | |
ILSample * | ItemSample (LPVSampleType sampleType, int idx) |
LPVErrorCode | Refresh () |
void | RemoveSample (LString sampleName) |
void | RemoveSampleFolder (LString folderPath) |
Public Member Functions inherited from ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Properties inherited from ILSampleDatabase | |
LString | Label [get] |
The label of the sample database, which is usually unique and as an identification for the database globally. Note: The database label may differ from the class label. | |
BOOL | UseCache [get, set] |
Whether the sample image and region data will be cached in memory. | |
LString | WorkingDir [get] |
The working directory of the sample database. For the persisted database, it is used to store the sample files and management information file. For the in-memory database, it is the fix "in-memory" text. | |
This class implements the interface ILSampleDatabase, and is used to create an instance of sample database.