Exemplo n.º 1
0
 public AcclaimHandler(ASFReader asfReader, AMCReader amcReader)
 {
     this.asfReader = asfReader;
     this.amcReader = amcReader;
     frameBuffer    = new AMCFrameBuffer(BUFFERSIZE, amcReader);
     CreateSkeletonJointDict();
     SetSkeletonHierarchy();
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public AcclaimHandler(ASFReader asfReader, AMCReader amcReader, IMocapConverter cvt) :
     this(asfReader, amcReader)
 {
     mocapConverter = cvt;
 }