Class representing source capture weight data for GU_LinearSkinDeformer.
More...
#include <GU_LinearSkinDeformer.h>
|
| | GU_LinearSkinDeformerSourceWeights () |
| |
| int64 | getMemoryUsage (bool inclusive) const |
| |
| void | reset () |
| | Reset all state. More...
|
| |
| const UT_StringHolder & | captAttribName () const |
| |
| const GU_Detail * | srcGdp () const |
| |
| void | setSrcGdp (const GU_Detail &src) |
| |
| bool | setRegionXformsFromGeo (const GU_Detail &rest_skel, const GA_Attribute &P, const GA_Attribute &name, const GA_Attribute &transform) |
| |
| exint | numPoints () const |
| | Number of points in the range given to init(). More...
|
| |
| int | numRegions () const |
| | Return the number of regions found by initSrc() More...
|
| |
| const UT_StringHolder & | regionName (int i) const |
| |
| const UT_Matrix4F & | regionXform (int i) const |
| |
| bool | haveRegionXforms () const |
| | Return if myRegionXforms has been initialized. More...
|
| |
| bool | usesRegion (int i) const |
| |
| CaptureElementRange | captureElementRange (exint ptidx) const |
| | Returns the range of capture elements for the given point index. More...
|
| |
|
| int | init (const GU_Detail &src, const GA_Range &pt_range, bool use_opencl=false, int max_pt_weights=0) |
| |
| int | init (const GU_Detail &src, const GA_Range &pt_range, const UT_StringRef &capt_attrib_name, bool use_opencl=false, int max_pt_weights=0) |
| |
|
|
| static bool | getCaptureParms (const GU_Detail &src, GA_ROAttributeRef &pcapt, GEO_AttributeCapturePath &attr_cap_path, UT_Array< UT_Matrix4F > &xforms, int &max_pt_regions, bool &have_region_xforms) |
| |
| static bool | getCaptureParms (const GU_Detail &src, const UT_StringRef &capt_attrib_name, GA_ROAttributeRef &pcapt, GEO_AttributeCapturePath &attr_cap_path, UT_Array< UT_Matrix4F > &xforms, int &max_pt_regions, bool &have_region_xforms) |
| |
Class representing source capture weight data for GU_LinearSkinDeformer.
Definition at line 175 of file GU_LinearSkinDeformer.h.
| GU_LinearSkinDeformerSourceWeights::GU_LinearSkinDeformerSourceWeights |
( |
| ) |
|
| const UT_StringHolder& GU_LinearSkinDeformerSourceWeights::captAttribName |
( |
| ) |
const |
|
inline |
Static utility method to get capture parameters
Static utility method to get capture parameters
| int64 GU_LinearSkinDeformerSourceWeights::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
| bool GU_LinearSkinDeformerSourceWeights::haveRegionXforms |
( |
| ) |
const |
|
inline |
| int GU_LinearSkinDeformerSourceWeights::init |
( |
const GU_Detail & |
src, |
|
|
const GA_Range & |
pt_range, |
|
|
bool |
use_opencl = false, |
|
|
int |
max_pt_weights = 0 |
|
) |
| |
Set up from the source geometry. Returns the number of transforms required 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.
| int GU_LinearSkinDeformerSourceWeights::init |
( |
const GU_Detail & |
src, |
|
|
const GA_Range & |
pt_range, |
|
|
const UT_StringRef & |
capt_attrib_name, |
|
|
bool |
use_opencl = false, |
|
|
int |
max_pt_weights = 0 |
|
) |
| |
Set up from the source geometry. Returns the number of transforms required 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_LinearSkinDeformerSourceWeights::numPoints |
( |
| ) |
const |
|
inline |
| int GU_LinearSkinDeformerSourceWeights::numRegions |
( |
| ) |
const |
|
inline |
| const UT_Matrix4F& GU_LinearSkinDeformerSourceWeights::regionXform |
( |
int |
i | ) |
const |
|
inline |
| void GU_LinearSkinDeformerSourceWeights::reset |
( |
| ) |
|
Set new region transforms from point skeleton geometry with P, name, and transform. It will invert transform to match what getCaptureParms() returns.
| void GU_LinearSkinDeformerSourceWeights::setSrcGdp |
( |
const GU_Detail & |
src | ) |
|
|
inline |
| const GU_Detail* GU_LinearSkinDeformerSourceWeights::srcGdp |
( |
| ) |
const |
|
inline |
| bool GU_LinearSkinDeformerSourceWeights::usesRegion |
( |
int |
i | ) |
const |
|
inline |
The documentation for this class was generated from the following file: