public override vtkCompositeDataIterator NewIterator()
        {
            vtkCompositeDataIterator vtkCompositeDataIterator = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkHierarchicalBoxDataSet.vtkHierarchicalBoxDataSet_NewIterator_26(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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