14 #include <osgDB/ReadFile>
34 using namespace vrecko;
35 using namespace vrecko;
37 namespace APRoomEdit {
44 virtual void update(
void);
46 void setIntersection(osg::Vec3& position,
vrecko::Scene* scenePtr);
47 inline osgUtil::LineSegmentIntersector::Intersection
getIntersection() {
return intersection; }
49 virtual bool initialize(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *parameters = NULL);
51 virtual void fillDefaultInfo();
53 virtual bool activate();
54 virtual void deactivate();
56 void issueRequests(
bool bStopIfNoSelection);
61 void RoomEditor::menuItemClicked(
const char* itemID);
67 osgUtil::LineSegmentIntersector::Intersection intersection;
74 std::map<std::string, std::map<std::string, Tool *> > tools;
76 unsigned long selectedObjectId;
79 osg::Vec3 firstPointerPos;
81 bool hasMoreThanOneTool() {
return ((tools.size() > 1) || ((tools.size() == 1) && ((*tools.begin()).second.size() > 1))); }