Public Member Functions

bone_appearance Class Reference

#include <bone_appearance.h>

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

List of all members.

Public Member Functions

 bone_appearance ()
void set_size (const double _width, const double _length)
double get_width () const
double get_length () const
double get_length2 () const

Detailed Description

Simple class for handling the visual apperance of a bone (i.e. it's width).


Constructor & Destructor Documentation

bone_appearance::bone_appearance (  ) 

Member Function Documentation

double bone_appearance::get_length (  )  const
Returns:
The length of the bone.
double bone_appearance::get_length2 (  )  const
Returns:
The square length of the bone.
double bone_appearance::get_width (  )  const
Returns:
The width of the bone.
void bone_appearance::set_size ( const double  _width,
const double  _length 
)

Set the size of the bone.

Parameters:
[in] _width The width of the bone.
[in] _length The length of the bone.

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