VolumeParticleEmitter3.hpp
Go to the documentation of this file.
static Builder GetBuilder()
Returns builder fox VolumeParticleEmitter3.
std::shared_ptr< PointGenerator3 > PointGenerator3Ptr
Shared pointer for the PointGenerator3 type.
Definition: PointGenerator3.hpp:71
Abstract base class for 3-D particle emitter.
Definition: ParticleEmitter3.hpp:21
void SetAllowOverlapping(bool newValue)
Sets the flag to true if particles can overlap each other.
std::shared_ptr< ImplicitSurface3 > ImplicitSurface3Ptr
Shared pointer type for the ImplicitSurface3.
Definition: ImplicitSurface.hpp:70
std::shared_ptr< ParticleSystemData3 > ParticleSystemData3Ptr
Shared pointer type of ParticleSystemData3.
Definition: ParticleSystemData.hpp:284
void SetInitialVelocity(const Vector3D &newInitialVel)
Returns the initial velocity of the particles.
void SetAngularVelocity(const Vector3D &newAngularVel)
Sets the linear velocity of the emitter.
const BoundingBox3D & GetMaxRegion() const
Returns max particle gen region.
const ImplicitSurface3Ptr & GetSurface() const
Returns source surface.
void SetJitter(double newJitter)
Sets jitter amount between 0 and 1.
void SetLinearVelocity(const Vector3D &newLinearVel)
Sets the linear velocity of the emitter.
void SetSurface(const ImplicitSurface3Ptr &newSurface)
Sets the source surface.
Definition: Matrix.hpp:27
Definition: pybind11Utils.hpp:20
VolumeParticleEmitter3(ImplicitSurface3Ptr implicitSurface, BoundingBox3D maxRegion, double spacing, const Vector3D &initialVel=Vector3D(), const Vector3D &linearVel=Vector3D(), const Vector3D &angularVel=Vector3D(), size_t maxNumberOfParticles=std::numeric_limits< size_t >::max(), double jitter=0.0, bool isOneShot=true, bool allowOverlapping=false, uint32_t seed=0)
Definition: Array-Impl.hpp:19
size_t GetMaxNumberOfParticles() const
Returns max number of particles to be emitted.
void SetMaxNumberOfParticles(size_t newMaxNumberOfParticles)
Sets the max number of particles to be emitted.
std::shared_ptr< Surface3 > Surface3Ptr
Shared pointer for the Surface3 type.
Definition: Surface.hpp:147
void SetIsOneShot(bool newValue)
Sets the flag to true if particles are emitted just once.
bool GetAllowOverlapping() const
Returns true if particles can be overlapped.
Front-end to create VolumeParticleEmitter3 objects step by step.
Definition: VolumeParticleEmitter3.hpp:190
Vector3D GetInitialVelocity() const
Sets the initial velocity of the particles.
double GetSpacing() const
Returns the spacing between particles.
void SetPointGenerator(const PointGenerator3Ptr &newPointsGen)
Sets the point generator.
Vector3D GetLinearVelocity() const
Returns the linear velocity of the emitter.
std::shared_ptr< VolumeParticleEmitter3 > VolumeParticleEmitter3Ptr
Shared pointer for the VolumeParticleEmitter3 type.
Definition: VolumeParticleEmitter3.hpp:185
void SetMaxRegion(const BoundingBox3D &newMaxRegion)
Sets the max particle gen region.
3-D volumetric particle emitter.
Definition: VolumeParticleEmitter3.hpp:27
void SetSpacing(double newSpacing)
Sets the spacing between particles.
bool GetIsOneShot() const
Returns true if particles should be emitted just once.
Vector3D GetAngularVelocity() const
Returns the angular velocity of the emitter.
1.8.13