CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits from

CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits from

CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
CGAL 5.6 - 3D Isosurfacing
CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient > Class Template Reference

#include <CGAL/Cartesian_grid_domain.h>

Inherits CGAL::Isosurfacing::Cartesian_topology_base.

Definition

template<class GeomTraits, typename Gradient = Zero_gradient<GeomTraits>>
class CGAL::Isosurfacing::Cartesian_grid_domain< GeomTraits, Gradient >

Examples:
Isosurfacing_3/all_cartesian_cube.cpp, Isosurfacing_3/dual_contouring_cartesian_grid.cpp, Isosurfacing_3/marching_cubes_cartesian_grid_sphere.cpp, Isosurfacing_3/marching_cubes_inrimage.cpp, and Isosurfacing_3/marching_cubes_mesh_offset.cpp.

Public Types

typedef GeomTraits Geom_traits
 
typedef Geom_traits::FT FT
 
typedef Geom_traits::Point_3 Point
 
typedef Geom_traits::Vector_3 Vector
 
typedef Geom_traits::Vector_3 Grid_spacing
 
typedef Cartesian_grid_3< Geom_traitsGrid
 
- Public Types inherited from CGAL::Isosurfacing::Cartesian_topology_base
typedef std::array< std::size_t, 3 > Vertex_handle
 
typedef std::array< std::size_t, 4 > Edge_handle
 
typedef std::array< std::size_t, 3 > 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, VERTICES_PER_CELLCell_vertices
 
typedef std::array< Edge_handle, EDGES_PER_CELLCell_edges
 

Public Member Functions

 Cartesian_grid_domain (const Grid &grid, const Gradient &grad=Gradient())
 
Point position (const Vertex_handle &v) const
 
Vector gradient (const Point &p) const
 
FT value (const Vertex_handle &v) const
 
template<typename Functor >
void iterate_vertices (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_edges (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
template<typename Functor >
void iterate_cells (Functor &f, Sequential_tag tag=Sequential_tag()) const
 
- Public Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
Edge_vertices edge_vertices (const Edge_handle &e) const
 
Cells_incident_to_edge cells_incident_to_edge (const Edge_handle &e) const
 
Cell_vertices cell_vertices (const Cell_handle &v) const
 
Cell_edges cell_edges (const Cell_handle &v) const
 

Additional Inherited Members

- Static Public Attributes inherited from CGAL::Isosurfacing::Cartesian_topology_base
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
 
- Protected Member Functions inherited from CGAL::Isosurfacing::Cartesian_topology_base
template<typename Functor >
void iterate_vertices_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_edges_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const
 
template<typename Functor >
void iterate_cells_base (Functor &f, Sequential_tag, const std::size_t size_x, const std::size_t size_y, const std::size_t size_z) const