Beispiel #1
0
        public new vtkGenericCell NewInstance()
        {
            vtkGenericCell result      = null;
            uint           mteStatus   = 0u;
            uint           mteIndex    = 4294967295u;
            uint           rawRefCount = 0u;
            IntPtr         intPtr      = vtkGenericCell.vtkGenericCell_NewInstance_27(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGenericCell = (vtkGenericCell)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGenericCell.Register(null);
                }
            }
            return(vtkGenericCell);
        }
 public override long FindCell(IntPtr x, double tol2, vtkGenericCell GenCell, IntPtr pcoords, IntPtr weights)
 {
     return(vtkModifiedBSPTree.vtkModifiedBSPTree_FindCell_03(base.GetCppThis(), x, tol2, (GenCell == null) ? default(HandleRef) : GenCell.GetCppThis(), pcoords, weights));
 }
 public override int IntersectWithLine(IntPtr p1, IntPtr p2, double tol, ref double t, IntPtr x, IntPtr pcoords, ref int subId, ref long cellId, vtkGenericCell cell)
 {
     return(vtkModifiedBSPTree.vtkModifiedBSPTree_IntersectWithLine_11(base.GetCppThis(), p1, p2, tol, ref t, x, pcoords, ref subId, ref cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis()));
 }
 public virtual int IntersectWithLine(IntPtr p1, IntPtr p2, double tol, ref double t, IntPtr x, IntPtr pcoords, ref int subId, ref long cellId, vtkGenericCell cell)
 {
     return(vtkAbstractCellLocator.vtkAbstractCellLocator_IntersectWithLine_22(base.GetCppThis(), p1, p2, tol, ref t, x, pcoords, ref subId, ref cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis()));
 }
Beispiel #6
0
 public void ClipHexahedron0D(vtkGenericCell cell, vtkIncrementalPointLocator locator, vtkCellArray verts, vtkPointData inPD, vtkPointData outPD, vtkCellData inCD, long cellId, vtkCellData outCD)
 {
     vtkBoxClipDataSet.vtkBoxClipDataSet_ClipHexahedron0D_07(base.GetCppThis(), (cell == null) ? default(HandleRef) : cell.GetCppThis(), (locator == null) ? default(HandleRef) : locator.GetCppThis(), (verts == null) ? default(HandleRef) : verts.GetCppThis(), (inPD == null) ? default(HandleRef) : inPD.GetCppThis(), (outPD == null) ? default(HandleRef) : outPD.GetCppThis(), (inCD == null) ? default(HandleRef) : inCD.GetCppThis(), cellId, (outCD == null) ? default(HandleRef) : outCD.GetCppThis());
 }
