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