POP_GenVar Class Reference

#include <POP_GenVar.h>

Inheritance diagram for POP_GenVar:

POP_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner

List of all members.

Static Public Attributes

static CH_LocalVariable myVariables []
static OP_VariablePair myVariablePair
static OP_TemplatePair myTemplatePair

Protected Member Functions

 POP_GenVar (OP_Network *net, const char *name, OP_Operator *entry)
virtual ~POP_GenVar (void)
void birthFromPoints (int doVar, POP_ContextData *data, GU_Detail *gdp, GB_PointGroup *group, UT_Matrix4 *xform, UT_Matrix3 *xformv, POP_AttribMap *map, GB_AttributeData *inherit, GB_AttributeData *split, POP_IntFunc originIndex, int originUse, float *born, GEO_PrimParticle *part, GB_PointGroup *birthGroup, POP_FloatFunc lifetime, POP_FloatFunc probability, POP_BirthAttribFunc birthAttrib, int doRandom, POP_JitterFunc jitter=0, int maxAttempts=100)
void birthFromPointVelocity (int doVar, POP_ContextData *data, GU_Detail *gdp, GB_PointGroup *group, UT_Matrix4 *xform, UT_Matrix3 *xformv, POP_AttribMap *map, GB_AttributeData *inherit, GB_AttributeData *split, POP_IntFunc originIndex, int originUse, float *born, GEO_PrimParticle *part, GB_PointGroup *birthGroup, POP_FloatFunc lifetime, POP_BirthAttribFunc birthAttrib, UT_Vector3 birthVelocity, UT_Vector3 birthAcceleration, fpreal velocityScale, fpreal particleSpacing)
void birthFromPrimitives (int doVar, POP_ContextData *data, GU_Detail *gdp, GB_PrimitiveGroup *group, UT_Matrix4 *xform, UT_Matrix3 *xformv, POP_AttribMap *map, GB_AttributeData *inherit, GB_AttributeData *split, POP_IntFunc originIndex, int originUse, float *born, GEO_PrimParticle *part, GB_PointGroup *birthGroup, POP_FloatFunc lifetime, POP_FloatFunc probability, POP_BirthAttribFunc birthAttrib, int whereFrom, int checkTrim, POP_JitterFunc jitter=0, int doRandom=0, int maxAttempts=100)
void birthFromMetaPrim (int doVar, POP_ContextData *data, GU_Detail *gdp, GB_PrimitiveGroup *group, UT_Matrix4 *xform, UT_Matrix3 *xformv, POP_AttribMap *map, GB_AttributeData *inherit, GB_AttributeData *split, POP_IntFunc originIndex, int originUse, float *born, GEO_PrimParticle *part, GB_PointGroup *birthGroup, POP_FloatFunc lifetime, POP_BirthAttribFunc birthAttrib, float threshold, float densityMin, int useDensityProb, POP_JitterFunc jitter=0, int maxAttempts=100)
void birthFromDetail (int doVar, POP_ContextData *data, GU_Detail *gdp, UT_Matrix4 *xform, UT_Matrix3 *xformv, POP_AttribMap *map, GB_AttributeData *inherit, GB_AttributeData *split, POP_IntFunc originIndex, int originUse, float *born, GEO_PrimParticle *part, GB_PointGroup *birthGroup, POP_FloatFunc lifetime, POP_BirthAttribFunc birthAttrib, GU_RayIntersect *intersector, POP_JitterFunc jitter=0, int maxAttempts=100)
void birthNonUniformlyFromRandomPrimitives (int doVar, POP_ContextData *data, GU_Detail *gdp, GB_PrimitiveGroup *group, UT_Matrix4 *xform, UT_Matrix3 *xformv, POP_AttribMap *map, GB_AttributeData *inherit, GB_AttributeData *split, POP_IntFunc originIndex, int originUse, float *born, GEO_PrimParticle *part, GB_PointGroup *birthGroup, POP_FloatFunc lifetime, POP_FloatFunc probability, POP_BirthAttribFunc birthAttrib, int whereFrom, int checkTrim, POP_JitterFunc jitter, const UT_String &distribAttrib, int maxAttempts)
void buildVectorTransform (UT_Matrix3 &xformv, const UT_Matrix4 &xform)
virtual float getVariableValue (int index, int thread)
void setupVars (POP_ContextData *data, GU_Detail *gdp, const GB_Group *source=0)
bool hasSourceAttributeVars () const
void refreshSourceAttributeVars (GU_Detail *gdp)
virtual int isVarDependent (GU_Detail *gdp, POP_FParam param, float t, int thread)
virtual int isVarDependent (GU_Detail *gdp, POP_IParam param, float t, int thread)
virtual int isVarDependent (GU_Detail *gdp, POP_SParam param, float t, int thread)
virtual int isVarDependent (GU_Detail *gdp, EV_EXPRESSION *expr, int thread)
void allowVar (int val)
int isAllowVar () const
int isVarTest () const
void setVarDependent (int val)
void clearLastEmissionTime ()

