#include <grid_voxelizer.h>
Public Types | |
typedef grid_type::value_type | T |
typedef grid_type::math_types | math_types |
typedef math_types::real_type | real_type |
typedef math_types::vector3_type | vector3_type |
Public Member Functions | |
Voxelizer () | |
~Voxelizer () | |
template<typename mesh_type > | |
void | run (mesh_type &mesh, grid_type &voxels) |
Protected Attributes | |
std::vector< GLubyte > | m_pixels |
Big data chunck used to examine pixels in the frame (or pixel) buffer. | |
OpenTissue::texture::texture2D_pointer | m_texture |
gl::renderbuffer_pointer | m_stencil |
gl::renderbuffer_pointer | m_color |
gl::FramebufferObject | m_fbo |
typedef grid_type::math_types OpenTissue::grid::detail::Voxelizer< grid_type >::math_types |
typedef math_types::real_type OpenTissue::grid::detail::Voxelizer< grid_type >::real_type |
typedef grid_type::value_type OpenTissue::grid::detail::Voxelizer< grid_type >::T |
typedef math_types::vector3_type OpenTissue::grid::detail::Voxelizer< grid_type >::vector3_type |
OpenTissue::grid::detail::Voxelizer< grid_type >::Voxelizer | ( | ) | [inline] |
OpenTissue::grid::detail::Voxelizer< grid_type >::~Voxelizer | ( | ) | [inline] |
void OpenTissue::grid::detail::Voxelizer< grid_type >::run | ( | mesh_type & | mesh, | |
grid_type & | voxels | |||
) | [inline] |
gl::renderbuffer_pointer OpenTissue::grid::detail::Voxelizer< grid_type >::m_color [protected] |
gl::FramebufferObject OpenTissue::grid::detail::Voxelizer< grid_type >::m_fbo [protected] |
std::vector<GLubyte> OpenTissue::grid::detail::Voxelizer< grid_type >::m_pixels [protected] |
Big data chunck used to examine pixels in the frame (or pixel) buffer.
gl::renderbuffer_pointer OpenTissue::grid::detail::Voxelizer< grid_type >::m_stencil [protected] |
OpenTissue::texture::texture2D_pointer OpenTissue::grid::detail::Voxelizer< grid_type >::m_texture [protected] |