Particle Universe
1.2
|
#include <ParticleUniverseForceField.h>
Classes | |
struct | MatrixPosition |
struct | MatrixRequest |
struct | MatrixResponse |
Public Member Functions | |
MatrixForceFieldCalculationFactory (void) | |
virtual | ~MatrixForceFieldCalculationFactory (void) |
virtual void | generate (unsigned int forceFieldSize, ushort octaves, double frequency, double amplitude, double persistence, const Vector3 &worldSize) |
void | deleteMatrix (void) |
virtual void | determineForce (const Vector3 &position, Vector3 &force, Real delta) |
bool | canHandleRequest (const Ogre::WorkQueue::Request *req, const Ogre::WorkQueue *srcQ) |
Ogre::WorkQueue::Response * | handleRequest (const Ogre::WorkQueue::Request *req, const Ogre::WorkQueue *srcQ) |
bool | canHandleResponse (const Ogre::WorkQueue::Response *res, const Ogre::WorkQueue *srcQ) |
void | handleResponse (const Ogre::WorkQueue::Response *res, const Ogre::WorkQueue *srcQ) |
virtual unsigned int | getForceFieldSize (void) const |
virtual void | setForceFieldSize (unsigned int forceFieldSize) |
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 Vector3 | getWorldSize (void) const |
virtual void | setWorldSize (const Vector3 &worldSize) |
Public Member Functions inherited from Ogre::WorkQueue::RequestHandler | |
RequestHandler () | |
virtual | ~RequestHandler () |
Public Member Functions inherited from Ogre::WorkQueue::ResponseHandler | |
ResponseHandler () | |
virtual | ~ResponseHandler () |
Static Public Attributes | |
static const uint16 | WORKQUEUE_GENERATE_REQUEST |
Static Public Attributes inherited from ParticleUniverse::ForceFieldCalculationFactory | |
static const Vector3 | DEFAULT_WORLDSIZE |
Protected Attributes | |
MatrixPosition *** | mMatrixPositions |
unsigned int | mForceFieldSize |
unsigned int | mX |
unsigned int | mY |
unsigned int | mZ |
uint16 | mWorkQueueChannel |
bool | mInitialising |
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 based on a precalculated force field
ParticleUniverse::MatrixForceFieldCalculationFactory::MatrixForceFieldCalculationFactory | ( | void | ) |
|
virtual |
|
virtual |
WorkQueue::RequestHandler override
Reimplemented from Ogre::WorkQueue::RequestHandler.
|
virtual |
WorkQueue::ResponseHandler override
Reimplemented from Ogre::WorkQueue::ResponseHandler.
void ParticleUniverse::MatrixForceFieldCalculationFactory::deleteMatrix | ( | void | ) |
Delete the internally build matrix
|
virtual |
Override from ForceFieldCalculationFactory
Implements ParticleUniverse::ForceFieldCalculationFactory.
|
virtual |
Override from ForceFieldCalculationFactory
Implements ParticleUniverse::ForceFieldCalculationFactory.
|
virtual |
Get/Set Forcefield size.
Reimplemented from ParticleUniverse::ForceFieldCalculationFactory.
|
virtual |
WorkQueue::RequestHandler override
Implements Ogre::WorkQueue::RequestHandler.
|
virtual |
WorkQueue::ResponseHandler override
Implements Ogre::WorkQueue::ResponseHandler.
|
virtual |
Reimplemented from ParticleUniverse::ForceFieldCalculationFactory.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |