Exemple #1
0
        public new static vtkDijkstraImageGeodesicPath New()
        {
            vtkDijkstraImageGeodesicPath result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkDijkstraImageGeodesicPath.vtkDijkstraImageGeodesicPath_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkDijkstraImageGeodesicPath)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemple #2
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);
        }
Exemple #3
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);
        }