コード例 #1
0
        public vtkGeoCamera GetGeoCamera()
        {
            vtkGeoCamera vtkGeoCamera = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkGeoInteractorStyle.vtkGeoInteractorStyle_GetGeoCamera_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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