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