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

#include <GT_GEOSupport.h>

Classes

class  pointfromvertex
 

Public Member Functions

 GT_GEOOffsetList ()
 
 GT_GEOOffsetList (const GU_Detail &gdp, GA_AttributeOwner owner)
 
 GT_GEOOffsetList (const GU_Detail &gdp, const GA_Range &range)
 
 GT_GEOOffsetList (const GA_OffsetList &offsets)
 
 GT_GEOOffsetList (const GA_Offset *offsets, GA_Size noffsets)
 
 GT_GEOOffsetList (const GT_GEOOffsetList &src)
 
 GT_GEOOffsetList (const GU_ConstDetailHandle &gdp, const GT_GEOOffsetList &vertex_list, pointfromvertex)
 
 GT_GEOOffsetList (const GT_GEOOffsetList &src, exint start, exint end)
 Extract a sub-array from the given offset list. More...
 
 ~GT_GEOOffsetList ()
 
void clear ()
 
void reserve (exint numtoadd, bool setentries=false)
 
void append (GA_Offset offset)
 
void checkMonotonic ()
 
void concat (const GT_GEOOffsetList &src)
 
bool isTrivial () const
 
GT_Size entries () const
 
GT_Size size () const
 
GA_Offset get (exint i) const
 
void set (exint i, GA_Offset value)
 
GA_Offset operator() (exint i) const
 
GA_Offset operator[] (exint i) const
 
bool is32Bit () const
 
int64 getMemoryUsage () const
 
bool monotonic () const
 
const GA_OffsetListoffsetList () const
 
GT_DataArrayHandle allocateArray () const
 Create a GT_DataArray for the offsets. More...
 
GT_DataArrayHandle createVertexPointArray (const GA_Detail &gdp) const
 
GT_DataArrayHandle createVertexPointArray (const GU_ConstDetailHandle &gdh) const
 
void dump (const char *msg="", bool full=true) const
 Debug. More...
 

Detailed Description

Wrapper around an array of GA_Offsets. Provides a way to allocate a GT_DataArray

Examples:
packedsphere/GT_GEOPackedSphere.C, packedsphere/GT_GEOPackedSphere.h, and tetprim/GT_PrimTetra.C.

Definition at line 25 of file GT_GEOSupport.h.

Constructor & Destructor Documentation

GT_GEOOffsetList::GT_GEOOffsetList ( )
inline

Definition at line 30 of file GT_GEOSupport.h.

GT_GEOOffsetList::GT_GEOOffsetList ( const GU_Detail gdp,
GA_AttributeOwner  owner 
)
GT_GEOOffsetList::GT_GEOOffsetList ( const GU_Detail gdp,
const GA_Range range 
)
GT_GEOOffsetList::GT_GEOOffsetList ( const GA_OffsetList offsets)
GT_GEOOffsetList::GT_GEOOffsetList ( const GA_Offset offsets,
GA_Size  noffsets 
)
GT_GEOOffsetList::GT_GEOOffsetList ( const GT_GEOOffsetList src)
inline

Definition at line 39 of file GT_GEOSupport.h.

GT_GEOOffsetList::GT_GEOOffsetList ( const GU_ConstDetailHandle gdp,
const GT_GEOOffsetList vertex_list,
pointfromvertex   
)
GT_GEOOffsetList::GT_GEOOffsetList ( const GT_GEOOffsetList src,
exint  start,
exint  end 
)

Extract a sub-array from the given offset list.

GT_GEOOffsetList::~GT_GEOOffsetList ( )

Member Function Documentation

GT_DataArrayHandle GT_GEOOffsetList::allocateArray ( ) const

Create a GT_DataArray for the offsets.

void GT_GEOOffsetList::append ( GA_Offset  offset)
inline
Examples:
packedsphere/GT_GEOPackedSphere.C, and tetprim/GT_PrimTetra.C.

Definition at line 76 of file GT_GEOSupport.h.

void GT_GEOOffsetList::checkMonotonic ( )
void GT_GEOOffsetList::clear ( )
inline

Definition at line 56 of file GT_GEOSupport.h.

void GT_GEOOffsetList::concat ( const GT_GEOOffsetList src)
GT_DataArrayHandle GT_GEOOffsetList::createVertexPointArray ( const GA_Detail gdp) const

Assuming that this offset list contains GA_Offset for vertices in the given gdp, create a data array for the points referred to by the vertices.

Examples:
tetprim/GT_PrimTetra.C.
GT_DataArrayHandle GT_GEOOffsetList::createVertexPointArray ( const GU_ConstDetailHandle gdh) const
void GT_GEOOffsetList::dump ( const char *  msg = "",
bool  full = true 
) const

Debug.

GT_Size GT_GEOOffsetList::entries ( ) const
inline
Examples:
packedsphere/GT_GEOPackedSphere.C, and tetprim/GT_PrimTetra.C.

Definition at line 86 of file GT_GEOSupport.h.

GA_Offset GT_GEOOffsetList::get ( exint  i) const
inline

Definition at line 88 of file GT_GEOSupport.h.

int64 GT_GEOOffsetList::getMemoryUsage ( ) const
inline

Definition at line 93 of file GT_GEOSupport.h.

bool GT_GEOOffsetList::is32Bit ( ) const
inline

Definition at line 92 of file GT_GEOSupport.h.

bool GT_GEOOffsetList::isTrivial ( ) const
inline

Definition at line 85 of file GT_GEOSupport.h.

bool GT_GEOOffsetList::monotonic ( ) const
inline

Definition at line 96 of file GT_GEOSupport.h.

const GA_OffsetList& GT_GEOOffsetList::offsetList ( ) const
inline

Definition at line 97 of file GT_GEOSupport.h.

GA_Offset GT_GEOOffsetList::operator() ( exint  i) const
inline

Definition at line 90 of file GT_GEOSupport.h.

GA_Offset GT_GEOOffsetList::operator[] ( exint  i) const
inline

Definition at line 91 of file GT_GEOSupport.h.

void GT_GEOOffsetList::reserve ( exint  numtoadd,
bool  setentries = false 
)
inline

Definition at line 57 of file GT_GEOSupport.h.

void GT_GEOOffsetList::set ( exint  i,
GA_Offset  value 
)
inline

Definition at line 89 of file GT_GEOSupport.h.

GT_Size GT_GEOOffsetList::size ( void  ) const
inline

Definition at line 87 of file GT_GEOSupport.h.


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