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

Class representing source data for GU_LinearSkinDeformer. More...

#include <GU_LinearSkinDeformer.h>

+ Inheritance diagram for GU_LinearSkinDeformerSource:

Public Member Functions

 GU_LinearSkinDeformerSource ()
 
int64 getMemoryUsage (bool inclusive) const
 
void reset ()
 Reset all state. More...
 
int init (const GU_Detail &src, const GA_Range &pt_range, int max_pt_weights=0)
 
void clearAttribs ()
 Clear the list of appended attributes. More...
 
void appendAttrib (const GA_Attribute &src_attrib)
 
const GU_DetailsrcGdp () const
 
void setSrcGdp (const GU_Detail &src)
 
exint numPoints () const
 
int numRegions () const
 Return the number of regions found by initSrc() More...
 
const char * regionName (int i) const
 

Static Public Member Functions

static bool getCaptureParms (const GU_Detail &src, GA_ROAttributeRef &pcapt, GEO_AttributeCapturePath &attr_cap_path, UT_Array< UT_Matrix4F > &xforms, int &max_pt_regions)
 Static utility method to get capture parameters. More...
 

Friends

class GU_LinearSkinDeformer
 

Detailed Description

Class representing source data for GU_LinearSkinDeformer.

Definition at line 119 of file GU_LinearSkinDeformer.h.

Constructor & Destructor Documentation

GU_LinearSkinDeformerSource::GU_LinearSkinDeformerSource ( )

Member Function Documentation

void GU_LinearSkinDeformerSource::appendAttrib ( const GA_Attribute src_attrib)

Append attribute to be deformed. How it is deformed depends on src's GA_TypeInfo. initSrc() must have been called first.

void GU_LinearSkinDeformerSource::clearAttribs ( )

Clear the list of appended attributes.

static bool GU_LinearSkinDeformerSource::getCaptureParms ( const GU_Detail src,
GA_ROAttributeRef pcapt,
GEO_AttributeCapturePath attr_cap_path,
UT_Array< UT_Matrix4F > &  xforms,
int max_pt_regions 
)
static

Static utility method to get capture parameters.

int64 GU_LinearSkinDeformerSource::getMemoryUsage ( bool  inclusive) const
int GU_LinearSkinDeformerSource::init ( const GU_Detail src,
const GA_Range pt_range,
int  max_pt_weights = 0 
)

Setup the source geometry. Returns the number of transforms requireds to deform using the capture weight attribute. If in error, then 0 is returned. If max_pt_weights > 0, then it will limit the number of weight entries to use per point.

exint GU_LinearSkinDeformerSource::numPoints ( ) const
inline

Definition at line 152 of file GU_LinearSkinDeformer.h.

int GU_LinearSkinDeformerSource::numRegions ( ) const
inline

Return the number of regions found by initSrc()

Definition at line 157 of file GU_LinearSkinDeformer.h.

const char* GU_LinearSkinDeformerSource::regionName ( int  i) const
inline

Return the name given the region index. init() must have been called first.

Definition at line 162 of file GU_LinearSkinDeformer.h.

void GU_LinearSkinDeformerSource::reset ( )

Reset all state.

void GU_LinearSkinDeformerSource::setSrcGdp ( const GU_Detail src)
inline

Definition at line 149 of file GU_LinearSkinDeformer.h.

const GU_Detail* GU_LinearSkinDeformerSource::srcGdp ( ) const
inline

Definition at line 147 of file GU_LinearSkinDeformer.h.

Friends And Related Function Documentation

friend class GU_LinearSkinDeformer
friend

Definition at line 187 of file GU_LinearSkinDeformer.h.


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