Пример #1
0
        public vtkGeoInteractorStyle GetGeoInteractorStyle()
        {
            vtkGeoInteractorStyle vtkGeoInteractorStyle = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkGeoView.vtkGeoView_GetGeoInteractorStyle_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGeoInteractorStyle = (vtkGeoInteractorStyle)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGeoInteractorStyle.Register(null);
                }
            }
            return(vtkGeoInteractorStyle);
        }
Пример #2
0
        public new static vtkGeoInteractorStyle SafeDownCast(vtkObjectBase o)
        {
            vtkGeoInteractorStyle vtkGeoInteractorStyle = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkGeoInteractorStyle.vtkGeoInteractorStyle_SafeDownCast_26((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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