HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_GBPrimitiveList Class Reference

#include <GA_GBPrimitiveList.h>

+ Inheritance diagram for GA_GBPrimitiveList:

Classes

class  GroupIterationCache
 Class used to avoid O(n^2) traversal of ordered groups. More...
 

Public Member Functions

 GA_GBPrimitiveList (const GA_IndexMap &index_map)
 
 ~GA_GBPrimitiveList ()
 
GA_Size entries () const
 
void clearAndDestroy ()
 
const GA_PrimitiverawEntry (GA_Size n) const
 
GA_PrimitiverawEntry (GA_Size n)
 
const GA_PrimitiverawHead () const
 
const GA_PrimitiverawTail () const
 
GA_PrimitiverawHead ()
 
GA_PrimitiverawTail ()
 
const GA_PrimitiverawHead (const GA_ElementGroup &g) const
 
const GA_PrimitiverawTail (const GA_ElementGroup &g) const
 
GA_PrimitiverawHead (const GA_ElementGroup &g)
 
GA_PrimitiverawTail (const GA_ElementGroup &g)
 
const GA_PrimitiverawNext (const GA_Primitive *i) const
 
const GA_PrimitiverawNext (const GA_Primitive *i, const GA_ElementGroup &g) const
 
GA_PrimitiverawNext (GA_Primitive *i)
 
GA_PrimitiverawNext (GA_Primitive *i, const GA_ElementGroup &g)
 
const GA_PrimitiverawPrev (const GA_Primitive *i) const
 
const GA_PrimitiverawPrev (const GA_Primitive *i, const GA_ElementGroup &g) const
 
GA_PrimitiverawPrev (GA_Primitive *i)
 
GA_PrimitiverawPrev (GA_Primitive *i, const GA_ElementGroup &g)
 
int rawHeadMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&sec) const
 
int rawTailMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&sec) const
 
int rawNextMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&sec, const GA_Primitive *&newelem, const GA_Primitive *&newsec) const
 
int rawPrevMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&sec, const GA_Primitive *&newelem, const GA_Primitive *&newsec) const
 
int rawHeadMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec)
 
int rawTailMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec)
 
int rawNextMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec, GA_Primitive *&newelem, GA_Primitive *&newsec)
 
int rawPrevMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec, GA_Primitive *&newelem, GA_Primitive *&newsec)
 
const GA_PrimitiverawHead (const GA_ElementGroup &g, GroupIterationCache &cache) const
 
const GA_PrimitiverawTail (const GA_ElementGroup &g, GroupIterationCache &cache) const
 
GA_PrimitiverawHead (const GA_ElementGroup &g, GroupIterationCache &cache)
 
GA_PrimitiverawTail (const GA_ElementGroup &g, GroupIterationCache &cache)
 
const GA_PrimitiverawNext (const GA_Primitive *i, const GA_ElementGroup &g, GroupIterationCache &cache) const
 
GA_PrimitiverawNext (GA_Primitive *i, const GA_ElementGroup &g, GroupIterationCache &cache)
 
const GA_PrimitiverawPrev (const GA_Primitive *i, const GA_ElementGroup &g, GroupIterationCache &cache) const
 
GA_PrimitiverawPrev (GA_Primitive *i, const GA_ElementGroup &g, GroupIterationCache &cache)
 
int rawHeadMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&sec, GroupIterationCache &cache) const
 
int rawTailMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&seci, GroupIterationCache &cache) const
 
int rawNextMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&sec, const GA_Primitive *&newelem, const GA_Primitive *&newsec, GroupIterationCache &cache) const
 
int rawPrevMix (const GA_ElementGroup &group, const GA_Primitive *&elem, const GA_Primitive *&sec, const GA_Primitive *&newelem, const GA_Primitive *&newsec, GroupIterationCache &cache) const
 
int rawHeadMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec, GroupIterationCache &cache)
 
int rawTailMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec, GroupIterationCache &cache)
 
int rawNextMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec, GA_Primitive *&newelem, GA_Primitive *&newsec, GroupIterationCache &cache)
 
int rawPrevMix (const GA_ElementGroup &group, GA_Primitive *&elem, GA_Primitive *&sec, GA_Primitive *&newelem, GA_Primitive *&newsec, GroupIterationCache &cache)
 

Detailed Description

Definition at line 27 of file GA_GBPrimitiveList.h.

Constructor & Destructor Documentation

GA_GBPrimitiveList::GA_GBPrimitiveList ( const GA_IndexMap index_map)
GA_GBPrimitiveList::~GA_GBPrimitiveList ( )

Member Function Documentation

void GA_GBPrimitiveList::clearAndDestroy ( )
GA_Size GA_GBPrimitiveList::entries ( ) const
inline

Definition at line 39 of file GA_GBPrimitiveList.h.

const GA_Primitive* GA_GBPrimitiveList::rawEntry ( GA_Size  n) const
GA_Primitive* GA_GBPrimitiveList::rawEntry ( GA_Size  n)
const GA_Primitive* GA_GBPrimitiveList::rawHead ( ) const
inline

Definition at line 53 of file GA_GBPrimitiveList.h.

GA_Primitive* GA_GBPrimitiveList::rawHead ( )
inline

Definition at line 62 of file GA_GBPrimitiveList.h.

