Changeset 1006 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
- Timestamp:
- 06/09/06 01:26:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
r1004 r1006 19 19 class BspTree; 20 20 class KdTree; 21 class Vsp KdTree;21 class VspOspTree; 22 22 class VspBspTree; 23 23 class KdNode; 24 24 class KdLeaf; 25 class VspKdTree;26 25 class AxisAlignedBox3; 27 26 class BspLeaf; … … 813 812 814 813 /** 815 Manages different higher order operations on the view cells816 for vsp kd tree view cells.817 */818 class VspKdViewCellsManager: public ViewCellsManager819 {820 821 public:822 823 VspKdViewCellsManager(VspKdTree *vspKdTree);824 825 int ConstructSubdivision(const ObjectContainer &objects,826 const VssRayContainer &rays);827 828 829 int PostProcess(const ObjectContainer &objects,830 const VssRayContainer &rays);831 832 void Visualize(const ObjectContainer &objects,833 const VssRayContainer &sampleRays);834 835 int GetType() const;836 837 bool ViewCellsConstructed() const;838 839 //virtual void PrintStatistics(ostream &s) const;840 841 ViewCell *GenerateViewCell(Mesh *mesh) const;842 843 844 int CastLineSegment(const Vector3 &origin,845 const Vector3 &termination,846 ViewCellContainer &viewcells);847 848 ViewCell *GetViewCell(const Vector3 &point, const bool active = false) const { return NULL; }849 850 float GetProbability(ViewCell *viewCell);851 852 853 void CreateMesh(ViewCell *vc);854 855 void ExportViewCellGeometry(Exporter *exporter,856 ViewCell *vc,857 const Plane3 *clipPlane = NULL) const;858 859 void CollectMergeCandidates(const VssRayContainer &rays, vector<MergeCandidate> &candidates);860 861 virtual void UpdatePvsForEvaluation(ViewCell *root, ObjectPvs &pvs) {};862 863 864 protected:865 866 void ExportLeaves(const ObjectContainer &objects,867 const VssRayContainer &sampleRays);868 869 void CollectViewCells();870 871 void ExportColor(Exporter *exporter, ViewCell *vc) const;872 873 874 875 /// the BSP tree.876 VspKdTree *mVspKdTree;877 };878 879 880 881 /**882 814 Manages different higher order operations on the view cells. 883 815 */
Note: See TracChangeset
for help on using the changeset viewer.