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