j3d.org Code

org.j3d.geom.hanim
Interface HAnimObjectParent

All Known Implementing Classes:
HAnimHumanoid, HAnimJoint

public interface HAnimObjectParent

Marker of a class that can act as a parent to a HAnimObject.

Used to abstract the parent information away from nodes, as for example, a joint could have either a joint or a humanoid as the parent.

Version:
$Revision: 1.3 $
Author:
Justin Couch

Method Summary
 void childUpdateRequired(HAnimObject child)
          Notification that the child has changed and will need to recalculate it's vertex positions.
 int requestNextObjectIndex()
          Get the object's index into the greater list of things.
 

Method Detail

childUpdateRequired

void childUpdateRequired(HAnimObject child)
Notification that the child has changed and will need to recalculate it's vertex positions. A change could be in the transformation matrix, coordinate weights or referenced coordinates (or elsewhere).

Parameters:
child - Reference to the child that has changed

requestNextObjectIndex

int requestNextObjectIndex()
Get the object's index into the greater list of things. For example, a joint needs to be able to update it's matrix in a large array of matrices and it needs to update the same matrix every time.

Returns:
The index of the object into global lists

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org