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