public virtual vtkRepresentationPainter GetRepresentationPainter() { vtkRepresentationPainter vtkRepresentationPainter = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkDefaultPainter.vtkDefaultPainter_GetRepresentationPainter_07(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkRepresentationPainter = (vtkRepresentationPainter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkRepresentationPainter.Register(null); } } return(vtkRepresentationPainter); }
public new static vtkRepresentationPainter SafeDownCast(vtkObjectBase o) { vtkRepresentationPainter vtkRepresentationPainter = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkRepresentationPainter.vtkRepresentationPainter_SafeDownCast_05((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkRepresentationPainter = (vtkRepresentationPainter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkRepresentationPainter.Register(null); } } return(vtkRepresentationPainter); }