public void AddRepresentation(vtkDataRepresentation rep) { vtkView.vtkView_AddRepresentation_01(base.GetCppThis(), (rep == null) ? default(HandleRef) : rep.GetCppThis()); }
public virtual vtkSelection ConvertSelection(vtkDataRepresentation rep, vtkSelection sel) { vtkSelection vtkSelection = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkHierarchicalGraphPipeline.vtkHierarchicalGraphPipeline_ConvertSelection_04(base.GetCppThis(), (rep == null) ? default(HandleRef) : rep.GetCppThis(), (sel == null) ? default(HandleRef) : sel.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkSelection = (vtkSelection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkSelection.Register(null); } } return(vtkSelection); }
public bool IsRepresentationPresent(vtkDataRepresentation rep) { return(vtkView.vtkView_IsRepresentationPresent_09(base.GetCppThis(), (rep == null) ? default(HandleRef) : rep.GetCppThis()) != 0); }