Protected Attributes

UT_Vector4mySourcePos
GB_AttributeDatamySourceAtt
int mySourceIter
float mySourceU
float mySourceV
const GB_ElementmySourceElem
UT_Vector3mySourceNml


Detailed Description

Definition at line 23 of file POP_GenVar.h.


Constructor & Destructor Documentation

POP_GenVar::POP_GenVar ( OP_Network net,
const char *  name,
OP_Operator entry 
) [protected]

virtual POP_GenVar::~POP_GenVar ( void   )  [protected, virtual]


Member Function Documentation

void POP_GenVar::allowVar ( int  val  )  [inline, protected, virtual]

Reimplemented from POP_Node.

Definition at line 246 of file POP_GenVar.h.

void POP_GenVar::birthFromDetail ( int  doVar,
POP_ContextData data,
GU_Detail gdp,
UT_Matrix4 xform,
UT_Matrix3 xformv,
POP_AttribMap map,
GB_AttributeData inherit,
GB_AttributeData split,
POP_IntFunc  originIndex,
int  originUse,
float *  born,
GEO_PrimParticle part,
GB_PointGroup birthGroup,
POP_FloatFunc  lifetime,
POP_BirthAttribFunc  birthAttrib,
GU_RayIntersect intersector,
POP_JitterFunc  jitter = 0,
int  maxAttempts = 100 
) [protected]

void POP_GenVar::birthFromMetaPrim ( int  doVar,
POP_ContextData data,
GU_Detail gdp,
GB_PrimitiveGroup group,
UT_Matrix4 xform,
UT_Matrix3 xformv,
POP_AttribMap map,
GB_AttributeData inherit,
GB_AttributeData split,
POP_IntFunc  originIndex,
int  originUse,
float *  born,
GEO_PrimParticle part,
GB_PointGroup birthGroup,
POP_FloatFunc  lifetime,
POP_BirthAttribFunc  birthAttrib,
float  threshold,
float  densityMin,
int  useDensityProb,
POP_JitterFunc  jitter = 0,
int  maxAttempts = 100 
) [protected]

void POP_GenVar::birthFromPoints ( int  doVar,
POP_ContextData data,
GU_Detail gdp,
GB_PointGroup group,
UT_Matrix4 xform,
UT_Matrix3 xformv,
POP_AttribMap map,
GB_AttributeData inherit,
GB_AttributeData split,
POP_IntFunc  originIndex,
int  originUse,
float *  born,
GEO_PrimParticle part,
GB_PointGroup birthGroup,
POP_FloatFunc  lifetime,
POP_FloatFunc  probability,
POP_BirthAttribFunc  birthAttrib,
int  doRandom,
POP_JitterFunc  jitter = 0,
int  maxAttempts = 100 
) [protected]

void POP_GenVar::birthFromPointVelocity ( int  doVar,
POP_ContextData data,
GU_Detail gdp,
GB_PointGroup group,
UT_Matrix4 xform,
UT_Matrix3 xformv,
POP_AttribMap map,
GB_AttributeData inherit,
GB_AttributeData split,
POP_IntFunc  originIndex,
int  originUse,
float *  born,
GEO_PrimParticle part,
GB_PointGroup birthGroup,
POP_FloatFunc  lifetime,
POP_BirthAttribFunc  birthAttrib,
UT_Vector3  birthVelocity,
UT_Vector3  birthAcceleration,
fpreal  velocityScale,
fpreal  particleSpacing 
) [protected]

