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

#include <POP_Node.h>

+ Inheritance diagram for GA_GBPrimWrap:

Public Member Functions

 GA_GBPrimWrap ()
 
 GA_GBPrimWrap (const GA_Primitive *prim)
 
 GA_GBPrimWrap (const GA_Primitive &prim)
 
GA_GBPrimWrapoperator= (const GA_GBPrimWrap &that)
 
GA_GBPrimWrapoperator-> ()
 
const GA_GBPrimWrapoperator-> () const
 
- Public Member Functions inherited from GA_GBElement
GA_DetailgetDetail () const
 Provide access to the GA_Detail containing this element. More...
 
const GA_IndexMapgetIndexMap () const
 Provide access to the GA_IndexMap containing this element. More...
 
GA_Offset getMapOffset () const
 
GA_Index getMapIndex () const
 Provide the ordered GA_Index of this element in its GA_IndexMap. More...
 
bool isGAValid () const
 Test to see whether the GA_GBElement is bound to a valid offset. More...
 
void copyAttributeData (const GA_RWAttributeRef &dstref, const GA_GBElement &src, const GA_ROAttributeRef &srcref)
 Copy a single attribute over. More...
 
void swapOffsetValue (const GA_Defragment &defrag)
 For defragmentation, we need to update the offset. More...
 
GA_Index getNum () const
 
bool isPrimary () const
 
void copyAttribData (const GA_GBElement &src, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict, bool copy_point_P=false)
 
void copyAttribData (const GA_GBElement &src, const GA_AttributeSet &dict, bool copy_point_P=false)
 
void copyAttributeValues (const GA_GBElement &src, const GA_AttributeSet &dict, bool copy_point_P=false)
 
void scaleAttributeValues (fpreal scale, const GA_AttributeSet &dest_dict, bool scale_point_P=false)
 
void addAttributeValues (const GA_GBElement &src, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict, fpreal scale=1, bool add_point_P=false)
 
void addAttributeValues (const GA_GBElement &src, const GA_AttributeSet &dict, fpreal scale=1, bool add_point_P=false)
 
void lerpAttributeValues (const GA_GBElement &v0, const GA_GBElement &v1, fpreal bias, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict, bool lerp_point_P=false)
 
void lerpAttributeValues (const GA_GBElement &v0, const GA_GBElement &v1, fpreal bias, const GA_AttributeSet &dict, bool lerp_point_P=false)
 
const char * getString (const GA_ROAttributeRef &h, int index=0) const
 
void setString (const GA_WOAttributeRef &h, const char *str, int index=0)
 
template<typename T >
T getValue (const GA_ROAttributeRef &h, int index=0) const
 
template<typename T >
void setValue (const GA_WOAttributeRef &h, const T &val, int index=0)
 
template<typename T >
void get (const GA_ROAttributeRef &h, T &val, int index=0) const
 
template<typename T >
void get (const GA_ROAttributeRef &h, T *val, int count) const
 
template<typename T >
void set (const GA_WOAttributeRef &h, const T *val, int count)
 

Additional Inherited Members

- Protected Member Functions inherited from GA_GBElement
 GA_GBElement (const GA_IndexMap &index_map, GA_Offset offset)
 
 GA_GBElement ()
 Default c-tor. More...
 
 GA_GBElement (const GA_GBElement &src)
 Copy c-tor. More...
 
 ~GA_GBElement ()
 
void gaCopyAttribData (const GA_GBElement *src, const GA_Attribute *skip=NULL)
 
void gaCopyAttribData (const GA_GBElement &src, const GA_AttributeSet &src_dict, const GA_AttributeSet &dest_dict, const GA_Attribute *skip=NULL)
 
void gaCopyAttribData (const GA_GBElement &src, const GA_AttributeDict &src_dict, const GA_AttributeDict &dest_dict, const GA_Attribute *skip=NULL)
 
GA_GBElementoperator= (const GA_GBElement &src)
 
bool operator== (const GA_GBElement &src) const
 

Detailed Description

Wrapper to easily mimic old GA_GBElement interface for primitives, now that they're not GA_GBElement objects.

Definition at line 334 of file POP_Node.h.

Constructor & Destructor Documentation

GA_GBPrimWrap::GA_GBPrimWrap ( )
inline

Definition at line 338 of file POP_Node.h.

GA_GBPrimWrap::GA_GBPrimWrap ( const GA_Primitive prim)
inline

Definition at line 342 of file POP_Node.h.

GA_GBPrimWrap::GA_GBPrimWrap ( const GA_Primitive prim)
inline

Definition at line 346 of file POP_Node.h.

Member Function Documentation

GA_GBPrimWrap* GA_GBPrimWrap::operator-> ( void  )
inline

Definition at line 355 of file POP_Node.h.

const GA_GBPrimWrap* GA_GBPrimWrap::operator-> ( void  ) const
inline

Definition at line 357 of file POP_Node.h.

GA_GBPrimWrap& GA_GBPrimWrap::operator= ( const GA_GBPrimWrap that)
inline

Definition at line 350 of file POP_Node.h.


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