Functions

documentlist.h File Reference

Document List. More...

#include "imagedocument.h"
Include dependency graph for documentlist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

imlabImageDocumentimlabImageDocumentListSelect (const char *title, imlabMatchFunc match_func, imImage *match_image)
imlabImageDocument ** imlabImageDocumentListSelectMulti (const char *title, imlabMatchFunc match_func, imImage *match_image, int *match_count)
int imlabImageDocumentListInitFormat (char *list_format, imlabMatchFunc match_func, imImage *match_image, int *init_win)
imlabImageDocumentimlabImageDocumentListGetMatch (int list_index, imlabMatchFunc match_func, imImage *match_image)
imlabImageDocumentimlabImageDocumentListNext (imlabImageDocument *document)
void imlabImageDocumentListAdd (imlabImageDocument *document)
void imlabImageDocumentListRemove (imlabImageDocument *document)
void imlabResultsWindowListAdd (imlabResultsWindow *results_window)
void imlabResultsWindowListRemove (imlabResultsWindow *results_window)
imlabResultsWindowimlabResultsWindowListSelect (const char *title)

Detailed Description


Define Documentation

#define IMLAB_MAX_IMAGES   1000

Typedef Documentation

typedef int(* imlabMatchFunc)(const imImage *image, const imImage *match_image)

Function Documentation

imlabImageDocument* imlabImageDocumentListSelect ( const char *  title,
imlabMatchFunc  match_func,
imImage *  match_image 
)

Dialog to select an image document from the available ones. The images can be filtered by two conditions, the match function and the match image. Returns NULL if no window matches or the user aborted.

imlabImageDocument** imlabImageDocumentListSelectMulti ( const char *  title,
imlabMatchFunc  match_func,
imImage *  match_image,
int *  match_count 
)

Dialog to select multiple image documents from the available ones. The images can be filtered by two conditions, the match function and the match image. Returns NULL if no window matches or the user aborted.

int imlabImageDocumentListInitFormat ( char *  list_format,
imlabMatchFunc  match_func,
imImage *  match_image,
int *  init_win 
)

Returns a string with a list of the filtered image document titles separated by '|'. The images can be filtered by two conditions, the match function and the match image. The list must have at least 4096 chars. Returns 0 if no window matches.

imlabImageDocument* imlabImageDocumentListGetMatch ( int  list_index,
imlabMatchFunc  match_func,
imImage *  match_image 
)

Returns an image document from the list. Returns NULL if no window matches.

imlabImageDocument* imlabImageDocumentListNext ( imlabImageDocument document  ) 

Returns the next image document from the list. Returns NULL if no window matches.

imlabImageDocument* imlabImageDocumentListGet ( int  index  ) 
int imlabImageDocumentListCount ( void   ) 
void imlabImageDocumentListAdd ( imlabImageDocument document  ) 

Add to the image document list

void imlabImageDocumentListRemove ( imlabImageDocument document  ) 

Remove from the image document list

imlabResultsWindow* imlabResultsWindowListGet ( int  index  ) 
int imlabResultsWindowListCount ( void   ) 
void imlabResultsWindowListAdd ( imlabResultsWindow results_window  ) 

Add to the results window list

void imlabResultsWindowListRemove ( imlabResultsWindow results_window  ) 

Remove from the results window list

imlabResultsWindow* imlabResultsWindowListSelect ( const char *  title  ) 

Dialog to select a results window from the available ones.