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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkGeoCamera)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Example #2
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);
        }
Example #3
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);
        }