Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 13
0
 public virtual void DeepCopy(vtkCell c)
 {
     vtkCell.vtkCell_DeepCopy_04(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
Ejemplo n.º 14
0
 public virtual void ShallowCopy(vtkCell c)
 {
     vtkCell.vtkCell_ShallowCopy_40(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
Ejemplo n.º 15
0
 public int IntersectsCell(int regionId, vtkCell cell, int cellRegion)
 {
     return(vtkBSPIntersections.vtkBSPIntersections_IntersectsCell_13(base.GetCppThis(), regionId, (cell == null) ? default(HandleRef) : cell.GetCppThis(), cellRegion));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 17
0
 public long InsertNextCell(vtkCell cell)
 {
     return(vtkCellArray.vtkCellArray_InsertNextCell_19(base.GetCppThis(), (cell == null) ? default(HandleRef) : cell.GetCppThis()));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 19
0
 public override void DeepCopy(vtkCell c)
 {
     vtkGenericCell.vtkGenericCell_DeepCopy_04(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
Ejemplo n.º 20
0
 public override void ShallowCopy(vtkCell c)
 {
     vtkGenericCell.vtkGenericCell_ShallowCopy_67(base.GetCppThis(), (c == null) ? default(HandleRef) : c.GetCppThis());
 }
Ejemplo n.º 21
0
 public double PolygonArea(vtkCell arg0)
 {
     return(vtkCellQuality.vtkCellQuality_PolygonArea_09(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis()));
 }
Ejemplo n.º 22
0
 public double TriangleStripArea(vtkCell arg0)
 {
     return(vtkCellQuality.vtkCellQuality_TriangleStripArea_43(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis()));
 }
Ejemplo n.º 23
0
 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));
 }
Ejemplo n.º 24
0
 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 26
0
 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));
 }