コード例 #1
0
        public new static vtkPlanesIntersection New()
        {
            vtkPlanesIntersection result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlanesIntersection.vtkPlanesIntersection_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkPlanesIntersection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        public new static vtkPlanesIntersection SafeDownCast(vtkObjectBase o)
        {
            vtkPlanesIntersection vtkPlanesIntersection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlanesIntersection.vtkPlanesIntersection_SafeDownCast_10((o == null) ? default(HandleRef) : o.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);
        }
コード例 #4
0
ファイル: vtkKdNode.cs プロジェクト: Monkeybin11/Kitware.VTK
 public int IntersectsRegion(vtkPlanesIntersection pi, int useDataBounds)
 {
     return(vtkKdNode.vtkKdNode_IntersectsRegion_25(base.GetCppThis(), (pi == null) ? default(HandleRef) : pi.GetCppThis(), useDataBounds));
 }