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

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

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