added yet another version of the interface for dumping set of polygons on png/svg

This commit is contained in:
Paolo Cignoni 2012-02-02 06:45:42 +00:00
parent ecddd5b76a
commit 00cf1d4df8
2 changed files with 9 additions and 5 deletions

View File

@ -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)
{

View File

@ -29,8 +29,9 @@ 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<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 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);
#endif // POLYTOQIMAGE_H