HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
POP_ContextData.h File Reference
#include "POP_API.h"
#include <SYS/SYS_Math.h>
#include <UT/UT_IntArray.h>
#include <UT/UT_UniquePtr.h>
#include <UT/UT_ValArray.h>
#include <UT/UT_Array.h>
#include <UT/UT_Map.h>
#include <UT/UT_SymbolTable.h>
#include <GEO/GEO_Point.h>
#include <GU/GU_DetailHandle.h>
#include <OP/OP_Context.h>
#include "POP_Guide.h"
#include "POP_ParticleList.h"
+ Include dependency graph for POP_ContextData.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  POP_ContextData
 
class  POP_ContextDataHandle
 
class  POP_UserVarResolveInfo
 

Macros

#define POP_USER_VARIABLE   600
 
#define POP_TIMEDELTA   0.01
 
#define MAX_INPUT_GEOS   4
 
Query Attribute Offsets

Methods to query cached offsets for common attributes to replace more expensive lookups.

#define BUILD_OFFSET_CACHE(ATTRIBNAME, TYPE)
 

Typedefs

typedef UT_Array< GU_DetailHandlePOP_GuideHandleList
 The POP_GuideHandleList provides indirect references to POP_Guide objects. More...
 
typedef UT_SymbolMap
< POP_UserVar * > 
POP_UserVarMap
 
typedef UT_SymbolMap< intPOP_IdMap
 

Macro Definition Documentation

#define BUILD_OFFSET_CACHE (   ATTRIBNAME,
  TYPE 
)
Value:
public: \
const GA_RWAttributeRef &get##ATTRIBNAME##Offset () const { return my##ATTRIBNAME##Offset; } \
const GA_RWHandle##TYPE &get##ATTRIBNAME##Handle () const { return my##ATTRIBNAME##Handle; } \
void set##ATTRIBNAME##Offset (const GA_RWAttributeRef &offset) { my##ATTRIBNAME##Offset = offset; my##ATTRIBNAME##Handle.bind(offset.getAttribute()); } \
void clear##ATTRIBNAME##Offset () { my##ATTRIBNAME##Offset.clear(); my##ATTRIBNAME##Handle.clear(); } \
private: \
GA_RWAttributeRef my##ATTRIBNAME##Offset; \
GA_RWHandle##TYPE my##ATTRIBNAME##Handle; \
public: \
GA_Attribute * getAttribute() const
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
This class provides a way to manage a reference to an attribute permitting Read-Write access...
GLintptr offset
Definition: glcorearb.h:664
#define const
Definition: zconf.h:214

Definition at line 264 of file POP_ContextData.h.

#define MAX_INPUT_GEOS   4

Definition at line 28 of file POP_ContextData.h.

#define POP_TIMEDELTA   0.01

Definition at line 27 of file POP_ContextData.h.

#define POP_USER_VARIABLE   600

Definition at line 26 of file POP_ContextData.h.

Typedef Documentation

The POP_GuideHandleList provides indirect references to POP_Guide objects.

Definition at line 39 of file POP_ContextData.h.

Definition at line 45 of file POP_ContextData.h.

typedef UT_SymbolMap<POP_UserVar*> POP_UserVarMap

Definition at line 44 of file POP_ContextData.h.