1 #ifndef SELECTEDGROUP_H 2 #define SELECTEDGROUP_H 6 #include <osg/BoundingBox> 22 void selectAll(osg::Geode* geodeData);
23 const std::vector<Entity2D *> &getEntities()
const;
27 osg::Vec3f getCenter3D(
const osg::Matrix& M)
const;
28 osg::Vec3f getCenter2D()
const;
29 osg::Vec3f getCenter3DCustom(
const osg::Matrix& M)
const;
30 void setCenter3DCustom(
const osg::Vec3f& center,
const osg::Matrix& M);
31 osg::Vec3f getCenter2DCustom()
const;
32 void setCenter2DCustom(
const osg::Vec3f& center);
33 osg::BoundingBox getBoundingBox()
const;
34 double getRotationAngle()
const;
36 void move(
double du,
double dv);
37 void move(std::vector<Entity2D *> &entities,
double du,
double dv);
38 void scale(
double sx,
double sy);
39 void scale(std::vector<Entity2D *> &entities,
double sx,
double sy,
const osg::Vec3f& center);
40 void rotate(
double theta);
41 void rotate(std::vector<Entity2D *> &entities,
double theta,
const osg::Vec3f& center);
47 std::vector<entity::Entity2D*> m_group;
58 #endif // SELECTEDGROUP_H Scene graph entities.
Definition: AddEntityCommand.h:17
Definition: Entity2D.h:13
Definition: SelectedGroup.h:14