Beispiel #7
0
 public virtual long FindCell(IntPtr x, vtkCell cell, vtkGenericCell gencell, long cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 {
     return(vtkDataSet.vtkDataSet_FindCell_08(base.GetCppThis(), x, (cell == null) ? default(HandleRef) : cell.GetCppThis(), (gencell == null) ? default(HandleRef) : gencell.GetCppThis(), cellId, tol2, ref subId, pcoords, weights));
 }
Beispiel #8
0
 public override void FindClosestPoint(IntPtr x, IntPtr closestPoint, vtkGenericCell cell, ref long cellId, ref int subId, ref double dist2)
 {
     vtkCellLocator.vtkCellLocator_FindClosestPoint_09(base.GetCppThis(), x, closestPoint, (cell == null) ? default(HandleRef) : cell.GetCppThis(), ref cellId, ref subId, ref dist2);
 }
Beispiel #9
0
 public override long FindClosestPointWithinRadius(IntPtr x, double radius, IntPtr closestPoint, vtkGenericCell cell, ref long cellId, ref int subId, ref double dist2, ref int inside)
 {
     return(vtkCellLocator.vtkCellLocator_FindClosestPointWithinRadius_12(base.GetCppThis(), x, radius, closestPoint, (cell == null) ? default(HandleRef) : cell.GetCppThis(), ref cellId, ref subId, ref dist2, ref inside));
 }
 public override long FindCell(IntPtr arg0, vtkCell arg1, vtkGenericCell arg2, long arg3, double arg4, ref int arg5, IntPtr arg6, IntPtr arg7)
 {
     return(vtkLabelHierarchy.vtkLabelHierarchy_FindCell_03(base.GetCppThis(), arg0, (arg1 == null) ? default(HandleRef) : arg1.GetCppThis(), (arg2 == null) ? default(HandleRef) : arg2.GetCppThis(), arg3, arg4, ref arg5, arg6, arg7));
 }
Beispiel #11
0
 public override void GetCell(long cellId, vtkGenericCell cell)
 {
     vtkHyperOctree.vtkHyperOctree_GetCell_10(base.GetCppThis(), cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis());
 }
 public override void GetCell(long arg0, vtkGenericCell arg1)
 {
     vtkLabelHierarchy.vtkLabelHierarchy_GetCell_06(base.GetCppThis(), arg0, (arg1 == null) ? default(HandleRef) : arg1.GetCppThis());
 }
Beispiel #13
0
 public bool GetVorticityData(int T, IntPtr pcoords, IntPtr weights, vtkGenericCell cell, vtkDoubleArray cellVectors)
 {
     return(vtkTemporalInterpolatedVelocityField.vtkTemporalInterpolatedVelocityField_GetVorticityData_10(base.GetCppThis(), T, pcoords, weights, (cell == null) ? default(HandleRef) : cell.GetCppThis(), (cellVectors == null) ? default(HandleRef) : cellVectors.GetCppThis()) != 0);
 }
 public virtual long FindCell(IntPtr x, double tol2, vtkGenericCell GenCell, IntPtr pcoords, IntPtr weights)
 {
     return(vtkAbstractCellLocator.vtkAbstractCellLocator_FindCell_04(base.GetCppThis(), x, tol2, (GenCell == null) ? default(HandleRef) : GenCell.GetCppThis(), pcoords, weights));
 }
Beispiel #15
0
 public override long FindCell(IntPtr x, vtkCell cell, vtkGenericCell gencell, long cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 {
     return(vtkUniformGrid.vtkUniformGrid_FindCell_07(base.GetCppThis(), x, (cell == null) ? default(HandleRef) : cell.GetCppThis(), (gencell == null) ? default(HandleRef) : gencell.GetCppThis(), cellId, tol2, ref subId, pcoords, weights));
 }
Beispiel #16
0
 public override int IntersectWithLine(IntPtr a0, IntPtr a1, double tol, ref double t, IntPtr x, IntPtr pcoords, ref int subId, ref long cellId, vtkGenericCell cell)
 {
     return(vtkCellLocator.vtkCellLocator_IntersectWithLine_22(base.GetCppThis(), a0, a1, tol, ref t, x, pcoords, ref subId, ref cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis()));
 }
Beispiel #17
0
 public override void GetCell(long cellId, vtkGenericCell cell)
 {
     vtkUnstructuredGrid.vtkUnstructuredGrid_GetCell_13(base.GetCppThis(), cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis());
 }
Beispiel #18
0
 public override void GetCell(long cellId, vtkGenericCell cell)
 {
     vtkRectilinearGrid.vtkRectilinearGrid_GetCell_15(base.GetCppThis(), cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis());
 }
Beispiel #19
0
 public void ClipBox2D(vtkPoints newPoints, vtkGenericCell cell, vtkIncrementalPointLocator locator, vtkCellArray tets, vtkPointData inPD, vtkPointData outPD, vtkCellData inCD, long cellId, vtkCellData outCD)
 {
     vtkBoxClipDataSet.vtkBoxClipDataSet_ClipBox2D_05(base.GetCppThis(), (newPoints == null) ? default(HandleRef) : newPoints.GetCppThis(), (cell == null) ? default(HandleRef) : cell.GetCppThis(), (locator == null) ? default(HandleRef) : locator.GetCppThis(), (tets == null) ? default(HandleRef) : tets.GetCppThis(), (inPD == null) ? default(HandleRef) : inPD.GetCppThis(), (outPD == null) ? default(HandleRef) : outPD.GetCppThis(), (inCD == null) ? default(HandleRef) : inCD.GetCppThis(), cellId, (outCD == null) ? default(HandleRef) : outCD.GetCppThis());
 }
Beispiel #20
0
 public override void GetCell(long cellId, vtkGenericCell cell)
 {
     vtkImageData.vtkImageData_GetCell_26(base.GetCppThis(), cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis());
 }
Beispiel #21
0
 public virtual void GetCell(long cellId, vtkGenericCell cell)
 {
     vtkDataSet.vtkDataSet_GetCell_17(base.GetCppThis(), cellId, (cell == null) ? default(HandleRef) : cell.GetCppThis());
 }
 public virtual long FindClosestPointWithinRadius(IntPtr x, double radius, IntPtr closestPoint, vtkGenericCell cell, ref long cellId, ref int subId, ref double dist2)
 {
     return(vtkAbstractCellLocator.vtkAbstractCellLocator_FindClosestPointWithinRadius_10(base.GetCppThis(), x, radius, closestPoint, (cell == null) ? default(HandleRef) : cell.GetCppThis(), ref cellId, ref subId, ref dist2));
 }