Beispiel #1
0
        public new static vtkPKMeansStatistics New()
        {
            vtkPKMeansStatistics result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkPKMeansStatistics.vtkPKMeansStatistics_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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