コード例 #1
0
        public new static vtkOctreePointLocatorNode SafeDownCast(vtkObjectBase o)
        {
            vtkOctreePointLocatorNode vtkOctreePointLocatorNode = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkOctreePointLocatorNode.vtkOctreePointLocatorNode_SafeDownCast_24((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkOctreePointLocatorNode = (vtkOctreePointLocatorNode)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkOctreePointLocatorNode.Register(null);
                }
            }
            return(vtkOctreePointLocatorNode);
        }
コード例 #2
0
        public vtkOctreePointLocatorNode GetChild(int i)
        {
            vtkOctreePointLocatorNode vtkOctreePointLocatorNode = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkOctreePointLocatorNode.vtkOctreePointLocatorNode_GetChild_06(base.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

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