Exemple #1
0
 public void AddChildNodes(vtkKdNode left, vtkKdNode right)
 {
     vtkKdNode.vtkKdNode_AddChildNodes_01(base.GetCppThis(), (left == null) ? default(HandleRef) : left.GetCppThis(), (right == null) ? default(HandleRef) : right.GetCppThis());
 }
Exemple #2
0
 public void SetUp(vtkKdNode up)
 {
     vtkKdNode.vtkKdNode_SetUp_49(base.GetCppThis(), (up == null) ? default(HandleRef) : up.GetCppThis());
 }
Exemple #3
0
 public void SetRight(vtkKdNode right)
 {
     vtkKdNode.vtkKdNode_SetRight_48(base.GetCppThis(), (right == null) ? default(HandleRef) : right.GetCppThis());
 }
Exemple #4
0
 public void SetLeft(vtkKdNode left)
 {
     vtkKdNode.vtkKdNode_SetLeft_40(base.GetCppThis(), (left == null) ? default(HandleRef) : left.GetCppThis());
 }
Exemple #5
0
 public void CreateCuts(vtkKdNode kd)
 {
     vtkBSPCuts.vtkBSPCuts_CreateCuts_02(base.GetCppThis(), (kd == null) ? default(HandleRef) : kd.GetCppThis());
 }
Exemple #6
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);
        }