public virtual vtkPiecewiseFunction GetPiecewiseFunction()
        {
            vtkPiecewiseFunction vtkPiecewiseFunction = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPiecewiseFunctionItem.vtkPiecewiseFunctionItem_GetPiecewiseFunction_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPiecewiseFunction = (vtkPiecewiseFunction)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPiecewiseFunction.Register(null);
                }
            }
            return(vtkPiecewiseFunction);
        }
Esempio n. 2
0
        public new static vtkPiecewiseFunction GetData(vtkInformationVector v, int i)
        {
            vtkPiecewiseFunction vtkPiecewiseFunction = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPiecewiseFunction.vtkPiecewiseFunction_GetData_15((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPiecewiseFunction = (vtkPiecewiseFunction)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPiecewiseFunction.Register(null);
                }
            }
            return(vtkPiecewiseFunction);
        }
        public vtkPiecewiseFunction GetStoredGradientOpacity()
        {
            vtkPiecewiseFunction vtkPiecewiseFunction = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkVolumeProperty.vtkVolumeProperty_GetStoredGradientOpacity_40(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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