public vtkInformationVector Get(vtkInformation info)
        {
            vtkInformationVector vtkInformationVector = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkInformationInformationVectorKey.vtkInformationInformationVectorKey_Get_02(base.GetCppThis(), (info == null) ? default(HandleRef) : info.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkInformationVector = (vtkInformationVector)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkInformationVector.Register(null);
                }
            }
            return(vtkInformationVector);
        }
Esempio n. 2
0
        public vtkInformationVector GetOutputInformation()
        {
            vtkInformationVector vtkInformationVector = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkExecutive.vtkExecutive_GetOutputInformation_17(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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