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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkColorTransferFunction)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public virtual vtkColorTransferFunction GetColorTransferFunction()
        {
            vtkColorTransferFunction vtkColorTransferFunction = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkColorTransferControlPointsItem.vtkColorTransferControlPointsItem_GetColorTransferFunction_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkColorTransferFunction = (vtkColorTransferFunction)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkColorTransferFunction.Register(null);
                }
            }
            return(vtkColorTransferFunction);
        }
 public void SetColorTransferFunction(vtkColorTransferFunction function)
 {
     vtkColorTransferControlPointsItem.vtkColorTransferControlPointsItem_SetColorTransferFunction_11(base.GetCppThis(), (function == null) ? default(HandleRef) : function.GetCppThis());
 }
 public void SetColorTransferFunction(vtkColorTransferFunction t)
 {
     vtkColorTransferFunctionItem.vtkColorTransferFunctionItem_SetColorTransferFunction_08(base.GetCppThis(), (t == null) ? default(HandleRef) : t.GetCppThis());
 }
Example #7
0
 public new virtual void SetColorTransferFunction(vtkColorTransferFunction function)
 {
     vtkCompositeControlPointsItem.vtkCompositeControlPointsItem_SetColorTransferFunction_09(base.GetCppThis(), (function == null) ? default(HandleRef) : function.GetCppThis());
 }
Example #8
0
 public void ShallowCopy(vtkColorTransferFunction f)
 {
     vtkColorTransferFunction.vtkColorTransferFunction_ShallowCopy_66(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
Example #9
0
 public void DeepCopy(vtkColorTransferFunction f)
 {
     vtkColorTransferFunction.vtkColorTransferFunction_DeepCopy_13(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
 public void SetColor(vtkColorTransferFunction f)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetColor_53(base.GetCppThis(), (f == null) ? default(HandleRef) : f.GetCppThis());
 }
 public void SetColor(int index, vtkColorTransferFunction function)
 {
     vtkVolumeProperty.vtkVolumeProperty_SetColor_52(base.GetCppThis(), index, (function == null) ? default(HandleRef) : function.GetCppThis());
 }