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