public AcclaimHandler(ASFReader asfReader, AMCReader amcReader) { this.asfReader = asfReader; this.amcReader = amcReader; frameBuffer = new AMCFrameBuffer(BUFFERSIZE, amcReader); CreateSkeletonJointDict(); SetSkeletonHierarchy(); }
void Start() { skeleton = new CharacterSkeleton(humanoid); state = new int[BODYCOUNT * JOINTCOUNT]; for (int i = 0; i < state.Length; i++) { state[i] = CharacterSkeleton.TrackingState_Tracked; } asfReader = new ASFReader(ASFPath); amcReader = new AMCReader(AMCPath); AcclaimToKinectConverter cvt = new AcclaimToKinectConverter(); acclaimHandler = new AcclaimHandler(asfReader, amcReader, cvt); }
public AcclaimHandler(ASFReader asfReader, AMCReader amcReader, IMocapConverter cvt) : this(asfReader, amcReader) { mocapConverter = cvt; }