Pure virtual ForceFieldCalculationFactory. More...
#include <CCPUForceField.h>
Public Member Functions | |
PUForceFieldCalculationFactory (void) | |
virtual | ~PUForceFieldCalculationFactory (void) |
local | ~PUForceFieldCalculationFactory () |
virtual void | generate (unsigned int forceFieldSize, unsigned short octaves, double frequency, double amplitude, double persistence, const Vec3 &worldSize)=0 |
Generates the force field. More... | |
virtual void | determineForce (const Vec3 &position, Vec3 &force, float delta)=0 |
Determine force, based on the position of a particle. More... | |
local | determineForce ( local position, local force, local delta) |
Determine force, based on the position of a particle. More... | |
virtual unsigned short | getOctaves (void) const |
Default Getters/Setters. More... | |
local | getOctaves () |
Default Getters/Setters. More... | |
virtual void | setOctaves (unsigned short octaves) |
virtual double | getFrequency (void) const |
local | getFrequency () |
virtual void | setFrequency (double frequency) |
virtual double | getAmplitude (void) const |
virtual void | setAmplitude (double amplitude) |
var | setAmplitude ( var amplitude) |
local | setAmplitude ( local amplitude) |
virtual double | getPersistence (void) const |
var | getPersistence () |
local | getPersistence () |
virtual void | setPersistence (double persistence) |
var | setPersistence ( var persistence) |
local | setPersistence ( local persistence) |
virtual unsigned int | getForceFieldSize (void) const |
virtual void | setForceFieldSize (unsigned int forceFieldSize) |
virtual Vec3 | getWorldSize (void) const |
var | getWorldSize () |
local | getWorldSize () |
virtual void | setWorldSize (const Vec3 &worldSize) |
Static Public Attributes | |
static const Vec3 | DEFAULT_WORLDSIZE |
var | DEFAULT_WORLDSIZE |
local | DEFAULT_WORLDSIZE |
Protected Attributes | |
PUNoise3D | _noise3D |
unsigned short | _octaves |
double | _frequency |
double | _amplitude |
double | _persistence |
Vec3 | _mapScale |
Vec3 | _worldSize |
Vec3 | _mappedPosition |
Pure virtual ForceFieldCalculationFactory.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Determine force, based on the position of a particle.
#remarks The position is the position of a particle. The argument 'delta' defines the radius around the position that contributes to the calculation of the force.
Implemented in PURealTimeForceFieldCalculationFactory.
|
pure virtual |
Determine force, based on the position of a particle.
#remarks The position is the position of a particle. The argument 'delta' defines the radius around the position that contributes to the calculation of the force.
Implemented in PURealTimeForceFieldCalculationFactory.
|
pure virtual |
Determine force, based on the position of a particle.
#remarks The position is the position of a particle. The argument 'delta' defines the radius around the position that contributes to the calculation of the force.
Implemented in PURealTimeForceFieldCalculationFactory.
|
pure virtual |
Generates the force field.
Implemented in PURealTimeForceFieldCalculationFactory.
|
pure virtual |
Generates the force field.
Implemented in PURealTimeForceFieldCalculationFactory.
|
pure virtual |
Generates the force field.
Implemented in PURealTimeForceFieldCalculationFactory.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Default Getters/Setters.
|
virtual |
Default Getters/Setters.
|
virtual |
Default Getters/Setters.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |