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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkDataArraySelection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Beispiel #2
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);
        }
Beispiel #3
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);
        }
Beispiel #4
0
 public void CopySelections(vtkDataArraySelection selections)
 {
     vtkDataArraySelection.vtkDataArraySelection_CopySelections_04(base.GetCppThis(), (selections == null) ? default(HandleRef) : selections.GetCppThis());
 }