Beispiel #1
0
        public virtual vtkDijkstraImageGeodesicPath GetDijkstraImageGeodesicPath()
        {
            vtkDijkstraImageGeodesicPath vtkDijkstraImageGeodesicPath = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDijkstraImageContourLineInterpolator.vtkDijkstraImageContourLineInterpolator_GetDijkstraImageGeodesicPath_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkDijkstraImageGeodesicPath = (vtkDijkstraImageGeodesicPath)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkDijkstraImageGeodesicPath.Register(null);
                }
            }
            return(vtkDijkstraImageGeodesicPath);
        }