GB/GB_PointRef.h File Reference

#include "GB_API.h"
#include "GB_Detail.h"

Go to the source code of this file.

Classes

struct  GB_PointRef
class  GB_PointRefArray

Typedefs

typedef struct GB_PointRef GB_PointRef

Functions

GB_API void GBgetPrimitiveClosure (const GB_Detail &gdp, const GB_PointGroup *pt_group, GB_PrimitiveGroup *prim_group, GB_PrimitiveGroup *restrict_group=0, bool restrict_if_contains=true)
GB_API void GBgetPrimitiveClosure (const GB_Detail &gdp, const UT_BitArray &pt_array, GB_PrimitiveGroup *prim_group, GB_PrimitiveGroup *restrict_group=0, bool restrict_if_contains=true)


Typedef Documentation

typedef struct GB_PointRef GB_PointRef

Definition at line 33 of file GB_PointRef.h.


Function Documentation

GB_API void GBgetPrimitiveClosure ( const GB_Detail gdp,
const UT_BitArray pt_array,
GB_PrimitiveGroup prim_group,
GB_PrimitiveGroup restrict_group = 0,
bool  restrict_if_contains = true 
)

Same version of the above function except pt_group is a bit array with each bit representing if the particular point is in the pt_group.

GB_API void GBgetPrimitiveClosure ( const GB_Detail gdp,
const GB_PointGroup pt_group,
GB_PrimitiveGroup prim_group,
GB_PrimitiveGroup restrict_group = 0,
bool  restrict_if_contains = true 
)

This function adds all the adjacent primitives of the pt_group to prim_group within gdp. If given a restrict_group, then we use it to restrict the list of primitives that we consider. The behaviour of this group is determined by the restrict_if_contains flag. If this flag is true, then only primitives in the restrict_group are considered. If the flag is false, then only primitives _not_ in the restrict_group are used.


Generated on Tue May 22 00:09:59 2012 for HDK by  doxygen 1.5.9