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

#include <GU_GroomUtils.h>

Classes

struct  PerThreadData
 

Public Member Functions

 GU_GroomPartingLineLookup (unsigned int maxpartlines)
 
 GU_GroomPartingLineLookup (unsigned int maxpartlines, GU_GroomSkinIntersect *skinintersect)
 
void setLines (const GU_Detail &gdp, const GA_ROHandleV3 &restattrib, const GA_PrimitiveGroup &partlinesgroup)
 
float computePartingWeight (const UT_Vector3 &posA, const UT_Vector3 &posB, const GU_GroomPartingLineAttribs &attribs, PerThreadData &threadvalues, const GU_GroomSkinIntersect *skinintersect=nullptr) const
 
GA_Offset getLineOffset1 (int id) const
 
GA_Offset getLineOffset2 (int id) const
 
int64 getMemoryUsage (bool inclusive) const
 

Static Public Member Functions

static const GA_PrimitiveGroupfindGroup (const GU_Detail &gdp)
 
static GA_PrimitiveGroupfindOrCreateGroup (GU_Detail &gdp)
 
static GA_PrimitiveGroupfindGroup (GU_Detail &gdp)
 

Detailed Description

Definition at line 693 of file GU_GroomUtils.h.

Constructor & Destructor Documentation

GU_GroomPartingLineLookup::GU_GroomPartingLineLookup ( unsigned int  maxpartlines)
inline

Definition at line 710 of file GU_GroomUtils.h.

GU_GroomPartingLineLookup::GU_GroomPartingLineLookup ( unsigned int  maxpartlines,
GU_GroomSkinIntersect skinintersect 
)
inline

Definition at line 714 of file GU_GroomUtils.h.

Member Function Documentation

float GU_GroomPartingLineLookup::computePartingWeight ( const UT_Vector3 posA,
const UT_Vector3 posB,
const GU_GroomPartingLineAttribs attribs,
PerThreadData threadvalues,
const GU_GroomSkinIntersect skinintersect = nullptr 
) const
static const GA_PrimitiveGroup* GU_GroomPartingLineLookup::findGroup ( const GU_Detail gdp)
inlinestatic

Definition at line 721 of file GU_GroomUtils.h.

static GA_PrimitiveGroup* GU_GroomPartingLineLookup::findGroup ( GU_Detail gdp)
inlinestatic

Definition at line 738 of file GU_GroomUtils.h.

static GA_PrimitiveGroup& GU_GroomPartingLineLookup::findOrCreateGroup ( GU_Detail gdp)
inlinestatic

Definition at line 727 of file GU_GroomUtils.h.

GA_Offset GU_GroomPartingLineLookup::getLineOffset1 ( int  id) const
inline

Definition at line 757 of file GU_GroomUtils.h.

GA_Offset GU_GroomPartingLineLookup::getLineOffset2 ( int  id) const
inline

Definition at line 762 of file GU_GroomUtils.h.

int64 GU_GroomPartingLineLookup::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 767 of file GU_GroomUtils.h.

void GU_GroomPartingLineLookup::setLines ( const GU_Detail gdp,
const GA_ROHandleV3 restattrib,
const GA_PrimitiveGroup partlinesgroup 
)

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