Exemple #1
0
        public virtual vtkKdNode GetUp()
        {
            vtkKdNode vtkKdNode   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkKdNode.vtkKdNode_GetUp_22(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkKdNode = (vtkKdNode)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkKdNode.Register(null);
                }
            }
            return(vtkKdNode);
        }
Exemple #3
0
        public static vtkKdNode CopyTree(vtkKdNode kd)
        {
            vtkKdNode vtkKdNode   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkKdTree.vtkKdTree_CopyTree_07((kd == null) ? default(HandleRef) : kd.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkKdNode = (vtkKdNode)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkKdNode.Register(null);
                }
            }
            return(vtkKdNode);
        }