예제 #1
0
        public new vtkInteractorStyle NewInstance()
        {
            vtkInteractorStyle result = null;
            uint   mteStatus          = 0u;
            uint   mteIndex           = 4294967295u;
            uint   rawRefCount        = 0u;
            IntPtr intPtr             = vtkInteractorStyle.vtkInteractorStyle_NewInstance_34(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkInteractorStyle = (vtkInteractorStyle)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkInteractorStyle.Register(null);
                }
            }
            return(vtkInteractorStyle);
        }
예제 #3
0
        public virtual vtkInteractorStyle GetCurrentStyle()
        {
            vtkInteractorStyle vtkInteractorStyle = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInteractorStyleSwitch.vtkInteractorStyleSwitch_GetCurrentStyle_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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