public new static vtkIncrementalOctreeNode SafeDownCast(vtkObjectBase o)
        {
            vtkIncrementalOctreeNode vtkIncrementalOctreeNode = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkIncrementalOctreeNode.vtkIncrementalOctreeNode_SafeDownCast_28((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkIncrementalOctreeNode = (vtkIncrementalOctreeNode)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkIncrementalOctreeNode.Register(null);
                }
            }
            return(vtkIncrementalOctreeNode);
        }
        public vtkIncrementalOctreeNode GetChild(int i)
        {
            vtkIncrementalOctreeNode vtkIncrementalOctreeNode = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkIncrementalOctreeNode.vtkIncrementalOctreeNode_GetChild_07(base.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

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