Example #1
0
        public new vtkPiecewiseFunction NewInstance()
        {
            vtkPiecewiseFunction result = null;
            uint   mteStatus            = 0u;
            uint   mteIndex             = 4294967295u;
            uint   rawRefCount          = 0u;
            IntPtr intPtr = vtkPiecewiseFunction.vtkPiecewiseFunction_NewInstance_31(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkPiecewiseFunction)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        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);
        }
Example #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);
        }
Example #5
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);
        }
 public void SetPiecewiseFunction(vtkPiecewiseFunction t)
 {
     vtkPiecewiseFunctionItem.vtkPiecewiseFunctionItem_SetPiecewiseFunction_08(base.GetCppThis(), (t == null) ? default(HandleRef) : t.GetCppThis());
 }
Example #7
0
 public void SetOpacityFunction(vtkPiecewiseFunction opacity)
 {
     vtkCompositeControlPointsItem.vtkCompositeControlPointsItem_SetOpacityFunction_10(base.GetCppThis(), (opacity == null) ? default(HandleRef) : opacity.GetCppThis());
 }
Example #8
0
 public virtual void SetPiecewiseFunction(vtkPiecewiseFunction function)
 {
     vtkPiecewiseControlPointsItem.vtkPiecewiseControlPointsItem_SetPiecewiseFunction_09(base.GetCppThis(), (function == null) ? default(HandleRef) : function.GetCppThis());
 }
 public void SetScalarOpacity(vtkPiecewiseFunction f)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetScalarOpacity_66(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
 public void SetScalarOpacity(int index, vtkPiecewiseFunction function)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetScalarOpacity_65(base.GetCppThis(), index, (function == null) ? default(HandleRef) : function.GetCppThis());
 }
 public void SetGradientOpacity(vtkPiecewiseFunction function)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetGradientOpacity_60(base.GetCppThis(), (function == null) ? default(HandleRef) : function.GetCppThis());
 }
 public void SetColor(vtkPiecewiseFunction f)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetColor_51(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
Example #13
0
 public void SetOpacityFunction(vtkPiecewiseFunction opacity)
 {
     vtkCompositeTransferFunctionItem.vtkCompositeTransferFunctionItem_SetOpacityFunction_08(base.GetCppThis(), (opacity == null) ? default(HandleRef) : opacity.GetCppThis());
 }