added yet another version of the interface for dumping set of polygons on png/svg
This commit is contained in:
parent
ecddd5b76a
commit
00cf1d4df8
|
@ -45,11 +45,14 @@ void dumpPolySet(const char * imageName, vector< vector<Point2f> > &polyVec, vec
|
|||
polyVecVec[i].resize(1);
|
||||
polyVecVec[i][0]=polyVec[i];
|
||||
}
|
||||
vector<string> labelVec(polyVec.size());
|
||||
dumpPolySet(imageName,polyVecVec,trVec,labelVec,pp);
|
||||
dumpPolySet(imageName,polyVecVec,trVec,pp);
|
||||
}
|
||||
|
||||
|
||||
void dumpPolySet(const char * imageName, vector< vector< vector<Point2f> > > &polyVecVec, vector<Similarity2f> &trVec, PolyDumperParam &pp)
|
||||
{
|
||||
vector<string> labelVec(polyVecVec.size());
|
||||
dumpPolySet(imageName,polyVecVec,trVec,labelVec,pp);
|
||||
}
|
||||
|
||||
void dumpPolySet(const char * imageName, vector< vector< vector<Point2f> > > &polyVecVec, vector<Similarity2f> &trVec, vector<string> &labelVec, PolyDumperParam &pp)
|
||||
{
|
||||
|
|
|
@ -29,6 +29,7 @@ public:
|
|||
};
|
||||
|
||||
void dumpPolySet(const char * imageName, std::vector< std::vector< std::vector<vcg::Point2f> > > &polyVecVec, std::vector<vcg::Similarity2f> &trVec, std::vector<std::string> &labelVec, PolyDumperParam &pp);
|
||||
void dumpPolySet(const char * imageName, std::vector< std::vector< std::vector<vcg::Point2f> > > &polyVecVec, std::vector<vcg::Similarity2f> &trVec, PolyDumperParam &pp);
|
||||
void dumpPolySet(const char * imageName, std::vector< std::vector<vcg::Point2f> > &polyVec, std::vector<vcg::Similarity2f> &trVec, PolyDumperParam &pp);
|
||||
void dumpPolySet(const char * imageName, std::vector< std::vector<vcg::Point2f> > &polyVec, PolyDumperParam &pp);
|
||||
void rectSetToPolySet(std::vector< vcg::Box2f > &rectVec, std::vector< std::vector<vcg::Point2f> > &polyVec);
|
||||
|
|
Loading…
Reference in New Issue