Partio
|
NOTE: This class is experimental and may be deleted/modified in future versions. More...
#include <PartioSe.h>
Public Types | |
typedef SeExpression::LocalVarTable::const_iterator | LocalVarTableIterator |
Public Member Functions | |
PartioSe (Partio::ParticlesDataMutable *parts, const char *expr) | |
PartioSe (Partio::ParticlesDataMutable *partsPairing, Partio::ParticlesDataMutable *parts, const char *expr) | |
void | addSet (const char *prefix, Partio::ParticlesDataMutable *parts, int &setIndex) |
void | addExport (const std::string &name, LocalVarTableIterator it, Partio::ParticlesDataMutable *parts, int &setIndex) |
virtual | ~PartioSe () |
bool | runAll () |
bool | runRandom () |
void | run (int i) |
bool | runRange (int istart, int iend) |
void | setTime (float val) |
SeExprVarRef * | resolveVar (const std::string &s) const |
Private Types | |
typedef std::map< std::string, AttribVar< int > * > | IntVarMap |
typedef std::map< std::string, AttribVar< float > * > | FloatVarMap |
typedef std::vector< VarToPartio< int > * > | IntVarToPartio |
typedef std::vector< VarToPartio< float > * > | FloatVarToPartio |
Private Member Functions | |
PartioSe (const PartioSe &) | |
PartioSe & | operator= (const PartioSe &) |
NOTE: This class is experimental and may be deleted/modified in future versions.
|
private |
|
private |
|
private |
|
private |
typedef SeExpression::LocalVarTable::const_iterator Partio::PartioSe::LocalVarTableIterator |
Partio::PartioSe::PartioSe | ( | Partio::ParticlesDataMutable * | parts, |
const char * | expr | ||
) |
References addExport(), addSet(), currentIndex, and parts.
Partio::PartioSe::PartioSe | ( | Partio::ParticlesDataMutable * | partsPairing, |
Partio::ParticlesDataMutable * | parts, | ||
const char * | expr | ||
) |
References addExport(), addSet(), Partio::ParticlesInfo::attributeInfo(), currentIndex, pairH1, pairH2, pairIndex1, pairIndex2, parts, and partsPairing.
|
virtual |
References floatVars, floatVarToPartio, intVars, and intVarToPartio.
|
private |
void Partio::PartioSe::addExport | ( | const std::string & | name, |
LocalVarTableIterator | it, | ||
Partio::ParticlesDataMutable * | parts, | ||
int & | setIndex | ||
) |
void Partio::PartioSe::addSet | ( | const char * | prefix, |
Partio::ParticlesDataMutable * | parts, | ||
int & | setIndex | ||
) |
SeExprVarRef * Partio::PartioSe::resolveVar | ( | const std::string & | s | ) | const |
void Partio::PartioSe::run | ( | int | i | ) |
References currentIndex, Partio::ParticlesData::data(), floatVarToPartio, indexVar, intVarToPartio, isPaired, Partio::ParticlesInfo::numParticles(), pairH1, pairH2, pairIndex1, pairIndex2, parts, partsPairing, and Partio::SimpleVar::val.
Referenced by runRandom(), and runRange().
bool Partio::PartioSe::runAll | ( | ) |
References Partio::ParticlesInfo::numParticles(), parts, and runRange().
bool Partio::PartioSe::runRandom | ( | ) |
References countVar, Partio::ParticlesInfo::numParticles(), parts, run(), and Partio::SimpleVar::val.
bool Partio::PartioSe::runRange | ( | int | istart, |
int | iend | ||
) |
References countVar, Partio::ParticlesInfo::numParticles(), parts, run(), and Partio::SimpleVar::val.
Referenced by runAll().
void Partio::PartioSe::setTime | ( | float | val | ) |
References timeVar, and Partio::SimpleVar::val.
|
mutableprivate |
Referenced by resolveVar(), runRandom(), and runRange().
|
private |
Referenced by PartioSe(), and run().
|
mutableprivate |
Referenced by addSet(), resolveVar(), and ~PartioSe().
|
private |
Referenced by addExport(), run(), and ~PartioSe().
|
mutableprivate |
Referenced by resolveVar(), and run().
|
mutableprivate |
Referenced by addSet(), resolveVar(), and ~PartioSe().
|
private |
Referenced by addExport(), run(), and ~PartioSe().
|
private |
Referenced by run().
|
private |
Referenced by PartioSe(), and run().
|
private |
Referenced by PartioSe(), and run().
|
private |
Referenced by PartioSe(), and run().
|
private |
Referenced by PartioSe(), and run().
|
private |
Referenced by addExport(), addSet(), PartioSe(), run(), runAll(), runRandom(), and runRange().
|
private |
Referenced by PartioSe(), and run().
|
mutableprivate |
Referenced by resolveVar(), and setTime().