Developer Documentation
AlignT.hh
1 
2 namespace align{
3 
8 template< class MeshT >
9 void moveToCOG(MeshT& _mesh);
10 
15 template< class MeshT >
16 void rotate(MeshT& _mesh);
17 
22 template< class MeshT >
23 void moveCenterOfBBToOrigin(MeshT& _mesh);
24 
25 } // namespace align
26 
27 
28 #if defined(INCLUDE_TEMPLATES) && !defined(ALIGNT_CC)
29 #define MALIGNT_TEMPLATES
30 #include "AlignT.cc"
31 #endif
32 
33 
void rotate(const ACG::Vec3d &_axis, const double _angle, const ACG::Vec3d &_center, int _viewer)
Rotate Scene around axis.
Definition: AlignT.cc:45