HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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_Function.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_VectorTypes.h>
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Types.h>
#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 = UT_Function< bool(const GA_Edge &edge)>
 
using GA_IterateEdgesByVertexFunc = UT_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 localGetIntrinsicD(const GA_IntrinsicEval &, \
UT_OptionsHolder &) const OVERRIDE; \
virtual GA_Size localGetIntrinsicDA(const GA_IntrinsicEval &, \
UT_Array<UT_OptionsHolder> &) 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; \
virtual GA_Size localSetIntrinsicDS(const GA_IntrinsicEval &, \
const UT_OptionsHolder *, GA_Size) OVERRIDE; \
virtual GA_Size localSetIntrinsicDA(const GA_IntrinsicEval &, \
const UT_Array<UT_OptionsHolder> &) OVERRIDE;
exint GA_Size
Defines the bit width for index and offset types in GA.
Definition: GA_Types.h:236
double fpreal64
Definition: SYS_Types.h:201
Class used to keep track of inheritance of intrinsic attribute evaluation.
long long int64
Definition: SYS_Types.h:116
Definition of a geometric primitive.

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 80 of file GA_Primitive.h.

#define GA_NO_OVERRIDE

Definition at line 76 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 64 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 68 of file GA_Primitive.h.

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

Definition at line 70 of file GA_Primitive.h.

Definition at line 74 of file GA_Primitive.h.

using GA_IterateEdgesFunc = UT_Function<bool(const GA_Edge &edge)>

Definition at line 73 of file GA_Primitive.h.