3 #include <sofa/core/objectmodel/BaseObject.h>
6 namespace SofaCaribou::topology {
8 template<
class DataTypes>
9 class IsoSurface :
public sofa::core::objectmodel::BaseObject {
11 SOFA_CLASS(SOFA_TEMPLATE(
IsoSurface, DataTypes), sofa::core::objectmodel::BaseObject);
12 static constexpr
unsigned char Dimension = DataTypes::spatial_dimensions;
13 using Real =
typename DataTypes::Real;
14 using Coord =
typename DataTypes::Coord;
20 Eigen::Map<Eigen::Matrix<Real, Dimension, 1>> mapped_x(&x[0]);
27 virtual Real
iso_value(
const Eigen::Matrix<Real, Dimension, 1> & x)
const = 0;