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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkCell)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        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);
        }
        public vtkCell GetCell()
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_GetCell_06(base.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);
        }
        public override vtkCell GetEdge(int edgeId)
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkBiQuadraticTriangle.vtkBiQuadraticTriangle_GetEdge_09(base.GetCppThis(), edgeId, 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);
        }
Beispiel #5
0
        public virtual vtkCell FindAndGetCell(IntPtr x, vtkCell cell, long cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkDataSet.vtkDataSet_FindAndGetCell_06(base.GetCppThis(), x, (cell == null) ? default(HandleRef) : cell.GetCppThis(), cellId, tol2, ref subId, pcoords, weights, 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);
        }
        public static vtkPlanesIntersection Convert3DCell(vtkCell cell)
        {
            vtkPlanesIntersection vtkPlanesIntersection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlanesIntersection.vtkPlanesIntersection_Convert3DCell_01((cell == null) ? default(HandleRef) : cell.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPlanesIntersection = (vtkPlanesIntersection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPlanesIntersection.Register(null);
                }
            }
            return(vtkPlanesIntersection);
        }
Beispiel #7
0
        public new static vtkCell SafeDownCast(vtkObjectBase o)
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkCell.vtkCell_SafeDownCast_38((o == null) ? default(HandleRef) : o.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);
        }
Beispiel #8
0
        public static vtkCell InstantiateCell(int cellType)
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkGenericCell.vtkGenericCell_InstantiateCell_18(cellType, 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);
        }
Beispiel #9
0
        public virtual vtkCell GetCell(long cellId)
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkDataSet.vtkDataSet_GetCell_16(base.GetCppThis(), cellId, 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);
        }
Beispiel #10
0
        public override vtkCell GetFace(int arg0)
        {
            vtkCell vtkCell     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkVertex.vtkVertex_GetFace_10(base.GetCppThis(), arg0, 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);
        }
Beispiel #11
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 #12
0
 public override long FindCell(IntPtr x, vtkCell cell, long cellId, double tol2, ref int subId, IntPtr pcoords, IntPtr weights)
 {
     return(vtkPointSet.vtkPointSet_FindCell_04(base.GetCppThis(), x, (cell == null) ? default(HandleRef) : cell.GetCppThis(), cellId, tol2, ref subId, pcoords, weights));
 }
Beispiel #13
0
 public virtual void DeepCopy(vtkCell c)
 {
     vtkCell.vtkCell_DeepCopy_04(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
Beispiel #14
0
 public virtual void ShallowCopy(vtkCell c)
 {
     vtkCell.vtkCell_ShallowCopy_40(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
 public int IntersectsCell(int regionId, vtkCell cell, int cellRegion)
 {
     return(vtkBSPIntersections.vtkBSPIntersections_IntersectsCell_13(base.GetCppThis(), regionId, (cell == null) ? default(HandleRef) : cell.GetCppThis(), cellRegion));
 }
Beispiel #16
0
 public int IntersectsCell(vtkCell cell, int useDataBounds, int cellRegion, IntPtr cellBounds)
 {
     return(vtkKdNode.vtkKdNode_IntersectsCell_24(base.GetCppThis(), (cell == null) ? default(HandleRef) : cell.GetCppThis(), useDataBounds, cellRegion, cellBounds));
 }
Beispiel #17
0
 public long InsertNextCell(vtkCell cell)
 {
     return(vtkCellArray.vtkCellArray_InsertNextCell_19(base.GetCppThis(), (cell == null) ? default(HandleRef) : cell.GetCppThis()));
 }
Beispiel #18
0
 public static int IntersectConvex2DCells(vtkCell cell1, vtkCell cell2, double tol, IntPtr p0, IntPtr p1)
 {
     return(vtkPolygon.vtkPolygon_IntersectConvex2DCells_24((cell1 == null) ? default(HandleRef) : cell1.GetCppThis(), (cell2 == null) ? default(HandleRef) : cell2.GetCppThis(), tol, p0, p1));
 }
Beispiel #19
0
 public override void DeepCopy(vtkCell c)
 {
     vtkGenericCell.vtkGenericCell_DeepCopy_04(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
Beispiel #20
0
 public override void ShallowCopy(vtkCell c)
 {
     vtkGenericCell.vtkGenericCell_ShallowCopy_67(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
 public double PolygonArea(vtkCell arg0)
 {
     return(vtkCellQuality.vtkCellQuality_PolygonArea_09(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis()));
 }
 public double TriangleStripArea(vtkCell arg0)
 {
     return(vtkCellQuality.vtkCellQuality_TriangleStripArea_43(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis()));
 }
 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));
 }
 public int IntersectsCell(IntPtr ids, int len, vtkCell cell, int cellRegion)
 {
     return(vtkBSPIntersections.vtkBSPIntersections_IntersectsCell_14(base.GetCppThis(), ids, len, (cell == null) ? default(HandleRef) : cell.GetCppThis(), cellRegion));
 }
Beispiel #25
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));
 }
 public override long FindCell(IntPtr arg0, vtkCell arg1, long arg2, double arg3, ref int arg4, IntPtr arg5, IntPtr arg6)
 {
     return(vtkLabelHierarchy.vtkLabelHierarchy_FindCell_02(base.GetCppThis(), arg0, (arg1 == null) ? default(HandleRef) : arg1.GetCppThis(), arg2, arg3, ref arg4, arg5, arg6));
 }