Hello,
I have tried to define the type of the mesh like this:
class MyMesh : public vcg::tri::TriMesh< std::deque<myvertex>, std::deque<myface> , std::vector<myedge> > {};</myedge></myface></myvertex>
but I get weird templates messages I do understand fully. Does the container have to be a std::vector?
Anonymous
Hello,
the containers must be std::vector or vcg::[simplexname]:vector_ocf
In principle any random access container would do it but there are template specializations in the library that are done only for std::vector so it would not work with other containers.
Beside, the library handles the containers, one should not push_back or push_front directly so it would not be tremendously useful to use a deque.