Пример #1
0
        public new static vtkDataSet GetData(vtkInformationVector v, int i)
        {
            vtkDataSet vtkDataSet  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkDataSet.vtkDataSet_GetData_27((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

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