void POP_GenVar::birthFromPrimitives ( int  doVar,
POP_ContextData data,
GU_Detail gdp,
GB_PrimitiveGroup group,
UT_Matrix4 xform,
UT_Matrix3 xformv,
POP_AttribMap map,
GB_AttributeData inherit,
GB_AttributeData split,
POP_IntFunc  originIndex,
int  originUse,
float *  born,
GEO_PrimParticle part,
GB_PointGroup birthGroup,
POP_FloatFunc  lifetime,
POP_FloatFunc  probability,
POP_BirthAttribFunc  birthAttrib,
int  whereFrom,
int  checkTrim,
POP_JitterFunc  jitter = 0,
int  doRandom = 0,
int  maxAttempts = 100 
) [protected]

void POP_GenVar::birthNonUniformlyFromRandomPrimitives ( int  doVar,
POP_ContextData data,
GU_Detail gdp,
GB_PrimitiveGroup group,
UT_Matrix4 xform,
UT_Matrix3 xformv,
POP_AttribMap map,
GB_AttributeData inherit,
GB_AttributeData split,
POP_IntFunc  originIndex,
int  originUse,
float *  born,
GEO_PrimParticle part,
GB_PointGroup birthGroup,
POP_FloatFunc  lifetime,
POP_FloatFunc  probability,
POP_BirthAttribFunc  birthAttrib,
int  whereFrom,
int  checkTrim,
POP_JitterFunc  jitter,
const UT_String distribAttrib,
int  maxAttempts 
) [protected]

void POP_GenVar::buildVectorTransform ( UT_Matrix3 xformv,
const UT_Matrix4 xform 
) [protected]

void POP_GenVar::clearLastEmissionTime (  )  [inline, protected]

Definition at line 252 of file POP_GenVar.h.

virtual float POP_GenVar::getVariableValue ( int  index,
int  thread 
) [protected, virtual]

Reimplemented from OP_Parameters.

bool POP_GenVar::hasSourceAttributeVars (  )  const [protected]

int POP_GenVar::isAllowVar (  )  const [inline, protected]

Definition at line 247 of file POP_GenVar.h.

virtual int POP_GenVar::isVarDependent ( GU_Detail gdp,
EV_EXPRESSION expr,
int  thread 
) [protected, virtual]

Reimplemented from POP_Node.

virtual int POP_GenVar::isVarDependent ( GU_Detail gdp,
POP_SParam  param,
float  t,
int  thread 
) [protected, virtual]

Reimplemented from POP_Node.

virtual int POP_GenVar::isVarDependent ( GU_Detail gdp,
POP_IParam  param,
float  t,
int  thread 
) [protected, virtual]

Reimplemented from POP_Node.

virtual int POP_GenVar::isVarDependent ( GU_Detail gdp,
POP_FParam  param,
float  t,
int  thread 
) [protected, virtual]

Reimplemented from POP_Node.

int POP_GenVar::isVarTest (  )  const [inline, protected]

Definition at line 249 of file POP_GenVar.h.

void POP_GenVar::refreshSourceAttributeVars ( GU_Detail gdp  )  [protected]

void POP_GenVar::setupVars ( POP_ContextData data,
GU_Detail gdp,
const GB_Group source = 0 
) [protected]

void POP_GenVar::setVarDependent ( int  val  )  [inline, protected]

Definition at line 250 of file POP_GenVar.h.


Member Data Documentation

Definition at line 255 of file POP_GenVar.h.

Definition at line 259 of file POP_GenVar.h.

int POP_GenVar::mySourceIter [protected]

Definition at line 256 of file POP_GenVar.h.

Definition at line 260 of file POP_GenVar.h.

Definition at line 254 of file POP_GenVar.h.

float POP_GenVar::mySourceU [protected]

Definition at line 257 of file POP_GenVar.h.

float POP_GenVar::mySourceV [protected]

Definition at line 258 of file POP_GenVar.h.

Definition at line 30 of file POP_GenVar.h.

Definition at line 28 of file POP_GenVar.h.

Definition at line 27 of file POP_GenVar.h.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:35 2012 for HDK by  doxygen 1.5.9