Weight class.
More...
#include <Weight.h>
List of all members.
Public Member Functions |
PLMESH_API | Weight () |
| Constructor.
|
PLMESH_API | ~Weight () |
| Destructor.
|
PLMESH_API int | GetJoint () const |
| Get the weight joint number.
|
PLMESH_API void | SetJoint (int nJoint=-1) |
| Sets the weight joint number.
|
PLMESH_API float | GetBias () const |
| Get the weight bias.
|
PLMESH_API void | SetBias (float fBias=0.0f) |
| Sets the weight bias.
|
PLMESH_API Weight & | operator= (const Weight &cSource) |
| Copy operator.
|
PLMESH_API bool | operator== (const Weight &cWeight) const |
| Compares two weights.
|
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Get the weight joint number.
- Returns:
- Weight joint number, < 0 on error
Sets the weight joint number.
- Parameters:
-
Get the weight bias.
- Returns:
- Weight bias
Sets the weight bias.
- Parameters:
-
- See also:
-
PLMESH_API Weight& PLMesh::Weight::operator= |
( |
const Weight & |
cSource | ) |
|
Copy operator.
- Parameters:
-
[in] | cSource | Source to copy from |
- Returns:
- This weight
PLMESH_API bool PLMesh::Weight::operator== |
( |
const Weight & |
cWeight | ) |
const |
Compares two weights.
- Parameters:
-
[in] | cWeight | Weight to compare with |
- Returns:
- 'true' if both weights are equal, else 'false'
The documentation for this class was generated from the following file: