HDK
|
#include <GU_Fur.h>
Public Member Functions | |
GU_Fur (const GU_Detail *skin, const GU_Detail *guides, const GU_Detail *clumps, const GU_Detail *partinglines, int seed, fpreal density, fpreal length, fpreal guideradius, fpreal clumpradius, fpreal partingradius, const UT_String &skin_shader, const UT_String &guide_shader, const UT_String &skin_attribs, const UT_String &guide_attribs, bool set_id) | |
virtual | ~GU_Fur () |
bool | initialize (int nvertices) |
void | generate (UT_OpCaller *caller, GU_Detail *gdp, const UT_IntArray &skinprims, fpreal display, bool limit_to_bounds, const UT_BoundingBox &bounds, bool use_closest_clump, bool remove_unclumped, bool remove_unguided, GU_FurCurveType type, GA_AttributeOwner skinowner, GA_AttributeOwner guideowner, bool interruptable) |
void | getBoundingBox (UT_BoundingBox &box, int pr, fpreal preblur, fpreal postblur) const |
virtual void | addError (const UT_String &str)=0 |
virtual void | addWarning (const UT_String &str)=0 |
GU_Fur::GU_Fur | ( | const GU_Detail * | skin, |
const GU_Detail * | guides, | ||
const GU_Detail * | clumps, | ||
const GU_Detail * | partinglines, | ||
int | seed, | ||
fpreal | density, | ||
fpreal | length, | ||
fpreal | guideradius, | ||
fpreal | clumpradius, | ||
fpreal | partingradius, | ||
const UT_String & | skin_shader, | ||
const UT_String & | guide_shader, | ||
const UT_String & | skin_attribs, | ||
const UT_String & | guide_attribs, | ||
bool | set_id | ||
) |
|
virtual |
void GU_Fur::generate | ( | UT_OpCaller * | caller, |
GU_Detail * | gdp, | ||
const UT_IntArray & | skinprims, | ||
fpreal | display, | ||
bool | limit_to_bounds, | ||
const UT_BoundingBox & | bounds, | ||
bool | use_closest_clump, | ||
bool | remove_unclumped, | ||
bool | remove_unguided, | ||
GU_FurCurveType | type, | ||
GA_AttributeOwner | skinowner, | ||
GA_AttributeOwner | guideowner, | ||
bool | interruptable | ||
) |
void GU_Fur::getBoundingBox | ( | UT_BoundingBox & | box, |
int | pr, | ||
fpreal | preblur, | ||
fpreal | postblur | ||
) | const |
bool GU_Fur::initialize | ( | int | nvertices | ) |