예제 #1
0
        public new static vtkDataSet GetData(vtkInformation info)
        {
            vtkDataSet vtkDataSet  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkDataSet.vtkDataSet_GetData_26((info == null) ? default(HandleRef) : info.GetCppThis(), 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);
        }