CGAL 5.6 - 3D Isosurfacing
|
#include <CGAL/Octree_domain.h>
Public Types | |
typedef GeomTraits | Geom_traits |
typedef Geom_traits::FT | FT |
typedef Geom_traits::Point_3 | Point |
typedef Geom_traits::Vector_3 | Vector |
typedef Octree_wrapper< Geom_traits > | Octree |
typedef Octree::Vertex_handle | Vertex_handle |
typedef Octree::Edge_handle | Edge_handle |
typedef Octree::Voxel_handle | Cell_handle |
typedef std::array< Vertex_handle, 2 > | Edge_vertices |
typedef std::array< Cell_handle, 4 > | Cells_incident_to_edge |
typedef std::array< Vertex_handle, 8 > | Cell_vertices |
typedef std::array< Edge_handle, 12 > | Cell_edges |
Public Member Functions | |
Octree_domain (const Octree &octree, const Gradient &grad=Gradient()) | |
Point | position (const Vertex_handle &v) const |
Vector | gradient (const Point &p) const |
FT | value (const Vertex_handle &v) const |
Edge_vertices | edge_vertices (const Edge_handle &e_id) const |
Cells_incident_to_edge | cells_incident_to_edge (const Edge_handle &e_id) const |
Cell_vertices | cell_vertices (const Cell_handle &vox) const |
Cell_edges | cell_edges (const Cell_handle &vox) const |
template<typename Functor > | |
void | iterate_vertices (Functor &f, Sequential_tag=Sequential_tag()) const |
template<typename Functor > | |
void | iterate_edges (Functor &f, Sequential_tag=Sequential_tag()) const |
template<typename Functor > | |
void | iterate_cells (Functor &f, Sequential_tag=Sequential_tag()) const |
Static Public Attributes | |
static constexpr Cell_type | CELL_TYPE = CUBICAL_CELL |
static constexpr std::size_t | VERTICES_PER_CELL = 8 |
static constexpr std::size_t | EDGES_PER_CELL = 12 |