domSkin Class Reference

#include <domSkin.h>

Inheritance diagram for domSkin:
Inheritance graph
[legend]

List of all members.

Classes

class  domBind_shape_matrix
class  domJoints
class  domVertex_weights

Public Types

typedef daeTArray
< domBind_shape_matrixRef
domBind_shape_matrix_Array
typedef daeTArray
< domBind_shape_matrixRef
domBind_shape_matrix_Array
typedef daeSmartRef
< domBind_shape_matrix
domBind_shape_matrixRef
typedef daeSmartRef
< domBind_shape_matrix
domBind_shape_matrixRef
typedef daeTArray< domJointsRefdomJoints_Array
typedef daeTArray< domJointsRefdomJoints_Array
typedef daeSmartRef< domJointsdomJointsRef
typedef daeSmartRef< domJointsdomJointsRef
typedef daeTArray
< domVertex_weightsRef
domVertex_weights_Array
typedef daeTArray
< domVertex_weightsRef
domVertex_weights_Array
typedef daeSmartRef
< domVertex_weights
domVertex_weightsRef
typedef daeSmartRef
< domVertex_weights
domVertex_weightsRef

Public Member Functions

const domBind_shape_matrixRef getBind_shape_matrix () const
const domBind_shape_matrixRef getBind_shape_matrix () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
const domJointsRef getJoints () const
const domJointsRef getJoints () const
const xsAnyURIgetSource () const
xsAnyURIgetSource ()
const xsAnyURIgetSource () const
xsAnyURIgetSource ()
const domSource_ArraygetSource_array () const
domSource_ArraygetSource_array ()
const domSource_ArraygetSource_array () const
domSource_ArraygetSource_array ()
const domVertex_weightsRef getVertex_weights () const
const domVertex_weightsRef getVertex_weights () const
void setSource (xsString atSource)
void setSource (const xsAnyURI &atSource)
void setSource (xsString atSource)
void setSource (const xsAnyURI &atSource)
virtual daeInt typeID () const
virtual daeInt typeID () const

Static Public Member Functions

static DLLSPEC daeElementRef create (DAE &dae)
static DLLSPEC daeElementRef create (DAE &dae)
static daeInt ID ()
static daeInt ID ()
static DLLSPEC daeMetaElementregisterElement (DAE &dae)
static DLLSPEC daeMetaElementregisterElement (DAE &dae)

Protected Member Functions

 domSkin (DAE &dae)
 domSkin (DAE &dae)
virtual domSkinoperator= (const domSkin &cpy)
virtual domSkinoperator= (const domSkin &cpy)
virtual ~domSkin ()
virtual ~domSkin ()

Protected Attributes

xsAnyURI attrSource
domBind_shape_matrixRef elemBind_shape_matrix
domExtra_Array elemExtra_array
domJointsRef elemJoints
domSource_Array elemSource_array
domVertex_weightsRef elemVertex_weights

Detailed Description

The skin element contains vertex and primitive information sufficient to describe blend-weight skinning.

Definition at line 26 of file 1.4/dom/domSkin.h.


Member Typedef Documentation

Definition at line 28 of file dom/domSkin.h.

Definition at line 36 of file 1.4/dom/domSkin.h.

Definition at line 25 of file dom/domSkin.h.

Definition at line 33 of file 1.4/dom/domSkin.h.

Definition at line 92 of file dom/domSkin.h.

Definition at line 105 of file 1.4/dom/domSkin.h.

Definition at line 89 of file dom/domSkin.h.

Definition at line 102 of file 1.4/dom/domSkin.h.

Definition at line 169 of file dom/domSkin.h.

Definition at line 182 of file 1.4/dom/domSkin.h.

Definition at line 166 of file dom/domSkin.h.

Definition at line 179 of file 1.4/dom/domSkin.h.


Constructor & Destructor Documentation

domSkin::domSkin ( DAE dae  )  [inline, protected]

Constructor

Definition at line 529 of file 1.4/dom/domSkin.h.

virtual domSkin::~domSkin (  )  [inline, protected, virtual]

Destructor

