Public Member Functions | Private Member Functions | Private Attributes
obj_to_raw_converter Class Reference

List of all members.

Public Member Functions

bool convert (std::istream &istream, std::ostream &ostream)
 obj_to_raw_converter ()

Private Member Functions

void comment_callback (const std::string &comment)
void error_callback (const std::string &filename, std::size_t line_number, const std::string &message)
void geometric_vertex_callback (obj::float_type x, obj::float_type y, obj::float_type z)
void group_name_callback (const std::string &group_name)
void info_callback (const std::string &filename, std::size_t line_number, const std::string &message)
void material_library_callback (const std::string &filename)
void material_name_callback (const std::string &material_name)
void object_name_callback (const std::string &object_name)
void polygonal_face_geometric_vertices_begin_callback (obj::index_type v1, obj::index_type v2, obj::index_type v3)
void polygonal_face_geometric_vertices_end_callback ()
void polygonal_face_geometric_vertices_texture_vertices_begin_callback (const obj::index_2_tuple_type &v1_vt1, const obj::index_2_tuple_type &v2_vt2, const obj::index_2_tuple_type &v3_vt3)
void polygonal_face_geometric_vertices_texture_vertices_end_callback ()
void polygonal_face_geometric_vertices_texture_vertices_vertex_callback (const obj::index_2_tuple_type &v_vt)
void polygonal_face_geometric_vertices_texture_vertices_vertex_normals_begin_callback (const obj::index_3_tuple_type &v1_vt1_vn1, const obj::index_3_tuple_type &v2_vt2_vn2, const obj::index_3_tuple_type &v3_vt3_vn3)
void polygonal_face_geometric_vertices_texture_vertices_vertex_normals_end_callback ()
void polygonal_face_geometric_vertices_texture_vertices_vertex_normals_vertex_callback (const obj::index_3_tuple_type &v_vt_vn)
void polygonal_face_geometric_vertices_vertex_callback (obj::index_type v)
void polygonal_face_geometric_vertices_vertex_normals_begin_callback (const obj::index_2_tuple_type &v1_vn1, const obj::index_2_tuple_type &v2_vn2, const obj::index_2_tuple_type &v3_vn3)
void polygonal_face_geometric_vertices_vertex_normals_end_callback ()
void polygonal_face_geometric_vertices_vertex_normals_vertex_callback (const obj::index_2_tuple_type &v_vn)
void quadrilateral_face_geometric_vertices_callback (obj::index_type v1, obj::index_type v2, obj::index_type v3, obj::index_type v4)
void quadrilateral_face_geometric_vertices_texture_vertices_callback (const obj::index_2_tuple_type &v1_vt1, const obj::index_2_tuple_type &v2_vt2, const obj::index_2_tuple_type &v3_vt3, const obj::index_2_tuple_type &v4_vt4)
void quadrilateral_face_geometric_vertices_texture_vertices_vertex_normals_callback (const obj::index_3_tuple_type &v1_vt1_vn1, const obj::index_3_tuple_type &v2_vt2_vn2, const obj::index_3_tuple_type &v3_vt3_vn3, const obj::index_3_tuple_type &v4_vt4_vn4)
void quadrilateral_face_geometric_vertices_vertex_normals_callback (const obj::index_2_tuple_type &v1_vn1, const obj::index_2_tuple_type &v2_vn2, const obj::index_2_tuple_type &v3_vn3, const obj::index_2_tuple_type &v4_vn4)
void smoothing_group_callback (obj::size_type group_number)
void texture_vertex_callback (obj::float_type u, obj::float_type v)
void triangular_face_geometric_vertices_callback (obj::index_type v1, obj::index_type v2, obj::index_type v3)
void triangular_face_geometric_vertices_texture_vertices_callback (const obj::index_2_tuple_type &v1_vt1, const obj::index_2_tuple_type &v2_vt2, const obj::index_2_tuple_type &v3_vt3)
void triangular_face_geometric_vertices_texture_vertices_vertex_normals_callback (const obj::index_3_tuple_type &v1_vt1_vn1, const obj::index_3_tuple_type &v2_vt2_vn2, const obj::index_3_tuple_type &v3_vt3_vn3)
void triangular_face_geometric_vertices_vertex_normals_callback (const obj::index_2_tuple_type &v1_vn1, const obj::index_2_tuple_type &v2_vn2, const obj::index_2_tuple_type &v3_vn3)
void vertex_normal_callback (obj::float_type x, obj::float_type y, obj::float_type z)
void warning_callback (const std::string &filename, std::size_t line_number, const std::string &message)

