Ignore:
Timestamp:
10/17/06 12:06:36 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1563 r1632  
    538538                                                 int maxObjects = 0); 
    539539 
    540         /** Extracts the meshes of the view cells and and adds them to polygons. 
    541                 Adds view cell aabb to the aabb of the tree. 
    542                 @param maxPolys the maximal number of objects to be stored as polygons 
    543                 @returns the number of polygons 
    544         */ 
    545         int AddToPolygonSoup(const ViewCellContainer &viewCells,  
    546                                                  PolygonContainer &polys,  
    547                                                  int maxObjects = 0); 
    548  
    549         /** Extract polygons of this mesh and add to polygon container. 
     540        void ExtractPolygons(Intersectable *obj, PolygonContainer &polys) const; 
     541 
     542        /** Extract polygons of this mesh and adds them to container. 
    550543                @param mesh the mesh that drives the polygon construction 
    551                 @param parent the parent intersectable this polygon is constructed from 
    552544                @returns number of polygons 
    553545        */ 
    554         int AddMeshToPolygons(Mesh *mesh, PolygonContainer &polys, MeshInstance *parent); 
     546        int AddMeshToPolygons(Mesh *mesh, PolygonContainer &polys) const; 
    555547 
    556548        /** Selects an axis aligned for the next split. 
Note: See TracChangeset for help on using the changeset viewer.