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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkIdList = (vtkIdList)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkIdList.Register(null);
                }
            }
            return(vtkIdList);
        }
        public override vtkCell GetNextCell(ref long cellId, vtkIdList ptIds, vtkDataArray cellScalars)
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkSimpleScalarTree.vtkSimpleScalarTree_GetNextCell_09(base.GetCppThis(), ref cellId, (ptIds == null) ? default(HandleRef) : ptIds.GetCppThis(), (cellScalars == null) ? default(HandleRef) : cellScalars.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkCell = (vtkCell)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkCell.Register(null);
                }
            }
            return(vtkCell);
        }
Example #4
0
        public vtkIdList GetCellList(int regionID)
        {
            vtkIdList vtkIdList   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkKdTree.vtkKdTree_GetCellList_30(base.GetCppThis(), regionID, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkIdList = (vtkIdList)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkIdList.Register(null);
                }
            }
            return(vtkIdList);
        }
Example #5
0
        public virtual vtkIdList GetPointsInBucket(IntPtr x, IntPtr ijk)
        {
            vtkIdList vtkIdList   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkPointLocator.vtkPointLocator_GetPointsInBucket_18(base.GetCppThis(), x, ijk, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkIdList = (vtkIdList)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkIdList.Register(null);
                }
            }
            return(vtkIdList);
        }
Example #6
0
        public vtkIdList GetCoincidentPointIds(IntPtr point)
        {
            vtkIdList vtkIdList   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkCoincidentPoints.vtkCoincidentPoints_GetCoincidentPointIds_03(base.GetCppThis(), point, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkIdList = (vtkIdList)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkIdList.Register(null);
                }
            }
            return(vtkIdList);
        }
        public virtual vtkIdList GetIdList()
        {
            vtkIdList vtkIdList   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkDijkstraGraphGeodesicPath.vtkDijkstraGraphGeodesicPath_GetIdList_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkIdList = (vtkIdList)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkIdList.Register(null);
                }
            }
            return(vtkIdList);
        }
Example #9
0
        public vtkIdList GetNextItem()
        {
            vtkIdList vtkIdList   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkIdListCollection.vtkIdListCollection_GetNextItem_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkIdList = (vtkIdList)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkIdList.Register(null);
                }
            }
            return(vtkIdList);
        }
Example #10
0
 public void AddItem(vtkIdList ds)
 {
     vtkIdListCollection.vtkIdListCollection_AddItem_01(base.GetCppThis(), (ds == null) ? default(HandleRef) : ds.GetCppThis());
 }
 public void ExportAllPointIdsByInsertion(vtkIdList idList)
 {
     vtkIncrementalOctreeNode.vtkIncrementalOctreeNode_ExportAllPointIdsByInsertion_05(base.GetCppThis(), (idList == null) ? default(HandleRef) : idList.GetCppThis());
 }
 public void ExportAllPointIdsByDirectSet(IntPtr pntIdx, vtkIdList idList)
 {
     vtkIncrementalOctreeNode.vtkIncrementalOctreeNode_ExportAllPointIdsByDirectSet_04(base.GetCppThis(), pntIdx, (idList == null) ? default(HandleRef) : idList.GetCppThis());
 }
Example #13
0
 public override int Triangulate(int index, vtkIdList ptIds, vtkPoints pts)
 {
     return(vtkVertex.vtkVertex_Triangulate_25(base.GetCppThis(), index, (ptIds == null) ? default(HandleRef) : ptIds.GetCppThis(), (pts == null) ? default(HandleRef) : pts.GetCppThis()));
 }
 public static void Sort(vtkAbstractArray keys, vtkIdList values)
 {
     vtkSortDataArray.vtkSortDataArray_Sort_10((keys == null) ? default(HandleRef) : keys.GetCppThis(), (values == null) ? default(HandleRef) : values.GetCppThis());
 }
