#include <obj_parser.hpp>
Definition at line 14 of file obj_parser.hpp.
typedef std::tr1::function<void (const std::string&)> obj::obj_parser::comment_callback_type |
Definition at line 48 of file obj_parser.hpp.
typedef std::tr1::function<void (std::size_t, const std::string&)> obj::obj_parser::error_callback_type |
Definition at line 19 of file obj_parser.hpp.
typedef int obj::obj_parser::flags_type |
Definition at line 49 of file obj_parser.hpp.
typedef std::tr1::function<void (float_type, float_type, float_type)> obj::obj_parser::geometric_vertex_callback_type |
Definition at line 20 of file obj_parser.hpp.
typedef std::tr1::function<void (const std::string&)> obj::obj_parser::group_name_callback_type |
Definition at line 43 of file obj_parser.hpp.
typedef std::tr1::function<void (std::size_t, const std::string&)> obj::obj_parser::info_callback_type |
Definition at line 17 of file obj_parser.hpp.
typedef std::tr1::function<void (const std::string&)> obj::obj_parser::material_library_callback_type |
Definition at line 46 of file obj_parser.hpp.
typedef std::tr1::function<void (const std::string&)> obj::obj_parser::material_name_callback_type |
Definition at line 47 of file obj_parser.hpp.
typedef std::tr1::function<void (const std::string&)> obj::obj_parser::object_name_callback_type |
Definition at line 45 of file obj_parser.hpp.
typedef std::tr1::function<void (index_type, index_type, index_type)> obj::obj_parser::polygonal_face_geometric_vertices_begin_callback_type |
Definition at line 31 of file obj_parser.hpp.
typedef std::tr1::function<void ()> obj::obj_parser::polygonal_face_geometric_vertices_end_callback_type |
Definition at line 33 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&)> obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_begin_callback_type |
Definition at line 34 of file obj_parser.hpp.
typedef std::tr1::function<void ()> obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_end_callback_type |
Definition at line 36 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&)> obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_callback_type |
Definition at line 35 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_3_tuple_type&, const index_3_tuple_type&, const index_3_tuple_type&)> obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_normals_begin_callback_type |
Definition at line 40 of file obj_parser.hpp.
typedef std::tr1::function<void ()> obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_normals_end_callback_type |
Definition at line 42 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_3_tuple_type&)> obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_normals_vertex_callback_type |
Definition at line 41 of file obj_parser.hpp.
typedef std::tr1::function<void (index_type)> obj::obj_parser::polygonal_face_geometric_vertices_vertex_callback_type |
Definition at line 32 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&)> obj::obj_parser::polygonal_face_geometric_vertices_vertex_normals_begin_callback_type |
Definition at line 37 of file obj_parser.hpp.
typedef std::tr1::function<void ()> obj::obj_parser::polygonal_face_geometric_vertices_vertex_normals_end_callback_type |
Definition at line 39 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&)> obj::obj_parser::polygonal_face_geometric_vertices_vertex_normals_vertex_callback_type |
Definition at line 38 of file obj_parser.hpp.
typedef std::tr1::function<void (index_type, index_type, index_type, index_type)> obj::obj_parser::quadrilateral_face_geometric_vertices_callback_type |
Definition at line 27 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&)> obj::obj_parser::quadrilateral_face_geometric_vertices_texture_vertices_callback_type |
Definition at line 28 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_3_tuple_type&, const index_3_tuple_type&, const index_3_tuple_type&, const index_3_tuple_type&)> obj::obj_parser::quadrilateral_face_geometric_vertices_texture_vertices_vertex_normals_callback_type |
Definition at line 30 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&)> obj::obj_parser::quadrilateral_face_geometric_vertices_vertex_normals_callback_type |
Definition at line 29 of file obj_parser.hpp.
typedef std::tr1::function<void (size_type)> obj::obj_parser::smoothing_group_callback_type |
Definition at line 44 of file obj_parser.hpp.
typedef std::tr1::function<void (float_type, float_type)> obj::obj_parser::texture_vertex_callback_type |
Definition at line 21 of file obj_parser.hpp.
typedef std::tr1::function<void (index_type, index_type, index_type)> obj::obj_parser::triangular_face_geometric_vertices_callback_type |
Definition at line 23 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&)> obj::obj_parser::triangular_face_geometric_vertices_texture_vertices_callback_type |
Definition at line 24 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_3_tuple_type&, const index_3_tuple_type&, const index_3_tuple_type&)> obj::obj_parser::triangular_face_geometric_vertices_texture_vertices_vertex_normals_callback_type |
Definition at line 26 of file obj_parser.hpp.
typedef std::tr1::function<void (const index_2_tuple_type&, const index_2_tuple_type&, const index_2_tuple_type&)> obj::obj_parser::triangular_face_geometric_vertices_vertex_normals_callback_type |
Definition at line 25 of file obj_parser.hpp.
typedef std::tr1::function<void (float_type, float_type, float_type)> obj::obj_parser::vertex_normal_callback_type |
Definition at line 22 of file obj_parser.hpp.
typedef std::tr1::function<void (std::size_t, const std::string&)> obj::obj_parser::warning_callback_type |
Definition at line 18 of file obj_parser.hpp.
anonymous enum |
Definition at line 50 of file obj_parser.hpp.
obj::obj_parser::obj_parser | ( | flags_type | flags = 0 | ) | [inline] |
Definition at line 109 of file obj_parser.hpp.
void obj::obj_parser::comment_callback | ( | const comment_callback_type & | comment_callback | ) | [inline] |
Definition at line 199 of file obj_parser.hpp.
void obj::obj_parser::error_callback | ( | const error_callback_type & | error_callback | ) | [inline] |
Definition at line 130 of file obj_parser.hpp.
void obj::obj_parser::face_callbacks | ( | const triangular_face_geometric_vertices_callback_type & | triangular_face_geometric_vertices_callback, |
const triangular_face_geometric_vertices_texture_vertices_callback_type & | triangular_face_geometric_vertices_texture_vertices_callback, | ||
const triangular_face_geometric_vertices_vertex_normals_callback_type & | triangular_face_geometric_vertices_vertex_normals_callback, | ||
const triangular_face_geometric_vertices_texture_vertices_vertex_normals_callback_type & | triangular_face_geometric_vertices_texture_vertices_vertex_normals_callback, | ||
const quadrilateral_face_geometric_vertices_callback_type & | quadrilateral_face_geometric_vertices_callback, | ||
const quadrilateral_face_geometric_vertices_texture_vertices_callback_type & | quadrilateral_face_geometric_vertices_texture_vertices_callback, | ||
const quadrilateral_face_geometric_vertices_vertex_normals_callback_type & | quadrilateral_face_geometric_vertices_vertex_normals_callback, | ||
const quadrilateral_face_geometric_vertices_texture_vertices_vertex_normals_callback_type & | quadrilateral_face_geometric_vertices_texture_vertices_vertex_normals_callback, | ||
const polygonal_face_geometric_vertices_begin_callback_type & | polygonal_face_geometric_vertices_begin_callback, | ||
const polygonal_face_geometric_vertices_vertex_callback_type & | polygonal_face_geometric_vertices_vertex_callback, | ||
const polygonal_face_geometric_vertices_end_callback_type & | polygonal_face_geometric_vertices_end_callback, | ||
const polygonal_face_geometric_vertices_texture_vertices_begin_callback_type & | polygonal_face_geometric_vertices_texture_vertices_begin_callback, | ||
const polygonal_face_geometric_vertices_texture_vertices_vertex_callback_type & | polygonal_face_geometric_vertices_texture_vertices_vertex_callback, | ||
const polygonal_face_geometric_vertices_texture_vertices_end_callback_type & | polygonal_face_geometric_vertices_texture_vertices_end_callback, | ||
const polygonal_face_geometric_vertices_vertex_normals_begin_callback_type & | polygonal_face_geometric_vertices_vertex_normals_begin_callback, | ||
const polygonal_face_geometric_vertices_vertex_normals_vertex_callback_type & | polygonal_face_geometric_vertices_vertex_normals_vertex_callback, | ||
const polygonal_face_geometric_vertices_vertex_normals_end_callback_type & | polygonal_face_geometric_vertices_vertex_normals_end_callback, | ||
const polygonal_face_geometric_vertices_texture_vertices_vertex_normals_begin_callback_type & | polygonal_face_geometric_vertices_texture_vertices_vertex_normals_begin_callback, | ||
const polygonal_face_geometric_vertices_texture_vertices_vertex_normals_vertex_callback_type & | polygonal_face_geometric_vertices_texture_vertices_vertex_normals_vertex_callback, | ||
const polygonal_face_geometric_vertices_texture_vertices_vertex_normals_end_callback_type & | polygonal_face_geometric_vertices_texture_vertices_vertex_normals_end_callback | ||
) | [inline] |
Definition at line 150 of file obj_parser.hpp.
void obj::obj_parser::geometric_vertex_callback | ( | const geometric_vertex_callback_type & | geometric_vertex_callback | ) | [inline] |
Definition at line 135 of file obj_parser.hpp.
void obj::obj_parser::group_name_callback | ( | const group_name_callback_type & | group_name_callback | ) | [inline] |
Definition at line 174 of file obj_parser.hpp.
void obj::obj_parser::info_callback | ( | const info_callback_type & | info_callback | ) | [inline] |
Definition at line 120 of file obj_parser.hpp.
void obj::obj_parser::material_library_callback | ( | const material_library_callback_type & | material_library_callback | ) | [inline] |
Definition at line 189 of file obj_parser.hpp.
void obj::obj_parser::material_name_callback | ( | const material_name_callback_type & | material_name_callback | ) | [inline] |
Definition at line 194 of file obj_parser.hpp.
void obj::obj_parser::object_name_callback | ( | const object_name_callback_type & | object_name_callback | ) | [inline] |
Definition at line 184 of file obj_parser.hpp.
bool obj::obj_parser::parse | ( | std::istream & | istream | ) |
Definition at line 6 of file obj_parser.cpp.
bool obj::obj_parser::parse | ( | const std::string & | filename | ) | [inline] |
Definition at line 114 of file obj_parser.hpp.
void obj::obj_parser::smoothing_group_callback | ( | const smoothing_group_callback_type & | smoothing_group_callback | ) | [inline] |
Definition at line 179 of file obj_parser.hpp.
void obj::obj_parser::texture_vertex_callback | ( | const texture_vertex_callback_type & | texture_vertex_callback | ) | [inline] |
Definition at line 140 of file obj_parser.hpp.
void obj::obj_parser::vertex_normal_callback | ( | const vertex_normal_callback_type & | vertex_normal_callback | ) | [inline] |
Definition at line 145 of file obj_parser.hpp.
void obj::obj_parser::warning_callback | ( | const warning_callback_type & | warning_callback | ) | [inline] |
Definition at line 125 of file obj_parser.hpp.
Definition at line 104 of file obj_parser.hpp.
Definition at line 75 of file obj_parser.hpp.
flags_type obj::obj_parser::flags_ [private] |
Definition at line 72 of file obj_parser.hpp.
Definition at line 76 of file obj_parser.hpp.
Definition at line 99 of file obj_parser.hpp.
Definition at line 73 of file obj_parser.hpp.
Definition at line 102 of file obj_parser.hpp.
Definition at line 103 of file obj_parser.hpp.
Definition at line 101 of file obj_parser.hpp.
polygonal_face_geometric_vertices_begin_callback_type obj::obj_parser::polygonal_face_geometric_vertices_begin_callback_ [private] |
Definition at line 87 of file obj_parser.hpp.
polygonal_face_geometric_vertices_end_callback_type obj::obj_parser::polygonal_face_geometric_vertices_end_callback_ [private] |
Definition at line 89 of file obj_parser.hpp.
polygonal_face_geometric_vertices_texture_vertices_begin_callback_type obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_begin_callback_ [private] |
Definition at line 90 of file obj_parser.hpp.
polygonal_face_geometric_vertices_texture_vertices_end_callback_type obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_end_callback_ [private] |
Definition at line 92 of file obj_parser.hpp.
polygonal_face_geometric_vertices_texture_vertices_vertex_callback_type obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_callback_ [private] |
Definition at line 91 of file obj_parser.hpp.
polygonal_face_geometric_vertices_texture_vertices_vertex_normals_begin_callback_type obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_normals_begin_callback_ [private] |
Definition at line 96 of file obj_parser.hpp.
polygonal_face_geometric_vertices_texture_vertices_vertex_normals_end_callback_type obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_normals_end_callback_ [private] |
Definition at line 98 of file obj_parser.hpp.
polygonal_face_geometric_vertices_texture_vertices_vertex_normals_vertex_callback_type obj::obj_parser::polygonal_face_geometric_vertices_texture_vertices_vertex_normals_vertex_callback_ [private] |
Definition at line 97 of file obj_parser.hpp.
polygonal_face_geometric_vertices_vertex_callback_type obj::obj_parser::polygonal_face_geometric_vertices_vertex_callback_ [private] |
Definition at line 88 of file obj_parser.hpp.
polygonal_face_geometric_vertices_vertex_normals_begin_callback_type obj::obj_parser::polygonal_face_geometric_vertices_vertex_normals_begin_callback_ [private] |
Definition at line 93 of file obj_parser.hpp.
polygonal_face_geometric_vertices_vertex_normals_end_callback_type obj::obj_parser::polygonal_face_geometric_vertices_vertex_normals_end_callback_ [private] |
Definition at line 95 of file obj_parser.hpp.
polygonal_face_geometric_vertices_vertex_normals_vertex_callback_type obj::obj_parser::polygonal_face_geometric_vertices_vertex_normals_vertex_callback_ [private] |
Definition at line 94 of file obj_parser.hpp.
quadrilateral_face_geometric_vertices_callback_type obj::obj_parser::quadrilateral_face_geometric_vertices_callback_ [private] |
Definition at line 83 of file obj_parser.hpp.
quadrilateral_face_geometric_vertices_texture_vertices_callback_type obj::obj_parser::quadrilateral_face_geometric_vertices_texture_vertices_callback_ [private] |
Definition at line 84 of file obj_parser.hpp.
quadrilateral_face_geometric_vertices_texture_vertices_vertex_normals_callback_type obj::obj_parser::quadrilateral_face_geometric_vertices_texture_vertices_vertex_normals_callback_ [private] |
Definition at line 86 of file obj_parser.hpp.
quadrilateral_face_geometric_vertices_vertex_normals_callback_type obj::obj_parser::quadrilateral_face_geometric_vertices_vertex_normals_callback_ [private] |
Definition at line 85 of file obj_parser.hpp.
Definition at line 100 of file obj_parser.hpp.
Definition at line 77 of file obj_parser.hpp.
triangular_face_geometric_vertices_callback_type obj::obj_parser::triangular_face_geometric_vertices_callback_ [private] |
Definition at line 79 of file obj_parser.hpp.
triangular_face_geometric_vertices_texture_vertices_callback_type obj::obj_parser::triangular_face_geometric_vertices_texture_vertices_callback_ [private] |
Definition at line 80 of file obj_parser.hpp.
triangular_face_geometric_vertices_texture_vertices_vertex_normals_callback_type obj::obj_parser::triangular_face_geometric_vertices_texture_vertices_vertex_normals_callback_ [private] |
Definition at line 82 of file obj_parser.hpp.
triangular_face_geometric_vertices_vertex_normals_callback_type obj::obj_parser::triangular_face_geometric_vertices_vertex_normals_callback_ [private] |
Definition at line 81 of file obj_parser.hpp.
Definition at line 78 of file obj_parser.hpp.
Definition at line 74 of file obj_parser.hpp.