20#include "Topology/TriangleSet.h"
28 template<
typename TDataType>
33 typedef typename TDataType::Real
Real;
34 typedef typename TDataType::Coord
Coord;
39 void load(std::string filename);
41 void load(std::string filename,
Coord rotate_value,
Real scale_value,
Coord translate_value);
54 DEF_VAR(
int, AABBPadding, 1,
"Padding of each triangle`s AABB");
#define DECLARE_TCLASS(name, T1)
void resetStates() override
void updateTopology() override
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "The triangles of closed surface")
DEF_VAR(uint, Padding, 10, "Padding of model")
~VolumeOctreeGenerator() override
void updateStates() override
Coord lowerBound() override
DEF_VAR(int, AABBPadding, 1, "Padding of each triangle`s AABB")
DEF_VAR(Coord, ForwardVector, Coord(0), "The distance and direction of topology move")
DEF_VAR(Real, Spacing, Real(0.1), "the dx")
Coord upperBound() override
void load(std::string filename)
This is an implementation of AdditiveCCD based on peridyno.