コード例 #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);
        }
コード例 #2
0
        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);
        }
コード例 #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);
        }
コード例 #4
0
        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);
        }
コード例 #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);
        }
コード例 #6
0
 public void SetPiecewiseFunction(vtkPiecewiseFunction t)
 {
     vtkPiecewiseFunctionItem.vtkPiecewiseFunctionItem_SetPiecewiseFunction_08(base.GetCppThis(), (t == null) ? default(HandleRef) : t.GetCppThis());
 }
コード例 #7
0
 public void SetOpacityFunction(vtkPiecewiseFunction opacity)
 {
     vtkCompositeControlPointsItem.vtkCompositeControlPointsItem_SetOpacityFunction_10(base.GetCppThis(), (opacity == null) ? default(HandleRef) : opacity.GetCppThis());
 }
コード例 #8
0
 public virtual void SetPiecewiseFunction(vtkPiecewiseFunction function)
 {
     vtkPiecewiseControlPointsItem.vtkPiecewiseControlPointsItem_SetPiecewiseFunction_09(base.GetCppThis(), (function == null) ? default(HandleRef) : function.GetCppThis());
 }
コード例 #9
0
 public void SetScalarOpacity(vtkPiecewiseFunction f)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetScalarOpacity_66(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
コード例 #10
0
 public void SetScalarOpacity(int index, vtkPiecewiseFunction function)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetScalarOpacity_65(base.GetCppThis(), index, (function == null) ? default(HandleRef) : function.GetCppThis());
 }
コード例 #11
0
 public void SetGradientOpacity(vtkPiecewiseFunction function)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetGradientOpacity_60(base.GetCppThis(), (function == null) ? default(HandleRef) : function.GetCppThis());
 }
コード例 #12
0
 public void SetColor(vtkPiecewiseFunction f)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetColor_51(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
コード例 #13
0
 public void SetOpacityFunction(vtkPiecewiseFunction opacity)
 {
     vtkCompositeTransferFunctionItem.vtkCompositeTransferFunctionItem_SetOpacityFunction_08(base.GetCppThis(), (opacity == null) ? default(HandleRef) : opacity.GetCppThis());
 }