In file include/csengine/skeleton.h:

## class csSkeletonLimb

> A limb in a skeletal system

## Inheritance:

### Public Methods

  void | AddChild (csSkeletonLimb* child) Add a child limb.
  void | AddVertex (int v) Add a vertex index.
  void | ComputeBoundingBox (csFrame* source) Compute the object space bounding box for this limb
  virtual csSkeletonLimbState* | CreateState () Create a csSkeletonState from this csSkeleton.
  | csSkeletonLimb () Create an empty limb.
  void | GetBoundingBox (csVector3& b_min, csVector3& b_max) Get the bounding box.
  csSkeletonLimb* | GetNext () Linked list.
  int | GetNumVertices () Get the number of vertices.
  int* | GetVertices () Get the vertex index array.
  void | RemapVertices (int* mapping) For LOD. Remap vertices.
  void | SetNext (csSkeletonLimb* n) Linked list.
  virtual | ~csSkeletonLimb () Destructor.

### Protected Methods

  void | UpdateState (csSkeletonLimbState* limb) Update state information.

### Private Fields

  csVector3 | box_min Bounding box in object space for this limb.
  csSkeletonLimb* | children Children of this limb.
  csSkeletonLimb* | next Next in the list.
  int | num_vertices The number of vertices to control.
  int* | vertices The vertices from the parent sprite that it controls.

## Documentation

> A limb in a skeletal system. The Crystal Space skeletal system works by controlling the vertices in a frame. So we combine frame based sprites and skeletal sprites.

`csSkeletonLimb* next`
  Next in the list.

`int* vertices`
  The vertices from the parent sprite that it controls.

`int num_vertices`
  The number of vertices to control.

`csSkeletonLimb* children`
  Children of this limb.

`csVector3 box_min`
  Bounding box in object space for this limb.

`void UpdateState(csSkeletonLimbState* limb)`
  Update state information.

`csSkeletonLimb()`
  Create an empty limb.

`virtual ~csSkeletonLimb()`
  Destructor.

`void AddVertex(int v)`
  Add a vertex index.

`int* GetVertices()`
  Get the vertex index array.

`int GetNumVertices()`
  Get the number of vertices.

`void GetBoundingBox(csVector3& b_min, csVector3& b_max)`
  Get the bounding box.

`void AddChild(csSkeletonLimb* child)`
  Add a child limb.

`void SetNext(csSkeletonLimb* n)`
  Linked list.

`csSkeletonLimb* GetNext()`
  Linked list.

`virtual csSkeletonLimbState* CreateState()`
  Create a csSkeletonState from this csSkeleton.

`void RemapVertices(int* mapping)`
  For LOD. Remap vertices.

`void ComputeBoundingBox(csFrame* source)`
  Compute the object space bounding box for this limb

Direct child classes:
  csSkeletonConnection
  csSkeleton

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de