示例#1
0
        public virtual vtkPropCollection GetPickResultProps()
        {
            vtkPropCollection vtkPropCollection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkViewport.vtkViewport_GetPickResultProps_24(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPropCollection = (vtkPropCollection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPropCollection.Register(null);
                }
            }
            return(vtkPropCollection);
        }
        public vtkPropCollection GetParts()
        {
            vtkPropCollection vtkPropCollection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPropAssembly.vtkPropAssembly_GetParts_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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