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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkCellLocator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public virtual vtkCellLocator GetLocator()
        {
            vtkCellLocator vtkCellLocator = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkIterativeClosestPointTransform.vtkIterativeClosestPointTransform_GetLocator_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkCellLocator = (vtkCellLocator)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkCellLocator.Register(null);
                }
            }
            return(vtkCellLocator);
        }
コード例 #4
0
 public void SetLocator(vtkCellLocator locator)
 {
     vtkIterativeClosestPointTransform.vtkIterativeClosestPointTransform_SetLocator_26(base.GetCppThis(), (locator == null) ? default(HandleRef) : locator.GetCppThis());
 }