Esempio n. 1
0
        public new vtkCellPicker NewInstance()
        {
            vtkCellPicker result      = null;
            uint          mteStatus   = 0u;
            uint          mteIndex    = 4294967295u;
            uint          rawRefCount = 0u;
            IntPtr        intPtr      = vtkCellPicker.vtkCellPicker_NewInstance_28(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkCellPicker = (vtkCellPicker)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkCellPicker.Register(null);
                }
            }
            return(vtkCellPicker);
        }
Esempio n. 3
0
        public virtual vtkCellPicker GetCellPicker()
        {
            vtkCellPicker vtkCellPicker = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkPolygonalSurfacePointPlacer.vtkPolygonalSurfacePointPlacer_GetCellPicker_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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