コード例 #1
0
        public new static vtkParametricSpline SafeDownCast(vtkObjectBase o)
        {
            vtkParametricSpline vtkParametricSpline = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkParametricSpline.vtkParametricSpline_SafeDownCast_26((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkParametricSpline = (vtkParametricSpline)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkParametricSpline.Register(null);
                }
            }
            return(vtkParametricSpline);
        }
コード例 #2
0
        public virtual vtkParametricSpline GetParametricSpline()
        {
            vtkParametricSpline vtkParametricSpline = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkSplineWidget.vtkSplineWidget_GetParametricSpline_09(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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