예제 #1
0
        public new vtkKdTree NewInstance()
        {
            vtkKdTree result      = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkKdTree.vtkKdTree_NewInstance_62(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkKdTree)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
예제 #2
0
        public new static vtkKdTree SafeDownCast(vtkObjectBase o)
        {
            vtkKdTree vtkKdTree   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkKdTree.vtkKdTree_SafeDownCast_76((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkKdTree = (vtkKdTree)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkKdTree.Register(null);
                }
            }
            return(vtkKdTree);
        }
예제 #3
0
        public virtual vtkKdTree GetKdTree()
        {
            vtkKdTree vtkKdTree   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkKdTreeSelector.vtkKdTreeSelector_GetKdTree_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkKdTree = (vtkKdTree)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkKdTree.Register(null);
                }
            }
            return(vtkKdTree);
        }
예제 #4
0
 public void SetKdTree(vtkKdTree tree)
 {
     vtkKdTreeSelector.vtkKdTreeSelector_SetKdTree_15(base.GetCppThis(), (tree == null) ? default(HandleRef) : tree.GetCppThis());
 }