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