コード例 #1
0
        public new vtkAbstractCellLocator NewInstance()
        {
            vtkAbstractCellLocator result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAbstractCellLocator.vtkAbstractCellLocator_NewInstance_28(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAbstractCellLocator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public virtual vtkAbstractCellLocator GetCellLocatorPrototype()
        {
            vtkAbstractCellLocator vtkAbstractCellLocator = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkCellLocatorInterpolatedVelocityField.vtkCellLocatorInterpolatedVelocityField_GetCellLocatorPrototype_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractCellLocator = (vtkAbstractCellLocator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractCellLocator.Register(null);
                }
            }
            return(vtkAbstractCellLocator);
        }
コード例 #3
0
        public new static vtkAbstractCellLocator SafeDownCast(vtkObjectBase o)
        {
            vtkAbstractCellLocator vtkAbstractCellLocator = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAbstractCellLocator.vtkAbstractCellLocator_SafeDownCast_31((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractCellLocator = (vtkAbstractCellLocator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractCellLocator.Register(null);
                }
            }
            return(vtkAbstractCellLocator);
        }
 public void SetCellLocatorPrototype(vtkAbstractCellLocator prototype)
 {
     vtkCellLocatorInterpolatedVelocityField.vtkCellLocatorInterpolatedVelocityField_SetCellLocatorPrototype_11(base.GetCppThis(), (prototype == null) ? default(HandleRef) : prototype.GetCppThis());
 }
コード例 #5
0
 public virtual void SetDataSet(int I, vtkDataSet dataset, bool staticdataset, vtkAbstractCellLocator locator)
 {
     vtkCachingInterpolatedVelocityField.vtkCachingInterpolatedVelocityField_SetDataSet_16(base.GetCppThis(), I, (dataset == null) ? default(HandleRef) : dataset.GetCppThis(), staticdataset ? (byte)1 : (byte)0, (locator == null) ? default(HandleRef) : locator.GetCppThis());
 }
コード例 #6
0
 public void AddLocator(vtkAbstractCellLocator locator)
 {
     vtkCellPicker.vtkCellPicker_AddLocator_01(base.GetCppThis(), (locator == null) ? default(HandleRef) : locator.GetCppThis());
 }