示例#1
0
        public new static vtkView New()
        {
            vtkView result      = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkView.vtkView_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkView)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
示例#2
0
        public virtual vtkSelection ConvertSelection(vtkView view, vtkSelection selection)
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkDataRepresentation.vtkDataRepresentation_ConvertSelection_04(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), (selection == null) ? default(HandleRef) : selection.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);
        }
示例#3
0
        public new static vtkView SafeDownCast(vtkObjectBase o)
        {
            vtkView vtkView     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkView.vtkView_SafeDownCast_17((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkView = (vtkView)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkView.Register(null);
                }
            }
            return(vtkView);
        }
示例#4
0
 public void AddView(vtkView view)
 {
     vtkViewUpdater.vtkViewUpdater_AddView_02(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis());
 }
示例#5
0
 public void RemoveView(vtkView view)
 {
     vtkViewUpdater.vtkViewUpdater_RemoveView_07(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis());
 }
示例#6
0
 public void Annotate(vtkView view, vtkAnnotationLayers annotations, bool extend)
 {
     vtkDataRepresentation.vtkDataRepresentation_Annotate_02(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), (annotations == null) ? default(HandleRef) : annotations.GetCppThis(), extend ? (byte)1 : (byte)0);
 }
示例#7
0
 public void Annotate(vtkView view, vtkAnnotationLayers annotations)
 {
     vtkDataRepresentation.vtkDataRepresentation_Annotate_01(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), (annotations == null) ? default(HandleRef) : annotations.GetCppThis());
 }
示例#8
0
 public void Select(vtkView view, vtkSelection selection, bool extend)
 {
     vtkDataRepresentation.vtkDataRepresentation_Select_26(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), (selection == null) ? default(HandleRef) : selection.GetCppThis(), extend ? (byte)1 : (byte)0);
 }
示例#9
0
 public void Select(vtkView view, vtkSelection selection)
 {
     vtkDataRepresentation.vtkDataRepresentation_Select_25(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), (selection == null) ? default(HandleRef) : selection.GetCppThis());
 }
示例#10
0
 public virtual string GetHoverText(vtkView view, int x, int y)
 {
     return(Marshal.PtrToStringAnsi(vtkParallelCoordinatesRepresentation.vtkParallelCoordinatesRepresentation_GetHoverText_14(base.GetCppThis(), (view == null) ? default(HandleRef) : view.GetCppThis(), x, y)));
 }