Public Types | Public Member Functions | Protected Attributes

OpenTissue::grid::detail::Voxelizer< grid_type > Class Template Reference

#include <grid_voxelizer.h>

List of all members.

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< GLubytem_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

template<typename grid_type>
class OpenTissue::grid::detail::Voxelizer< grid_type >


Member Typedef Documentation

template<typename grid_type >
typedef grid_type::value_type OpenTissue::grid::detail::Voxelizer< grid_type >::T

Constructor & Destructor Documentation

template<typename grid_type >
OpenTissue::grid::detail::Voxelizer< grid_type >::Voxelizer (  )  [inline]
template<typename grid_type >
OpenTissue::grid::detail::Voxelizer< grid_type >::~Voxelizer (  )  [inline]

Member Function Documentation

template<typename grid_type >
template<typename mesh_type >
void OpenTissue::grid::detail::Voxelizer< grid_type >::run ( mesh_type mesh,
grid_type voxels 
) [inline]

Member Data Documentation

template<typename grid_type >
gl::renderbuffer_pointer OpenTissue::grid::detail::Voxelizer< grid_type >::m_color [protected]
template<typename grid_type >
gl::FramebufferObject OpenTissue::grid::detail::Voxelizer< grid_type >::m_fbo [protected]
template<typename grid_type >
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.


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