Particle Universe
1.2
|
#include <ParticleUniverseForceField.h>
Public Member Functions | |
RealTimeForceFieldCalculationFactory (void) | |
virtual | ~RealTimeForceFieldCalculationFactory (void) |
virtual void | generate (unsigned int forceFieldSize, ushort octaves, double frequency, double amplitude, double persistence, const Vector3 &worldSize) |
virtual void | determineForce (const Vector3 &position, Vector3 &force, Real delta) |
Public Member Functions inherited from ParticleUniverse::ForceFieldCalculationFactory | |
ForceFieldCalculationFactory (void) | |
virtual | ~ForceFieldCalculationFactory (void) |
virtual ushort | getOctaves (void) const |
virtual void | setOctaves (ushort octaves) |
virtual double | getFrequency (void) const |
virtual void | setFrequency (double frequency) |
virtual double | getAmplitude (void) const |
virtual void | setAmplitude (double amplitude) |
virtual double | getPersistence (void) const |
virtual void | setPersistence (double persistence) |
virtual unsigned int | getForceFieldSize (void) const |
virtual void | setForceFieldSize (unsigned int forceFieldSize) |
virtual Vector3 | getWorldSize (void) const |
virtual void | setWorldSize (const Vector3 &worldSize) |
Additional Inherited Members | |
Static Public Attributes inherited from ParticleUniverse::ForceFieldCalculationFactory | |
static const Vector3 | DEFAULT_WORLDSIZE |
Protected Attributes inherited from ParticleUniverse::ForceFieldCalculationFactory | |
Noise3D | mNoise3D |
ushort | mOctaves |
double | mFrequency |
double | mAmplitude |
double | mPersistence |
Vector3 | mMapScale |
Vector3 | mWorldSize |
Vector3 | mMappedPosition |
Factory class to calculate forces in realtime
|
inline |
|
inlinevirtual |
|
virtual |
Override from ForceFieldCalculationFactory
Implements ParticleUniverse::ForceFieldCalculationFactory.
|
virtual |
Override from ForceFieldCalculationFactory
Implements ParticleUniverse::ForceFieldCalculationFactory.