HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
POP_IntersectAttribs.h File Reference
#include "POP_API.h"
#include "POP_ContextData.h"
#include "GA_PageHandleUtil.h"
#include <GA/GA_PageHandle.h>
#include <hboost/fusion/include/adapt_struct.hpp>
#include <hboost/fusion/include/adapt_struct_named.hpp>
#include <hboost/fusion/include/define_struct.hpp>
+ Include dependency graph for POP_IntersectAttribs.h:

Go to the source code of this file.

Classes

struct  POP_IntersectAttribs
 

Macros

#define POP_INIT_ATTRIB(NAME)   my##NAME(data->get##NAME##Offset().getAttribute()) \
 
#define POP_DECLARE_ATTRIB(NAME, TYPE)
 

Functions

 HBOOST_FUSION_ADAPT_STRUCT (POP_IntersectAttribs,(GA_RWPageHandleV3, myHitPos)(GA_RWPageHandleV2, myHitPosUV)(GA_RWPageHandleV3, myHitNormal)(GA_RWPageHandleV3, myHitUV)(GA_RWPageHandleV3, myHitDiffuse)(GA_RWPageHandleI, myNumHit)(GA_RWPageHandleI, myHitID)(GA_RWPageHandleF, myHitTime)(GA_RWPageHandleF, myDistance)(GA_RWPageHandleV3, myPos)(GA_RWPageHandleI, myPosPrim)(GA_RWPageHandleV2, myPosUV)(GA_RWPageHandleV4, myBacktrack)(GA_RWPageHandleV2, mySpeedLimit)) HBOOST_FUSION_ADAPT_STRUCT_NAMED_NS(POP_IntersectAttribs
 
 myHitPos (GA_RWPageHandleV2, myHitPosUV)(GA_RWPageHandleV3
 
 myHitNormal (GA_RWPageHandleV3, myHitUV)(GA_RWPageHandleV3
 
 myHitDiffuse (GA_RWPageHandleI, myNumHit)(GA_RWPageHandleI
 
 myHitID (GA_RWPageHandleF, myHitTime)(GA_RWPageHandleF
 
myDistance HBOOST_FUSION_DEFINE_STRUCT (, POP_CollideAttribs,(GA_RWPageHandleI, myState)(GA_ROPageHandleF, myLife)(GA_RWPageHandleV3, myVelocity)(GA_RWPageHandleV3, myAccel)) POP_API extern void POPbindCollideAttribs(POP_CollideAttribs &collide_attribs
 

Variables

 POP_AdaptedAttribs
 
 IntersectBase
 
 GA_RWPageHandleV3
 
myDistance POP_ContextDatadata
 

Macro Definition Documentation

#define POP_DECLARE_ATTRIB (   NAME,
  TYPE 
)
Value:
GA_RWPageHandle##TYPE my##NAME; \
GA_RWPageHandle##TYPE::value_type my##NAME##Value; \
uint64 value_type
Definition: GA_PrimCompat.h:29

Definition at line 29 of file POP_IntersectAttribs.h.

#define POP_INIT_ATTRIB (   NAME)    my##NAME(data->get##NAME##Offset().getAttribute()) \

Definition at line 25 of file POP_IntersectAttribs.h.

Function Documentation

myDistance HBOOST_FUSION_DEFINE_STRUCT ( POP_CollideAttribs  ,
(GA_RWPageHandleI, myState)(GA_ROPageHandleF, myLife)(GA_RWPageHandleV3, myVelocity)(GA_RWPageHandleV3, myAccel)   
)
myHitDiffuse ( GA_RWPageHandleI  ,
myNumHit   
)
myHitID ( GA_RWPageHandleF  ,
myHitTime   
)
myHitNormal ( GA_RWPageHandleV3  ,
myHitUV   
)
myHitPos ( GA_RWPageHandleV2  ,
myHitPosUV   
)

Variable Documentation

myDistance POP_ContextData* data

Definition at line 125 of file POP_IntersectAttribs.h.

Definition at line 101 of file POP_IntersectAttribs.h.

IntersectBase

Definition at line 101 of file POP_IntersectAttribs.h.

POP_AdaptedAttribs

Definition at line 101 of file POP_IntersectAttribs.h.