Example #15
0
 public void GetField(vtkIdList ptId, vtkFieldData f)
 {
     vtkFieldData.vtkFieldData_GetField_19(base.GetCppThis(), (ptId == null) ? default(HandleRef) : ptId.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
Example #16
0
 public virtual void GetCellPoints(long cellId, vtkIdList ptIds)
 {
     vtkDataSet.vtkDataSet_GetCellPoints_21(base.GetCppThis(), cellId, (ptIds == null) ? default(HandleRef) : ptIds.GetCppThis());
 }
Example #17
0
 public override void FindPointsWithinRadius(double R, IntPtr x, vtkIdList result)
 {
     vtkPointLocator.vtkPointLocator_FindPointsWithinRadius_09(base.GetCppThis(), R, x, (result == null) ? default(HandleRef) : result.GetCppThis());
 }
Example #18
0
 public virtual void FindDistributedPoints(int N, double x, double y, double z, vtkIdList result, int M)
 {
     vtkPointLocator.vtkPointLocator_FindDistributedPoints_08(base.GetCppThis(), N, x, y, z, (result == null) ? default(HandleRef) : result.GetCppThis(), M);
 }
Example #19
0
 public virtual void FindDistributedPoints(int N, IntPtr x, vtkIdList result, int M)
 {
     vtkPointLocator.vtkPointLocator_FindDistributedPoints_07(base.GetCppThis(), N, x, (result == null) ? default(HandleRef) : result.GetCppThis(), M);
 }
Example #20
0
 public void AddCellList(vtkIdList l)
 {
     vtkExtractCells.vtkExtractCells_AddCellList_01(base.GetCppThis(), (l == null) ? default(HandleRef) : l.GetCppThis());
 }
Example #21
0
 public virtual void GetCellNeighbors(long cellId, vtkIdList ptIds, vtkIdList cellIds)
 {
     vtkDataSet.vtkDataSet_GetCellNeighbors_20(base.GetCppThis(), cellId, (ptIds == null) ? default(HandleRef) : ptIds.GetCppThis(), (cellIds == null) ? default(HandleRef) : cellIds.GetCppThis());
 }
Example #22
0
 public override void FindClosestNPoints(int N, IntPtr x, vtkIdList result)
 {
     vtkPointLocator.vtkPointLocator_FindClosestNPoints_03(base.GetCppThis(), N, x, (result == null) ? default(HandleRef) : result.GetCppThis());
 }
Example #23
0
 public virtual void GetPointCells(long ptId, vtkIdList cellIds)
 {
     vtkDataSet.vtkDataSet_GetPointCells_37(base.GetCppThis(), ptId, (cellIds == null) ? default(HandleRef) : cellIds.GetCppThis());
 }
Example #24
0
 public override void GetTuples(vtkIdList ptIds, vtkAbstractArray output)
 {
     vtkStringArray.vtkStringArray_GetTuples_13(base.GetCppThis(), (ptIds == null) ? default(HandleRef) : ptIds.GetCppThis(), (output == null) ? default(HandleRef) : output.GetCppThis());
 }
 public static void Sort(vtkIdList keys)
 {
     vtkSortDataArray.vtkSortDataArray_Sort_06((keys == null) ? default(HandleRef) : keys.GetCppThis());
 }
Example #26
0
 public void LookupValue(string value, vtkIdList ids)
 {
     vtkStringArray.vtkStringArray_LookupValue_27(base.GetCppThis(), value, (ids == null) ? default(HandleRef) : ids.GetCppThis());
 }
 public override int Triangulate(int index, vtkIdList ptIds, vtkPoints pts)
 {
     return(vtkBiQuadraticTriangle.vtkBiQuadraticTriangle_Triangulate_26(base.GetCppThis(), index, (ptIds == null) ? default(HandleRef) : ptIds.GetCppThis(), (pts == null) ? default(HandleRef) : pts.GetCppThis()));
 }
Example #28
0
 public override int CellBoundary(int subId, IntPtr pcoords, vtkIdList pts)
 {
     return(vtkBiQuadraticQuadraticHexahedron.vtkBiQuadraticQuadraticHexahedron_CellBoundary_01(base.GetCppThis(), subId, pcoords, (pts == null) ? default(HandleRef) : pts.GetCppThis()));
 }
Example #29
0
 public override int CellBoundary(int subId, IntPtr pcoords, vtkIdList pts)
 {
     return(vtkVertex.vtkVertex_CellBoundary_01(base.GetCppThis(), subId, pcoords, (pts == null) ? default(HandleRef) : pts.GetCppThis()));
 }
 public override void InterpolateTuple(long i, vtkIdList ptIndices, vtkAbstractArray source, IntPtr weights)
 {
     vtkUnicodeStringArray.vtkUnicodeStringArray_InterpolateTuple_15(base.GetCppThis(), i, (ptIndices == null) ? default(HandleRef) : ptIndices.GetCppThis(), (source == null) ? default(HandleRef) : source.GetCppThis(), weights);
 }