19#include "Topology/EdgeSet.h"
24 template<
typename TDataType>
29 typedef typename TDataType::Real
Real;
30 typedef typename TDataType::Coord
Coord;
47 DEF_ENUM(EmitterShape, EmitterShape, EmitterShape::Round,
"ScaleMode");
59 std::shared_ptr< PoissonPlane<TDataType>>
mPlane;
#define DECLARE_TCLASS(name, T1)
#define IMPLEMENT_TCLASS(name, T1)
DEF_ENUM(EmitterShape, EmitterShape, EmitterShape::Round, "ScaleMode")
std::shared_ptr< PoissonPlane< TDataType > > mPlane
void resetStates() override
void generateParticles() override
DEF_INSTANCE_STATE(EdgeSet< TDataType >, Outline, "Outline of the emitter")
DEF_VAR(Real, Height, 0.1, "Emitter height")
DEF_VAR(uint, DelayStart, 0, "Delay start frame")
DEF_VAR(Real, Width, 0.1, "Emitter width")
DECLARE_ENUM(EmitterShape, Square=0, Round=1)
virtual ~PoissonEmitter()
This is an implementation of AdditiveCCD based on peridyno.