예제 #1
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        public MainWindowViewModel()
        {
            _kinectManager = new KinectManager();
            _cameraOptions = new CameraOptions();
            _jointsOption = new JointsOption();
            _blenderOptions = new BlenderOptions();
            _originPositionAutoSetter = new OriginPositionAutoSetter(_jointsOption);
            _kinectDataManager = new KinectDataManager(_cameraOptions, _blenderOptions, _jointsOption);
            _parameterFileManager = new ParameterFileManager(this);

            _statusBarMessage = "";
        }
예제 #2
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="cameraOptions">カメラ設定</param>
        /// <param name="blenderOptions">Blender 側へ反映する際のオプション</param>
        /// <param name="jointsOption">Joint 単位の設定</param>
        public KinectDataManager(CameraOptions cameraOptions, BlenderOptions blenderOptions, JointsOption jointsOption)
        {
            _addedEventListener = false;

            _colorSource        = null;
            _depthSource        = null;
            _jointDrawPositions = null;

            _cameraOptions      = cameraOptions;
            _blenderOptions     = blenderOptions;
            _jointsOption       = jointsOption;
            _skeletonDataSender = new SkeletonDataSender(IPAddress.Loopback, 38040);
        }
예제 #3
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="cameraOptions">カメラ設定</param>
        /// <param name="blenderOptions">Blender 側へ反映する際のオプション</param>
        /// <param name="jointsOption">Joint 単位の設定</param>
        public KinectDataManager(CameraOptions cameraOptions, BlenderOptions blenderOptions, JointsOption jointsOption)
        {
            _addedEventListener = false;

            _colorSource = null;
            _depthSource = null;
            _jointDrawPositions = null;

            _cameraOptions = cameraOptions;
            _blenderOptions = blenderOptions;
            _jointsOption = jointsOption;
            _skeletonDataSender = new SkeletonDataSender(IPAddress.Loopback, 38040);
        }