Ignore:
Timestamp:
01/14/08 15:54:15 (16 years ago)
Author:
bittner
Message:

havran ray caster update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/havran/ktb.cpp

    r2582 r2592  
    6161  float tclosest = Limits::Infinity; 
    6262  int intersected = 0; 
     63  // rayIndex += rayOffset; 
    6364  // iterate the whole list and find out the nearest intersection 
    6465  for (ObjectContainer::iterator sc = list->begin(); sc != sc_end; sc++) { 
     
    352353} 
    353354 
     355// Set the pointers to children for the interior node 
     356void 
     357CKTBAllocMan::SetInteriorNodeLeft(SKTBNodeT *node, 
     358                                  SKTBNodeT *leftChild) 
     359{ 
     360  leftChild = leftChild; // to satisfy the compiler 
     361 
     362  // Check on correctness of DFS order 
     363  assert( (node+1 == leftChild) || (node+2 == leftChild) || (node+4 == leftChild) ); 
     364} 
     365 
     366// Set the pointers to children for the interior node 
     367void 
     368CKTBAllocMan::SetInteriorNodeRight(SKTBNodeT *node, 
     369                                   SKTBNodeT *rightChild) 
     370{ 
     371  node->right = rightChild; 
     372} 
     373 
     374   
    354375// Create the representation of the leaf. Note that possibly there 
    355376// can be special cases, such as 0, 1, 2, or 3 objects, or in general 
Note: See TracChangeset for help on using the changeset viewer.