PAPI Namespace Reference

pAPI.h More...


Classes

class  PContextSourceState_t
 These functions set the current state needed by Source() and Vertex() actions. More...
class  PContextActionList_t
 Action List Calls. More...
class  PContextParticleGroup_t
 This class contains the API calls that operate on particle groups. More...
class  PContextActions_t
 This class contains the actual Action API calls. More...
class  ParticleContext_t
 The Particle System API - Your app should have one of these. More...
class  pDomain
 A representation of a region of space. More...
class  PDUnion
 A CSG union of multiple domains. More...
class  PDPoint
 A single point. More...
class  PDLine
 A line segment. More...
class  PDTriangle
 A Triangle. More...
class  PDRectangle
 Rhombus-shaped planar region. More...
class  PDDisc
 Arbitrarily-oriented disc. More...
class  PDPlane
 Arbitrarily-oriented plane. More...
class  PDBox
 Axis-aligned box. More...
class  PDCylinder
 Cylinder. More...
class  PDCone
 Cone. More...
class  PDSphere
 Sphere. More...
class  PDBlob
 Gaussian blob. More...
struct  PError_t
 Base type of all exceptions thrown by the Particle System API. More...
struct  PErrInNewActionList
 An operation was illegally attempted while in the midst of compiling an action list. More...
struct  PErrNotImplemented
 API encountered an unimplemented code path like Bounce for a new. More...
struct  PErrInternalError
 Internal API error (a PASSERT failed). More...
struct  PErrParticleGroup
 A particle group call had an error. More...
struct  PErrActionList
 An action list call had an error. More...
struct  PErrInvalidValue
 An invalid value was passed to an API call. More...
class  pVec
 A single-precision floating point three-vector. More...

Typedefs

typedef void(* P_PARTICLE_CALLBACK )(struct Particle_t &particle, puint64 data)
 This is the type of the particle death callback function that you can register.
typedef unsigned long long puint64

Functions

float fsqr (float f)
float pRandf ()
void pSRandf (int x)
bool pSameSign (const float &a, const float &b)
float pNRandf (float sigma=1.0f)
 Return a random number with a normal distribution.
pVec pRandVec ()
pVec pNRandVec (float sigma)

Variables

const int P_VERSION = 220
 This is the major and minor version number of this release of the API.
const float P_MAXFLOAT = 1.0e16f
 A very large float value used as a default arg passed into functions.
const float P_EPS = 1e-3f
 A very small float value added to some physical calculations to dampen them and improve stability.
const size_t P_MAXINT = 0x7fffffff
 A very large number used as the default max number of particles to operate on.
const float P_PLANAR_EPSILON = 1e-3f
 How small the dot product must be to declare that a point is in a plane for Within().
const float P_SQRT2PI = 2.506628274631000502415765284811045253006f
const float P_ONEOVERSQRT2PI = (1.f / P_SQRT2PI)
const float P_ONEOVER_RAND_MAX = (1.0f/((float) RAND_MAX))


Detailed Description

pAPI.h

pError.h

pDomain.h

Copyright 1997-2007 by David K. McAllister http://www.ParticleSystems.org

Include this file in all applications that use the Particle System API. The Particle System API is distributed under the GNU LGPL.

Copyright 1997-2007 by David K. McAllister http://www.ParticleSystems.org

This file defines the pDomain class and all of the classes that derive from it.

Copyright 1997-2007 by David K. McAllister http://www.ParticleSystems.org

This file defines the error classes that are thrown. The Particle System API is distributed under the GNU LGPL.


Generated on Tue Dec 30 11:28:40 2008 for ParticleAPI by  doxygen 1.5.8