Ejemplo n.º 1
0
        public new static vtkDataArraySelection SafeDownCast(vtkObjectBase o)
        {
            vtkDataArraySelection vtkDataArraySelection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDataArraySelection.vtkDataArraySelection_SafeDownCast_23((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDataArraySelection = (vtkDataArraySelection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDataArraySelection.Register(null);
                }
            }
            return(vtkDataArraySelection);
        }
Ejemplo n.º 2
0
        public virtual vtkDataArraySelection GetCellDataArraySelection()
        {
            vtkDataArraySelection vtkDataArraySelection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkXMLReader.vtkXMLReader_GetCellDataArraySelection_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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