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 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); }
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); }