const GA_Primitive* GA_GBPrimitiveList::rawHead ( const GA_ElementGroup g) const
GA_Primitive* GA_GBPrimitiveList::rawHead ( const GA_ElementGroup g)
const GA_Primitive* GA_GBPrimitiveList::rawHead ( const GA_ElementGroup g,
GroupIterationCache cache 
) const
GA_Primitive* GA_GBPrimitiveList::rawHead ( const GA_ElementGroup g,
GroupIterationCache cache 
)
int GA_GBPrimitiveList::rawHeadMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  sec 
) const

The group overloads of rawNextMix()/rawPrevMix() have O(n^2) behavior with ordered groups. Use the GroupIterationCache overloads to avoid this.

int GA_GBPrimitiveList::rawHeadMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec 
)
int GA_GBPrimitiveList::rawHeadMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  sec,
GroupIterationCache cache 
) const
int GA_GBPrimitiveList::rawHeadMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec,
GroupIterationCache cache 
)
const GA_Primitive* GA_GBPrimitiveList::rawNext ( const GA_Primitive i) const

The group overloads of rawNext()/rawPrev() have O(n^2) behavior with ordered groups. Use the GroupIterationCache overloads to avoid this.

const GA_Primitive* GA_GBPrimitiveList::rawNext ( const GA_Primitive i,
const GA_ElementGroup g 
) const
GA_Primitive* GA_GBPrimitiveList::rawNext ( GA_Primitive i)
GA_Primitive* GA_GBPrimitiveList::rawNext ( GA_Primitive i,
const GA_ElementGroup g 
)
const GA_Primitive* GA_GBPrimitiveList::rawNext ( const GA_Primitive i,
const GA_ElementGroup g,
GroupIterationCache cache 
) const
GA_Primitive* GA_GBPrimitiveList::rawNext ( GA_Primitive i,
const GA_ElementGroup g,
GroupIterationCache cache 
)
int GA_GBPrimitiveList::rawNextMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  sec,
const GA_Primitive *&  newelem,
const GA_Primitive *&  newsec 
) const
int GA_GBPrimitiveList::rawNextMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec,
GA_Primitive *&  newelem,
GA_Primitive *&  newsec 
)
int GA_GBPrimitiveList::rawNextMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  sec,
const GA_Primitive *&  newelem,
const GA_Primitive *&  newsec,
GroupIterationCache cache 
) const
int GA_GBPrimitiveList::rawNextMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec,
GA_Primitive *&  newelem,
GA_Primitive *&  newsec,
GroupIterationCache cache 
)
const GA_Primitive* GA_GBPrimitiveList::rawPrev ( const GA_Primitive i) const
const GA_Primitive* GA_GBPrimitiveList::rawPrev ( const GA_Primitive i,
const GA_ElementGroup g 
) const
GA_Primitive* GA_GBPrimitiveList::rawPrev ( GA_Primitive i)
GA_Primitive* GA_GBPrimitiveList::rawPrev ( GA_Primitive i,
const GA_ElementGroup g 
)
const GA_Primitive* GA_GBPrimitiveList::rawPrev ( const GA_Primitive i,
const GA_ElementGroup g,
GroupIterationCache cache 
) const
GA_Primitive* GA_GBPrimitiveList::rawPrev ( GA_Primitive i,
const GA_ElementGroup g,
GroupIterationCache cache 
)
int GA_GBPrimitiveList::rawPrevMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  sec,
const GA_Primitive *&  newelem,
const GA_Primitive *&  newsec 
) const
int GA_GBPrimitiveList::rawPrevMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec,
GA_Primitive *&  newelem,
GA_Primitive *&  newsec 
)
int GA_GBPrimitiveList::rawPrevMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  sec,
const GA_Primitive *&  newelem,
const GA_Primitive *&  newsec,
GroupIterationCache cache 
) const
int GA_GBPrimitiveList::rawPrevMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec,
GA_Primitive *&  newelem,
GA_Primitive *&  newsec,
GroupIterationCache cache 
)
const GA_Primitive* GA_GBPrimitiveList::rawTail ( ) const
inline

Definition at line 56 of file GA_GBPrimitiveList.h.

GA_Primitive* GA_GBPrimitiveList::rawTail ( )
inline

Definition at line 65 of file GA_GBPrimitiveList.h.

const GA_Primitive* GA_GBPrimitiveList::rawTail ( const GA_ElementGroup g) const
GA_Primitive* GA_GBPrimitiveList::rawTail ( const GA_ElementGroup g)
const GA_Primitive* GA_GBPrimitiveList::rawTail ( const GA_ElementGroup g,
GroupIterationCache cache 
) const
GA_Primitive* GA_GBPrimitiveList::rawTail ( const GA_ElementGroup g,
GroupIterationCache cache 
)
int GA_GBPrimitiveList::rawTailMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  sec 
) const
int GA_GBPrimitiveList::rawTailMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec 
)
int GA_GBPrimitiveList::rawTailMix ( const GA_ElementGroup group,
const GA_Primitive *&  elem,
const GA_Primitive *&  seci,
GroupIterationCache cache 
) const
int GA_GBPrimitiveList::rawTailMix ( const GA_ElementGroup group,
GA_Primitive *&  elem,
GA_Primitive *&  sec,
GroupIterationCache cache 
)

The documentation for this class was generated from the following file: