www.pudn.com > CVPR12_SAS_code.zip > BgEdgeList.h, change:2011-10-16,size:845b


///////////////////////////////////////////////////////////////////////////// 
 
// Name:        BgEdgeList.h 
 
// Purpose:     BgEdgeList class 
 
// Author:      Bogdan Georgescu 
 
// Modified by: 
 
// Created:     06/22/2000 
 
// Copyright:   (c) Bogdan Georgescu 
 
// Version:     v0.1 
 
///////////////////////////////////////////////////////////////////////////// 
 
 
 
class BgEdgeList 
 
{ 
 
public: 
 
   int nEdges_; 
 
   BgEdge* edgelist_; 
 
   BgEdge* crtedge_; 
 
    
 
   BgEdgeList(); 
 
   ~BgEdgeList(); 
 
   void AddEdge(float*, int); 
 
   void AddEdge(int*, int nPoints); 
 
   void RemoveShortEdges(int); 
 
   void SetBinImage(BgImage*); 
 
   bool SaveEdgeList(char*); 
 
   void SetGradient(float*, float*, float*, int); 
 
   void SetNoMark(void); 
 
   void GetAllEdgePoints(int*, int*, int*); 
 
 
 
};