Public Member Functions | Static Public Member Functions

MyBoneTraits Class Reference

Inheritance diagram for MyBoneTraits:
OpenTissue::skeleton::DefaultBoneTraits< math_types > OpenTissue::skeleton::DefaultBoneTraits< math_types >

List of all members.

Public Member Functions

size_t active_dofs () const

Static Public Member Functions

template<typename bone_type , typename chain_type , typename matrix_range >
static void compute_jacobian (bone_type &bone, chain_type &chain, matrix_range &J)

Detailed Description

This is a dummy bone traits class implementation created just for the unit-test compile.

This is a dummy bone traits class implementation created just for the unit-test compile.

The bone trait class was created to fill out the Jacobian matrix with the index of the bone. This way we can test which bones map into which sub-blocks in the resulting Jacobian matrix.

param size and dofs were chosen to create Jacobian sub-blocks of size 1-by-1.


Member Function Documentation

size_t MyBoneTraits::active_dofs (  )  const [inline]
template<typename bone_type , typename chain_type , typename matrix_range >
static void MyBoneTraits::compute_jacobian ( bone_type bone,
chain_type chain,
matrix_range &  J 
) [inline, static]

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