コード例 #1
0
        public new vtkTDxInteractorStyleCamera NewInstance()
        {
            vtkTDxInteractorStyleCamera result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTDxInteractorStyleCamera.vtkTDxInteractorStyleCamera_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkTDxInteractorStyleCamera)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public new static vtkTDxInteractorStyleCamera SafeDownCast(vtkObjectBase o)
        {
            vtkTDxInteractorStyleCamera vtkTDxInteractorStyleCamera = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTDxInteractorStyleCamera.vtkTDxInteractorStyleCamera_SafeDownCast_05((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTDxInteractorStyleCamera = (vtkTDxInteractorStyleCamera)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTDxInteractorStyleCamera.Register(null);
                }
            }
            return(vtkTDxInteractorStyleCamera);
        }