#include <OpenTissue/configuration.h>
#include <OpenTissue/core/containers/mesh/common/util/mesh_compute_mesh_center.h>
#include <OpenTissue/core/containers/mesh/common/util/mesh_compute_mesh_minimum_coord.h>
#include <OpenTissue/core/containers/mesh/common/util/mesh_compute_mesh_maximum_coord.h>
#include <OpenTissue/core/containers/mesh/common/util/mesh_deformation_modifiers.h>
#include <cassert>
#include <cmath>
Go to the source code of this file.
Classes | |
class | OpenTissue::mesh::detail::IsoSurfaceGenerator |
Namespaces | |
namespace | OpenTissue |
namespace | OpenTissue::mesh |
namespace | OpenTissue::mesh::detail |
Defines | |
#define | test_edge(binary_edge_code, edge_number) |
Functions | |
template<typename grid_type , typename mesh_type > | |
void | OpenTissue::mesh::isosurface (grid_type const &phi, typename grid_type::value_type const &isolevel, mesh_type &mesh) |
#define test_edge | ( | binary_edge_code, | ||
edge_number | ||||
) |
if (cell_case & binary_edge_code) \ {\ identifier_type id = get_edge_id(i, j, k, edge_number, I, J);\ vector3_type p = calculate_intersection(phi,isolevel,i, j, k, edge_number);\ vertex_handle h = mesh.add_vertex( p ); \ assert(!h.is_null() || !"could not create vertex");\ lut[id] = h; \ }