Classes | Defines | Functions
contrib/brl/bbas/bvgl/bvgl_labelme_parser.h File Reference
#include <expatpplib.h>
#include <vcl_string.h>
#include <vcl_sstream.h>
#include <vgl/vgl_polygon.h>
#include <vgl/vgl_point_2d.h>

Go to the source code of this file.

Classes

class  bvgl_labelme_parser

Defines

#define ANNOTATION   "annotation"
#define FILENAME_TAG   "filename"
#define FOLDER_TAG   "folder"
#define OBJECT_TAG   "object"
#define NAME_TAG   "name"
#define POLYGON_TAG   "polygon"
#define POINT_TAG   "pt"
#define X_TAG   "x"
#define Y_TAG   "y"

Functions

template<typename T >
void convert (const char *t, T &d)
template<typename T >
void convert (vcl_string s, T &d)

Define Documentation

#define ANNOTATION   "annotation"

Definition at line 12 of file bvgl_labelme_parser.h.

#define FILENAME_TAG   "filename"

Definition at line 13 of file bvgl_labelme_parser.h.

#define FOLDER_TAG   "folder"

Definition at line 14 of file bvgl_labelme_parser.h.

#define NAME_TAG   "name"

Definition at line 16 of file bvgl_labelme_parser.h.

#define OBJECT_TAG   "object"

Definition at line 15 of file bvgl_labelme_parser.h.

#define POINT_TAG   "pt"

Definition at line 18 of file bvgl_labelme_parser.h.

#define POLYGON_TAG   "polygon"

Definition at line 17 of file bvgl_labelme_parser.h.

#define X_TAG   "x"

Definition at line 19 of file bvgl_labelme_parser.h.

#define Y_TAG   "y"

Definition at line 20 of file bvgl_labelme_parser.h.


Function Documentation

template<typename T >
void convert ( const char *  t,
T &  d 
)

Definition at line 83 of file bvgl_labelme_parser.h.

template<typename T >
void convert ( vcl_string  s,
T &  d 
)

Definition at line 91 of file bvgl_labelme_parser.h.