#include <mesh_split_file_writer.H>
Classes | |
| struct | cell_index_t |
Public Member Functions | |
| mesh_split_file_writer_t (unsigned id_, size_t max_cells_) | |
| ~mesh_split_file_writer_t () | |
| void | write_mesh (const cell_t &cell1_, point_3d_t &pt1_, const cell_t &cell2_, point_3d_t &pt2_, const cell_t &cell3_, point_3d_t &pt3_) |
| void | write_point (const cell_t &cell_, point_3d_t &pt_) |
Private Attributes | |
| std::ofstream | m_indices_file |
| std::ofstream | m_vertices_file |
| triangle_data_t | m_triangle_data |
| access_data_t * | m_ad |
| unsigned | m_qid |
| std::vector< cell_index_t > | m_cell_indices |
| size_t | m_index_size |
| unsigned | m_index_counter |
| size_t | m_num_vertices |
| bool | m_match_closest_pts |
| mesh_split_file_writer_t::mesh_split_file_writer_t | ( | unsigned | id_, | |
| size_t | max_cells_ | |||
| ) |
References m_cell_indices, m_index_counter, m_index_size, m_indices_file, m_num_vertices, m_triangle_data, and m_vertices_file.
| mesh_split_file_writer_t::~mesh_split_file_writer_t | ( | ) |
| void mesh_split_file_writer_t::write_mesh | ( | const cell_t & | cell1_, | |
| point_3d_t & | pt1_, | |||
| const cell_t & | cell2_, | |||
| point_3d_t & | pt2_, | |||
| const cell_t & | cell3_, | |||
| point_3d_t & | pt3_ | |||
| ) | [virtual] |
Implements cajun::mesh_writer_interface_t.
References write_point().
| void mesh_split_file_writer_t::write_point | ( | const cell_t & | cell_, | |
| point_3d_t & | pt_ | |||
| ) |
References cajun::point_3d_t::b, cajun::point_3d_t::g, cajun::point_3d_t::id(), cajun::cell_t::id(), cajun::point_3d_t::is_colored(), cajun::point_3d_t::is_used(), m_cell_indices, cajun::point_3d_t::m_depth, m_index_counter, m_index_size, m_indices_file, m_num_vertices, m_vertices_file, cajun::point_3d_t::r, cajun::point_3d_t::set_used(), cajun::point_3d_t::x, cajun::point_3d_t::y, and cajun::point_3d_t::z.
Referenced by write_mesh().
access_data_t* cajun::mesh_split_file_writer_t::m_ad [private] |
std::vector<cell_index_t> cajun::mesh_split_file_writer_t::m_cell_indices [private] |
Referenced by mesh_split_file_writer_t(), and write_point().
unsigned cajun::mesh_split_file_writer_t::m_index_counter [private] |
Referenced by mesh_split_file_writer_t(), and write_point().
size_t cajun::mesh_split_file_writer_t::m_index_size [private] |
Referenced by mesh_split_file_writer_t(), and write_point().
std::ofstream cajun::mesh_split_file_writer_t::m_indices_file [private] |
Referenced by mesh_split_file_writer_t(), and write_point().
bool cajun::mesh_split_file_writer_t::m_match_closest_pts [private] |
size_t cajun::mesh_split_file_writer_t::m_num_vertices [private] |
Referenced by mesh_split_file_writer_t(), and write_point().
unsigned cajun::mesh_split_file_writer_t::m_qid [private] |
triangle_data_t cajun::mesh_split_file_writer_t::m_triangle_data [private] |
Referenced by mesh_split_file_writer_t().
std::ofstream cajun::mesh_split_file_writer_t::m_vertices_file [private] |
Referenced by mesh_split_file_writer_t(), and write_point().
1.6.1