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