Definition at line 533 of file 1.4/dom/domSkin.h.

domSkin::domSkin ( DAE dae  )  [inline, protected]

Constructor

Definition at line 506 of file dom/domSkin.h.

virtual domSkin::~domSkin (  )  [inline, protected, virtual]

Destructor

Definition at line 510 of file dom/domSkin.h.


Member Function Documentation

static DLLSPEC daeElementRef domSkin::create ( DAE dae  )  [static]

Creates an instance of this class and returns a daeElementRef referencing it.

Returns:
a daeElementRef referencing an instance of this object.
static DLLSPEC daeElementRef domSkin::create ( DAE dae  )  [static]

Creates an instance of this class and returns a daeElementRef referencing it.

Returns:
a daeElementRef referencing an instance of this object.
const domBind_shape_matrixRef domSkin::getBind_shape_matrix (  )  const [inline]

Gets the bind_shape_matrix element.

Returns:
a daeSmartRef to the bind_shape_matrix element.

Definition at line 471 of file dom/domSkin.h.

const domBind_shape_matrixRef domSkin::getBind_shape_matrix (  )  const [inline]

Gets the bind_shape_matrix element.

Returns:
a daeSmartRef to the bind_shape_matrix element.

Definition at line 494 of file 1.4/dom/domSkin.h.

virtual COLLADA_TYPE::TypeEnum domSkin::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 21 of file dom/domSkin.h.

virtual COLLADA_TYPE::TypeEnum domSkin::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 29 of file 1.4/dom/domSkin.h.

const domExtra_Array& domSkin::getExtra_array (  )  const [inline]

Gets the extra element array.

Returns:
Returns a constant reference to the array of extra elements.

Definition at line 501 of file dom/domSkin.h.

domExtra_Array& domSkin::getExtra_array (  )  [inline]

Gets the extra element array.

Returns:
Returns a reference to the array of extra elements.

Definition at line 496 of file dom/domSkin.h.

const domExtra_Array& domSkin::getExtra_array (  )  const [inline]

Gets the extra element array.

Returns:
Returns a constant reference to the array of extra elements.

Definition at line 524 of file 1.4/dom/domSkin.h.

domExtra_Array& domSkin::getExtra_array (  )  [inline]

Gets the extra element array.

Returns:
Returns a reference to the array of extra elements.

Definition at line 519 of file 1.4/dom/domSkin.h.

const domJointsRef domSkin::getJoints (  )  const [inline]

Gets the joints element.

Returns:
a daeSmartRef to the joints element.

Definition at line 486 of file dom/domSkin.h.

const domJointsRef domSkin::getJoints (  )  const [inline]

Gets the joints element.

Returns:
a daeSmartRef to the joints element.

Definition at line 509 of file 1.4/dom/domSkin.h.

const xsAnyURI& domSkin::getSource (  )  const [inline]

Gets the source attribute.

Returns:
Returns a constant xsAnyURI reference of the source attribute.

Definition at line 455 of file dom/domSkin.h.

xsAnyURI& domSkin::getSource (  )  [inline]

Gets the source attribute.

Returns:
Returns a xsAnyURI reference of the source attribute.

Definition at line 450 of file dom/domSkin.h.

const xsAnyURI& domSkin::getSource (  )  const [inline]

Gets the source attribute.

Returns:
Returns a constant xsAnyURI reference of the source attribute.

Definition at line 478 of file 1.4/dom/domSkin.h.

xsAnyURI& domSkin::getSource (  )  [inline]

Gets the source attribute.

Returns:
Returns a xsAnyURI reference of the source attribute.

Definition at line 473 of file 1.4/dom/domSkin.h.

const domSource_Array& domSkin::getSource_array (  )  const [inline]

Gets the source element array.

Returns:
Returns a constant reference to the array of source elements.

Definition at line 481 of file dom/domSkin.h.

domSource_Array& domSkin::getSource_array (  )  [inline]

Gets the source element array.

Returns:
Returns a reference to the array of source elements.

Definition at line 476 of file dom/domSkin.h.

const domSource_Array& domSkin::getSource_array (  )  const [inline]

