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