HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_Macros.h File Reference
#include <GA/GA_GBMacros.h>
#include "GEO_PrimList.h"
+ Include dependency graph for GEO_Macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GEO_GBMixGroupFwdIterator
 

Macros

#define FOR_ALL_MIX_GROUP_PRIMITIVES(gdp, grp, prim, sec)
 
#define FOR_SAFE_MIX_GROUP_PRIMITIVES(gdp, grp, prim, sec, nextprim, nextsec)
 

Macro Definition Documentation

#define FOR_ALL_MIX_GROUP_PRIMITIVES (   gdp,
  grp,
  prim,
  sec 
)
Value:
for (GEO_GBMixGroupFwdIterator __iter(gdp, *grp, prim, sec); prim; \
__iter.nextMix(gdp, *grp, prim, sec, prim, sec))
int nextMix(DETAIL_TYPE *gdp, const GA_PrimitiveGroup &group, PRIM_TYPE *&prim, SEC_PRIM_TYPE *&sec, PRIM_TYPE *&next_prim, SEC_PRIM_TYPE *&next_sec)
Definition: GEO_Macros.h:38

Definition at line 50 of file GEO_Macros.h.

#define FOR_SAFE_MIX_GROUP_PRIMITIVES (   gdp,
  grp,
  prim,
  sec,
  nextprim,
  nextsec 
)
Value:
for (GEO_GBMixGroupFwdIterator __iter(gdp, *grp, prim, sec); \
prim && (__iter.nextMix(gdp,*grp,prim,sec,nextprim,nextsec) || true) && prim; \
prim = nextprim, sec = nextsec)

Definition at line 54 of file GEO_Macros.h.