Gets the source element array.

Returns:
Returns a constant reference to the array of source elements.

Definition at line 504 of file 1.4/dom/domSkin.h.

domSource_Array& domSkin::getSource_array (  )  [inline]

Gets the source element array.

Returns:
Returns a reference to the array of source elements.

Definition at line 499 of file 1.4/dom/domSkin.h.

const domVertex_weightsRef domSkin::getVertex_weights (  )  const [inline]

Gets the vertex_weights element.

Returns:
a daeSmartRef to the vertex_weights element.

Definition at line 491 of file dom/domSkin.h.

const domVertex_weightsRef domSkin::getVertex_weights (  )  const [inline]

Gets the vertex_weights element.

Returns:
a daeSmartRef to the vertex_weights element.

Definition at line 514 of file 1.4/dom/domSkin.h.

static daeInt domSkin::ID (  )  [inline, static]

Definition at line 22 of file dom/domSkin.h.

static daeInt domSkin::ID (  )  [inline, static]

Definition at line 30 of file 1.4/dom/domSkin.h.

virtual domSkin& domSkin::operator= ( const domSkin cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 514 of file dom/domSkin.h.

virtual domSkin& domSkin::operator= ( const domSkin cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 537 of file 1.4/dom/domSkin.h.

static DLLSPEC daeMetaElement* domSkin::registerElement ( DAE dae  )  [static]

Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.

Returns:
A daeMetaElement describing this COLLADA element.
static DLLSPEC daeMetaElement* domSkin::registerElement ( DAE dae  )  [static]

Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.

Returns:
A daeMetaElement describing this COLLADA element.
void domSkin::setSource ( xsString  atSource  )  [inline]

Sets the source attribute.

Parameters:
atSource The new value for the source attribute.

Definition at line 465 of file dom/domSkin.h.

void domSkin::setSource ( const xsAnyURI atSource  )  [inline]

Sets the source attribute.

Parameters:
atSource The new value for the source attribute.

Definition at line 460 of file dom/domSkin.h.

void domSkin::setSource ( xsString  atSource  )  [inline]

Sets the source attribute.

Parameters:
atSource The new value for the source attribute.

Definition at line 488 of file 1.4/dom/domSkin.h.

void domSkin::setSource ( const xsAnyURI atSource  )  [inline]

Sets the source attribute.

Parameters:
atSource The new value for the source attribute.

Definition at line 483 of file 1.4/dom/domSkin.h.

virtual daeInt domSkin::typeID (  )  const [inline, virtual]

Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.

Returns:
The element's type ID.

Implements daeElement.

Definition at line 23 of file dom/domSkin.h.

virtual daeInt domSkin::typeID (  )  const [inline, virtual]

Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.

Returns:
The element's type ID.

Implements daeElement.

Definition at line 31 of file 1.4/dom/domSkin.h.


Member Data Documentation

The source attribute contains a URI reference to the base mesh, (a static mesh or a morphed mesh). This also provides the bind-shape of the skinned mesh. Required attribute.

Definition at line 438 of file 1.4/dom/domSkin.h.

This provides extra information about the position and orientation of the base mesh before binding. If bind_shape_matrix is not specified then an identity matrix may be used as the bind_shape_matrix. The bind_shape_matrix element may occur zero or one times.

See also:
domBind_shape_matrix

Definition at line 447 of file 1.4/dom/domSkin.h.

The extra element may appear any number of times.

See also:
domExtra

Definition at line 466 of file 1.4/dom/domSkin.h.

The joints element associates joint, or skeleton, nodes with attribute data. In COLLADA, this is specified by the inverse bind matrix of each joint (influence) in the skeleton.

See also:
domJoints

Definition at line 457 of file 1.4/dom/domSkin.h.

The skin element must contain at least three source elements.

See also:
domSource

Definition at line 451 of file 1.4/dom/domSkin.h.

The vertex_weights element associates a set of joint-weight pairs with each vertex in the base mesh.

See also:
domVertex_weights

Definition at line 462 of file 1.4/dom/domSkin.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:31:54 2013