Private Attributes

std::ostream * ostream_
std::vector< std::tr1::tuple
< obj::float_type,
obj::float_type,
obj::float_type > > 
vertices_

Detailed Description

Definition at line 15 of file obj2raw.cpp.


Constructor & Destructor Documentation

Definition at line 18 of file obj2raw.cpp.


Member Function Documentation

void obj_to_raw_converter::comment_callback ( const std::string &  comment) [private]

Definition at line 221 of file obj2raw.cpp.

bool obj_to_raw_converter::convert ( std::istream &  istream,
std::ostream &  ostream 
)

Definition at line 225 of file obj2raw.cpp.

void obj_to_raw_converter::error_callback ( const std::string &  filename,
std::size_t  line_number,
const std::string &  message 
) [private]

Definition at line 67 of file obj2raw.cpp.

Definition at line 72 of file obj2raw.cpp.

void obj_to_raw_converter::group_name_callback ( const std::string &  group_name) [private]

Definition at line 201 of file obj2raw.cpp.

void obj_to_raw_converter::info_callback ( const std::string &  filename,
std::size_t  line_number,
const std::string &  message 
) [private]

Definition at line 57 of file obj2raw.cpp.

void obj_to_raw_converter::material_library_callback ( const std::string &  filename) [private]

Definition at line 213 of file obj2raw.cpp.

void obj_to_raw_converter::material_name_callback ( const std::string &  material_name) [private]

Definition at line 217 of file obj2raw.cpp.

void obj_to_raw_converter::object_name_callback ( const std::string &  object_name) [private]

Definition at line 209 of file obj2raw.cpp.

Definition at line 153 of file obj2raw.cpp.

Definition at line 161 of file obj2raw.cpp.

Definition at line 165 of file obj2raw.cpp.

Definition at line 173 of file obj2raw.cpp.

Definition at line 169 of file obj2raw.cpp.

Definition at line 189 of file obj2raw.cpp.

Definition at line 197 of file obj2raw.cpp.

Definition at line 193 of file obj2raw.cpp.

Definition at line 157 of file obj2raw.cpp.

Definition at line 177 of file obj2raw.cpp.

Definition at line 185 of file obj2raw.cpp.

Definition at line 181 of file obj2raw.cpp.

Definition at line 137 of file obj2raw.cpp.

Definition at line 141 of file obj2raw.cpp.

Definition at line 149 of file obj2raw.cpp.

Definition at line 145 of file obj2raw.cpp.

Definition at line 205 of file obj2raw.cpp.

Definition at line 77 of file obj2raw.cpp.

Definition at line 85 of file obj2raw.cpp.

Definition at line 98 of file obj2raw.cpp.

Definition at line 124 of file obj2raw.cpp.

Definition at line 111 of file obj2raw.cpp.

Definition at line 81 of file obj2raw.cpp.

void obj_to_raw_converter::warning_callback ( const std::string &  filename,
std::size_t  line_number,
const std::string &  message 
) [private]

Definition at line 62 of file obj2raw.cpp.


Member Data Documentation

std::ostream* obj_to_raw_converter::ostream_ [private]

Definition at line 53 of file obj2raw.cpp.

Definition at line 54 of file obj2raw.cpp.


The documentation for this class was generated from the following file:


libobj
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:32:19