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