SO3Engine/SCOLPack/SCOLParticle.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3SceneGraph/SO3ParticleSystem.h"
#include "../SO3SceneGraph/SO3Scene.h"

Go to the source code of this file.

Defines

#define NBPARTICLEPKG   9

Functions

int SO3ParticleSystemCreateFromTemplate (mmachine m)
 main include
int SO3ParticleSystemGetTemplate (mmachine m)
 SO3ParticleSystemGetTemplate : Get the template for particle system.
int SO3ParticleSystemSetEnable (mmachine m)
 SO3ParticleSystemSetEnable : Set the Enable state for particle system.
int SO3ParticleSystemGetEnable (mmachine m)
 SO3ParticleSystemGetEnable : Get the enable state for particle system.
int SO3ParticleSystemSetPause (mmachine m)
 SO3ParticleSystemSetPause : Set the pause state for particle system.
int SO3ParticleSystemGetPause (mmachine m)
 SO3ParticleSystemGetPause : Get the pause state for particle system.
int SO3ParticleSystemSetSpeedFactor (mmachine m)
 SO3ParticleSystemSetSpeedFactor : Set the speed factor for particle system.
int SO3ParticleSystemGetSpeedFactor (mmachine m)
 SO3ParticleSystemGetSpeedFactor : Get the speed factor for particle system.
int SO3ParticleSystemClear (mmachine m)
 SO3ParticleSystemClear : Clear a set of particle for a given particle system.
int SCOLloadParticle (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLfreeParticle ()
 free the SO3Engine Viewport function

Variables

char * PARTICLEname [NBPARTICLEPKG]
int(* PARTICLEFunc [NBPARTICLEPKG])(mmachine m)
int PARTICLEnarg [NBPARTICLEPKG]
char * PARTICLEType [NBPARTICLEPKG]

Define Documentation

#define NBPARTICLEPKG   9

Nb of Scol functions or types

Definition at line 453 of file SCOLParticle.cpp.


Function Documentation

int SCOLfreeParticle (  ) 

free the SO3Engine Viewport function

Parameters:
m : The VM

Definition at line 536 of file SCOLParticle.cpp.

int SCOLloadParticle ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 526 of file SCOLParticle.cpp.


Variable Documentation

int(* PARTICLEFunc[NBPARTICLEPKG])(mmachine m)
char* PARTICLEname[NBPARTICLEPKG]
Initial value:
 
{
  "SO3ParticleSystemCreateFromTemplate",
  "SO3ParticleSystemGetTemplate",
  "SO3ParticleSystemSetEnable",
  "SO3ParticleSystemGetEnable",
  "SO3ParticleSystemSetPause",
  "SO3ParticleSystemGetPause",
  "SO3ParticleSystemSetSpeedFactor",
  "SO3ParticleSystemGetSpeedFactor",
  "SO3ParticleSystemClear"
}

Definition at line 455 of file SCOLParticle.cpp.

int PARTICLEnarg[NBPARTICLEPKG]
Initial value:
 
{
  3,                                                                                        
  1,                                                                                        
  2,                                                                                        
  1,                                                                                        
  2,                                                                                        
  1,                                                                                        
  2,                                                                                        
  1,                                                                                        
  1                                                                                                 
}

Nb of arguments of each scol function

Definition at line 490 of file SCOLParticle.cpp.

char* PARTICLEType[NBPARTICLEPKG]
Initial value:
{
  "fun [SO3_SCENE S S] SO3_OBJECT",     
  "fun [SO3_OBJECT] S",                               
  "fun [SO3_OBJECT I] I",                             
  "fun [SO3_OBJECT] I",                               
  "fun [SO3_OBJECT I] I",                             
  "fun [SO3_OBJECT] I",                               
  "fun [SO3_OBJECT F] I",                             
  "fun [SO3_OBJECT] F",                               
  "fun [SO3_OBJECT] I"                    
}

Prototypes of the scol functions

Definition at line 507 of file SCOLParticle.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:32 2011 for SO3Engine by  doxygen 1.6.3