Example #1
0
        public new static vtkInteractorStyleImage New()
        {
            vtkInteractorStyleImage result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInteractorStyleImage.vtkInteractorStyleImage_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkInteractorStyleImage)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public virtual vtkInteractorStyleImage GetInteractorStyle()
        {
            vtkInteractorStyleImage vtkInteractorStyleImage = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageViewer2.vtkImageViewer2_GetInteractorStyle_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkInteractorStyleImage = (vtkInteractorStyleImage)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkInteractorStyleImage.Register(null);
                }
            }
            return(vtkInteractorStyleImage);
        }
Example #3
0
        public new static vtkInteractorStyleImage SafeDownCast(vtkObjectBase o)
        {
            vtkInteractorStyleImage vtkInteractorStyleImage = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInteractorStyleImage.vtkInteractorStyleImage_SafeDownCast_20((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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