Ignore:
Timestamp:
06/12/06 01:40:25 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1008 r1010  
    33#include <iomanip> 
    44 
     5#include "ViewCell.h" 
    56#include "Plane3.h" 
    67#include "VspOspTree.h" 
    78#include "Mesh.h" 
    89#include "common.h" 
    9 #include "ViewCell.h" 
    1010#include "Environment.h" 
    1111#include "Polygon3.h" 
     
    1414#include "Exporter.h" 
    1515#include "Plane3.h" 
    16 #include "ViewCellBsp.h" 
    1716#include "ViewCellsManager.h" 
    1817#include "Beam.h" 
     
    401400                 (sizeof(VspOspTree) +  
    402401                  mVspStats.Leaves() * sizeof(VspLeaf) +  
    403                   mCreatedViewCells * sizeof(BspViewCell) + 
     402                  mCreatedViewCells * sizeof(VspViewCell) + 
    404403                  mVspStats.pvs * sizeof(ObjectPvsData) + 
    405404                  mVspStats.Interior() * sizeof(VspInterior) + 
     
    604603        { 
    605604                VspLeaf *leaf = dynamic_cast<VspLeaf *>(newNode); 
    606                 BspViewCell *viewCell = new BspViewCell(); 
     605                VspViewCell *viewCell = new VspViewCell(); 
    607606 
    608607        leaf->SetViewCell(viewCell); 
     
    11471146        } 
    11481147 
    1149  
    1150         BspNodeGeometry geomFront; 
    1151         BspNodeGeometry geomBack; 
    1152          
     1148#if TODO 
    11531149        pFront = geomFront.GetVolume(); 
    11541150        pBack = pOverall - pFront; 
    1155  
     1151#endif 
    11561152                 
    11571153 
     
    20562052ViewCell *VspOspTree::GetViewCell(const Vector3 &point, const bool active) 
    20572053{ 
    2058 #if TODO 
    20592054        if (mRoot == NULL) 
    20602055                return NULL; 
     
    20782073                {        
    20792074                        VspInterior *interior = dynamic_cast<VspInterior *>(node); 
    2080          
     2075#if TODO         
    20812076                        // random decision 
    20822077                        if (interior->GetPlane().Side(point) < 0) 
     
    20842079                        else 
    20852080                                nodeStack.push(interior->GetFront()); 
     2081#endif 
    20862082                } 
    20872083        } 
     
    20912087        else 
    20922088                return viewcell; 
    2093 #endif 
    20942089} 
    20952090 
Note: See TracChangeset for help on using the changeset viewer.