예제 #1
0
 public BxRoot()
 {
     fObjGlRoot     = null;
     fParam         = null;
     fObjReadRoot   = null;
     fIsInitialized = false;
 }
예제 #2
0
        public void  Init(Func <GLControl> glControl)
        {
            fGLControl = glControl;

            fObjGlRoot   = new BxGlRoot(GLControl);
            fParam       = new BxCmUiParam();
            fObjReadRoot = new BxReadRoot();

            fObjGlRoot.Init(fParam);
            fIsInitialized = true;
        }
예제 #3
0
        public void Exec(BxCmUiParam param, out string fileName, out BxCmSeparatePatch_Object patch)
        {
            patch = null;

            fDlog.GetFname(out fileName);
            if (fileName == null)
            {
                return;
            }

            BxVec3F min, max;

            fModel.Exec(fileName, out min, out max, out patch);

            param.Min = min;
            param.Max = max;
        }