public BxTabTransformModel(BxRoot objRoot)
        {
            SliderRotH_Value  = new ReactivePropertySlim <double>(0.5).AddTo(fDisposables);
            SliderRotV_Value  = new ReactivePropertySlim <double>(0.5).AddTo(fDisposables);
            SliderRotR_Value  = new ReactivePropertySlim <double>(0.5).AddTo(fDisposables);
            SliderMovH_Value  = new ReactivePropertySlim <double>(0.5).AddTo(fDisposables);
            SliderMovV_Value  = new ReactivePropertySlim <double>(0.5).AddTo(fDisposables);
            SliderScale_Value = new ReactivePropertySlim <double>(0.5).AddTo(fDisposables);

            Transform_Enable = new ReactivePropertySlim <bool>(false).AddTo(fDisposables);

            fObjRoot = objRoot;
        }
Example #2
0
        public BxTabGeneralModel(BxRoot objRoot, BxTabTransformModel tabTransform)
        {
            TextOpenFileName_Value    = new ReactivePropertySlim <string>("").AddTo(fDisposables);
            SliderTess_Value          = new ReactivePropertySlim <double>(KSliderTess_Default).AddTo(fDisposables);
            TextTess_Value            = new ReactivePropertySlim <string>(KSliderTess_Default.ToString()).AddTo(fDisposables);
            TextBenchmark_Value       = new ReactivePropertySlim <string>("").AddTo(fDisposables);
            RadioFaceType_IsChecked   = new ReactivePropertySlim <bool>(true).AddTo(fDisposables);
            RadioWireType_IsChecked   = new ReactivePropertySlim <bool>(false).AddTo(fDisposables);
            RadioTessShader_IsChecked = new ReactivePropertySlim <bool>(true).AddTo(fDisposables);
            RadioInsGeom_IsChecked    = new ReactivePropertySlim <bool>(false).AddTo(fDisposables);

            SliderTess_Enable       = new ReactivePropertySlim <bool>(false).AddTo(fDisposables);
            ButtonBenchmark_Enable  = new ReactivePropertySlim <bool>(false).AddTo(fDisposables);
            RadioFaceWire_Enable    = new ReactivePropertySlim <bool>(false).AddTo(fDisposables);
            RadioTesselation_Enable = new ReactivePropertySlim <bool>(false).AddTo(fDisposables);

            fObjRoot      = objRoot;
            fTabTransform = tabTransform;
        }
Example #3
0
 public BxScreenModel(BxRoot objRoot)
 {
     fObjRoot = objRoot;
 }