20 template<
typename TDataType>
25 typedef typename TDataType::Real
Real;
26 typedef typename TDataType::Coord
Coord;
#define DECLARE_TCLASS(name, T1)
DEF_INSTANCE_IN(SignedDistanceField< TDataType >, A, "")
void resetStates() override
DEF_INSTANCE_IN(SignedDistanceField< TDataType >, B, "")
DEF_VAR_IN(uint, Padding, "")
DEF_VAR_IN(Real, Spacing, "")
DECLARE_ENUM(BoolType, Intersect=0, Union=1, Minus=2,)
DEF_ENUM(BoolType, BoolType, BoolType::Union, "Volume Bool Type")
void CalcuSDFGrid(DistanceField3D< TDataType > aDistance, DistanceField3D< TDataType > bDistance, DistanceField3D< TDataType > &tDistance)
DEF_INSTANCE_OUT(SignedDistanceField< TDataType >, SDF, "")
This is an implementation of AdditiveCCD based on peridyno.