Exemplo n.º 1
0
        public new static vtkSelection New()
        {
            vtkSelection result      = null;
            uint         mteStatus   = 0u;
            uint         mteIndex    = 4294967295u;
            uint         rawRefCount = 0u;
            IntPtr       intPtr      = vtkSelection.vtkSelection_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkSelection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemplo n.º 2
0
        public static vtkSelection ToValueSelection(vtkSelection input, vtkDataObject data, vtkStringArray arrayNames)
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkConvertSelection.vtkConvertSelection_ToValueSelection_32((input == null) ? default(HandleRef) : input.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis(), (arrayNames == null) ? default(HandleRef) : arrayNames.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);
        }
Exemplo n.º 3
0
        public vtkSelection Select()
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkHardwareSelector.vtkHardwareSelector_Select_25(base.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);
        }
Exemplo n.º 4
0
        public new static vtkSelection GetData(vtkInformation info)
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkSelection.vtkSelection_GetData_04((info == null) ? default(HandleRef) : info.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);
        }
Exemplo n.º 5
0
        public new static vtkSelection SafeDownCast(vtkObjectBase o)
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkSelection.vtkSelection_SafeDownCast_18((o == null) ? default(HandleRef) : o.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);
        }
Exemplo n.º 6
0
        public virtual vtkSelection GenerateSelection(uint x1, uint y1, uint x2, uint y2)
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkHardwareSelector.vtkHardwareSelector_GenerateSelection_07(base.GetCppThis(), x1, y1, x2, y2, 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 vtkSelection GetOutput(int index)
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkSelectionAlgorithm.vtkSelectionAlgorithm_GetOutput_02(base.GetCppThis(), index, 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);
        }
Exemplo n.º 8
0
        public virtual vtkSelection GetCurrentSelection()
        {
            vtkSelection vtkSelection = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkAnnotationLayers.vtkAnnotationLayers_GetCurrentSelection_05(base.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 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);
        }
Exemplo n.º 10
0
 public static void GetSelectedVertices(vtkSelection input, vtkGraph data, vtkIdTypeArray indices)
 {
     vtkConvertSelection.vtkConvertSelection_GetSelectedVertices_13((input == null) ? default(HandleRef) : input.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis(), (indices == null) ? default(HandleRef) : indices.GetCppThis());
 }
Exemplo n.º 11
0
 public virtual void SetSelection(vtkSelection selection)
 {
     vtkAnnotation.vtkAnnotation_SetSelection_19(base.GetCppThis(), (selection == null) ? default(HandleRef) : selection.GetCppThis());
 }
Exemplo n.º 12
0
 public void GetSelectedIds(vtkSelection ToCopyInto)
 {
     vtkVisibleCellSelector.vtkVisibleCellSelector_GetSelectedIds_06(base.GetCppThis(), (ToCopyInto == null) ? default(HandleRef) : ToCopyInto.GetCppThis());
 }
Exemplo n.º 13
0
 public void AddInput(vtkSelection arg0)
 {
     vtkAppendSelection.vtkAppendSelection_AddInput_01(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Exemplo n.º 14
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);
 }
Exemplo n.º 15
0
 public static void GetSelectedItems(vtkSelection input, vtkDataObject data, int fieldType, vtkIdTypeArray indices)
 {
     vtkConvertSelection.vtkConvertSelection_GetSelectedItems_10((input == null) ? default(HandleRef) : input.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis(), fieldType, (indices == null) ? default(HandleRef) : indices.GetCppThis());
 }
Exemplo n.º 16
0
 public void UpdateSelection(vtkSelection selection, bool extend)
 {
     vtkDataRepresentation.vtkDataRepresentation_UpdateSelection_37(base.GetCppThis(), (selection == null) ? default(HandleRef) : selection.GetCppThis(), extend ? (byte)1 : (byte)0);
 }
Exemplo n.º 17
0
 public void UpdateSelection(vtkSelection selection)
 {
     vtkDataRepresentation.vtkDataRepresentation_UpdateSelection_36(base.GetCppThis(), (selection == null) ? default(HandleRef) : selection.GetCppThis());
 }
Exemplo n.º 18
0
 public virtual void Union(vtkSelection selection)
 {
     vtkSelection.vtkSelection_Union_20(base.GetCppThis(), (selection == null) ? default(HandleRef) : selection.GetCppThis());
 }
Exemplo n.º 19
0
 public void SetInputByNumber(int num, vtkSelection input)
 {
     vtkAppendSelection.vtkAppendSelection_SetInputByNumber_15(base.GetCppThis(), num, (input == null) ? default(HandleRef) : input.GetCppThis());
 }
Exemplo n.º 20
0
 public void RemoveInput(vtkSelection arg0)
 {
     vtkAppendSelection.vtkAppendSelection_RemoveInput_12(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
Exemplo n.º 21
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());
 }
Exemplo n.º 22
0
 public virtual void SetCurrentSelection(vtkSelection sel)
 {
     vtkAnnotationLayers.vtkAnnotationLayers_SetCurrentSelection_18(base.GetCppThis(), (sel == null) ? default(HandleRef) : sel.GetCppThis());
 }
Exemplo n.º 23
0
 public static void GetSelectedCells(vtkSelection input, vtkDataSet data, vtkIdTypeArray indices)
 {
     vtkConvertSelection.vtkConvertSelection_GetSelectedCells_08((input == null) ? default(HandleRef) : input.GetCppThis(), (data == null) ? default(HandleRef) : data.GetCppThis(), (indices == null) ? default(HandleRef) : indices.GetCppThis());
 }