HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_Primitive.h File Reference
#include "GA_API.h"
#include "GA_Detail.h"
#include "GA_IntrinsicManager.h"
#include "GA_OffsetList.h"
#include "GA_PrimCompat.h"
#include "GA_PrimitiveDefinition.h"
#include "GA_PrimitiveFamilyMask.h"
#include "GA_PrimitiveTypeId.h"
#include "GA_SharedDataHandle.h"
#include "GA_SharedLoadData.h"
#include "GA_Range.h"
#include "GA_Topology.h"
#include "GA_Types.h"
#include <UT/UT_BoundingBox.h>
#include <UT/UT_BoundingRect.h>
#include <UT/UT_VectorTypes.h>
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Types.h>
#include <functional>
#include <iosfwd>
#include <stddef.h>
+ Include dependency graph for GA_Primitive.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_Array< T >
 
class  GA_EdgeT< T, DIRECTED >
 
class  GA_Primitive
 

Macros

#define __GA_Primitive__
 
#define GA_PRIMITIVE_VERTEXLIST   1
 
#define GA_NO_OVERRIDE
 
#define GA_DECLARE_INTRINSICS(OVERRIDE)
 

Typedefs

using GA_Edge = GA_EdgeT< GA_Offset, false >
 
typedef void(* GA_EdgeApplyFunc )(const GA_Primitive &prim, GA_Offset pt_a, GA_Offset pt_b, void *data)
 
typedef void(* GA_EdgeApplyIndexFunc )(const GA_Primitive &prim, GA_Size v1, GA_Size v2, void *data)
 
using GA_IterateEdgesFunc = std::function< bool(const GA_Edge &edge)>
 
using GA_IterateEdgesByVertexFunc = std::function< bool(GA_Size, GA_Size)>
 

Macro Definition Documentation

#define __GA_Primitive__

Definition at line 14 of file GA_Primitive.h.

#define GA_DECLARE_INTRINSICS (   OVERRIDE)
Value:
static GA_IntrinsicManager::Registrar \
registerIntrinsics(GA_PrimitiveDefinition &); \
virtual GA_Size localIntrinsicTupleSize(const GA_IntrinsicEval &) const \
OVERRIDE; \
virtual GA_Size localGetIntrinsicI(const GA_IntrinsicEval &, \
int64 *, GA_Size) const OVERRIDE; \
virtual GA_Size localGetIntrinsicF(const GA_IntrinsicEval &, \
fpreal64 *, GA_Size) const OVERRIDE; \
virtual GA_Size localGetIntrinsicS(const GA_IntrinsicEval &, \
UT_String &) const OVERRIDE; \
virtual GA_Size localGetIntrinsicSA(const GA_IntrinsicEval &, \
UT_StringArray &) const OVERRIDE; \
virtual GA_Size localSetIntrinsicI(const GA_IntrinsicEval &, \
const int64 *, GA_Size) OVERRIDE; \
virtual GA_Size localSetIntrinsicF(const GA_IntrinsicEval &, \
const fpreal64 *, GA_Size) OVERRIDE; \
virtual GA_Size localSetIntrinsicSS(const GA_IntrinsicEval &, \
const char **, GA_Size) OVERRIDE; \
virtual GA_Size localSetIntrinsicSA(const GA_IntrinsicEval &, \
const UT_StringArray &) OVERRIDE;
exint GA_Size
Defines the bit width for index and offset types in GA.
Definition: GA_Types.h:211
long long int64
Definition: SYS_Types.h:100
Class used to keep track of inheritance of intrinsic attribute evaluation.
double fpreal64
Definition: SYS_Types.h:185
Definition of a geometric primitive.
#define const
Definition: zconf.h:214

Declare intrinsic callback functions in header file. See GA_IntrinsicMacros.h for macros to help implement intrinsics.

Examples:
tetprim/GEO_PrimTetra.h.

Definition at line 79 of file GA_Primitive.h.

#define GA_NO_OVERRIDE
Examples:
tetprim/GEO_PrimTetra.h.

Definition at line 75 of file GA_Primitive.h.

#define GA_PRIMITIVE_VERTEXLIST   1

Definition at line 16 of file GA_Primitive.h.

Typedef Documentation

using GA_Edge = GA_EdgeT<GA_Offset, false>

Definition at line 63 of file GA_Primitive.h.

typedef void(* GA_EdgeApplyFunc)(const GA_Primitive &prim, GA_Offset pt_a, GA_Offset pt_b, void *data)

Definition at line 67 of file GA_Primitive.h.

typedef void(* GA_EdgeApplyIndexFunc)(const GA_Primitive &prim, GA_Size v1, GA_Size v2, void *data)

Definition at line 69 of file GA_Primitive.h.

using GA_IterateEdgesByVertexFunc = std::function<bool(GA_Size, GA_Size)>

Definition at line 73 of file GA_Primitive.h.

using GA_IterateEdgesFunc = std::function<bool(const GA_Edge &edge)>

Definition at line 72 of file GA_Primitive.h.