Added a few const to an accessory function of PolyToQImage to clarify usage of parameters
This commit is contained in:
parent
099a18f47c
commit
3d5e19caa7
|
@ -41,9 +41,9 @@ void PolyDumper::multiRectSetToSingleOutline2Vec(vector< Box2f > &rectVec,
|
|||
}
|
||||
}
|
||||
|
||||
void PolyDumper::multiOutline2VecToSingleOutline2Vec(std::vector< std::vector<Point2f> > &multiPolyVec,
|
||||
std::vector<Similarity2f> &multiTrVec,
|
||||
std::vector<int> &indVec, int ind,
|
||||
void PolyDumper::multiOutline2VecToSingleOutline2Vec(const std::vector< std::vector<Point2f> > &multiPolyVec,
|
||||
const std::vector<Similarity2f> &multiTrVec,
|
||||
const std::vector<int> &indVec, int ind,
|
||||
std::vector< std::vector<Point2f> > &singlePolyVec,
|
||||
std::vector<Similarity2f> &singleTrVec)
|
||||
{
|
||||
|
|
|
@ -77,7 +77,7 @@ public:
|
|||
static void rectSetToOutline2Vec(std::vector< vcg::Box2f > &rectVec, std::vector< std::vector<vcg::Point2f> > &polyVec);
|
||||
static void multiRectSetToSingleOutline2Vec(std::vector< vcg::Box2f > &rectVec, std::vector<vcg::Similarity2f> &trVec, std::vector<int> &indVec,
|
||||
int ind, std::vector< std::vector<vcg::Point2f> > &polyVec, std::vector<vcg::Similarity2f> &trPolyVec);
|
||||
static void multiOutline2VecToSingleOutline2Vec(std::vector< std::vector< vcg::Point2f> > &multipolyVec, std::vector< vcg::Similarity2f> &trVec, std::vector<int> &indVec,
|
||||
static void multiOutline2VecToSingleOutline2Vec(const std::vector<std::vector<vcg::Point2f> > &multipolyVec, const std::vector<vcg::Similarity2f> &trVec, const std::vector<int> &indVec,
|
||||
int ind, std::vector< std::vector< vcg::Point2f> > &polyVec, std::vector< vcg::Similarity2f> &trPolyVec);
|
||||
|
||||
///write a polygon on a PNG file, format of the polygon is vector of vector of contours...nested contours are holes
|
||||
|
|
Loading…
Reference in New Issue