Ignore:
Timestamp:
08/08/07 15:50:33 (17 years ago)
Author:
mattausch
Message:

fixed obj loading error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/KdTree.h

    r2538 r2539  
    417417 
    418418  bool ExportBinTree(const std::string &filename); 
    419  
    420   /// loads kd tree from disk. note: sorts objects by id 
    421   bool LoadBinTree(const std::string &filename, ObjectContainer &object); 
     419  /** loads kd tree from disk. note: sorts objects by id 
     420  */ 
     421  bool ImportBinTree(const std::string &filename, ObjectContainer &object); 
    422422 
    423423protected: 
     
    589589        void ProcessMultipleRefs(KdLeaf *leaf) const; 
    590590 
     591 
     592        ////////// 
     593        // binary import / export 
     594 
    591595        void ExportBinLeaf(OUT_STREAM  &stream, KdLeaf *leaf); 
     596         
    592597        void ExportBinInterior(OUT_STREAM &stream, KdInterior *interior); 
     598 
    593599        KdLeaf *ImportBinLeaf(IN_STREAM &stream, KdInterior *parent, const ObjectContainer &objects); 
     600         
    594601        KdInterior *ImportBinInterior(IN_STREAM  &stream, KdInterior *parent); 
    595         KdNode *LoadNextNode(IN_STREAM  &stream, KdInterior *parent, const ObjectContainer &objects); 
     602         
     603        KdNode *ImportNextNode(IN_STREAM  &stream, KdInterior *parent, const ObjectContainer &objects); 
    596604         
    597605        /** Adds this objects to the kd leaf objects. 
Note: See TracChangeset for help on using the changeset viewer.