public BxRoot() { fObjGlRoot = null; fParam = null; fObjReadRoot = null; fIsInitialized = false; }
public void Init(Func <GLControl> glControl) { fGLControl = glControl; fObjGlRoot = new BxGlRoot(GLControl); fParam = new BxCmUiParam(); fObjReadRoot = new BxReadRoot(); fObjGlRoot.Init(fParam); fIsInitialized = true; }
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; }