Ignore:
Timestamp:
01/21/07 00:40:56 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1999 r2003  
    1717RayCaster(preprocessor) 
    1818{ 
    19         InitRayCast(externKdTree); 
     19        if (!InitRayCast(externKdTree)) 
     20                cout << "warning: intel ray tracer could not be initialized!" << endl; 
    2021} 
    2122 
     
    2829bool IntelRayCaster::InitRayCast(const string externKdTree) 
    2930{ 
    30   cout<<"Ray Cast file: " << externKdTree << endl; 
    31   return mlrtaLoadAS(externKdTree.c_str()); 
     31        cout<<"Intel ray cast file: " << externKdTree << endl; 
     32         
     33        return mlrtaLoadAS(externKdTree.c_str()); 
    3234} 
    3335 
     
    4143                                                        ) 
    4244{ 
    43         //cout << "intel ray" << endl; 
     45        cout << "intel ray" << endl; 
    4446        VssRay *vssRay  = NULL; 
    4547        int hits = 0; 
     
    7375        if (castDoubleRay) 
    7476        { 
    75           //cerr<<"HERE"<<endl; 
    76           Vector3 dir = -simpleRay.mDirection; 
     77                //cerr<<"HERE"<<endl; 
     78                Vector3 dir = -simpleRay.mDirection; 
    7779                hittriangle = mlrtaIntersectAS( 
    7880                                                                                &simpleRay.mOrigin.x, 
Note: See TracChangeset for help on using the changeset viewer.