1 #ifndef OPENCS_VIEW_WORLDSPACEWIDGET_H
2 #define OPENCS_VIEW_WORLDSPACEWIDGET_H
4 #include <boost/shared_ptr.hpp>
9 #include "../../model/doc/document.hpp"
10 #include "../../model/world/tablemimedata.hpp"
28 class SceneToolToggle2;
43 osg::ref_ptr<TagBase>
tag;
126 virtual void useViewHint (
const std::string& hint);
130 virtual bool handleDrop (
const std::vector<CSMWorld::UniversalId>& data,
154 virtual void selectAll (
int elementMask) = 0;
168 virtual std::string
getCellId (
const osg::Vec3f& point)
const = 0;
171 virtual Cell*
getCell(
const osg::Vec3d& point)
const = 0;
173 virtual std::vector<osg::ref_ptr<TagBase> >
getSelection (
unsigned int elementMask)
176 virtual std::vector<osg::ref_ptr<TagBase> >
getEdited (
unsigned int elementMask)
179 virtual void setSubMode (
int subMode,
unsigned int elementMask) = 0;
182 virtual void reset (
unsigned int elementMask) = 0;
237 const QModelIndex& bottomRight) = 0;
243 virtual void referenceDataChanged (
const QModelIndex& topLeft,
const QModelIndex& bottomRight) = 0;
247 virtual void referenceAdded (
const QModelIndex& index,
int start,
int end) = 0;
249 virtual void pathgridDataChanged (
const QModelIndex& topLeft,
const QModelIndex& bottomRight) = 0;
253 virtual void pathgridAdded (
const QModelIndex& parent,
int start,
int end) = 0;
256 virtual void runRequest (
const std::string& profile);
259 const QModelIndex& bottomRight);
285 void dataDropped(
const std::vector<CSMWorld::UniversalId>& data);
osg::ref_ptr< TagBase > tag
Definition: worldspacewidget.hpp:43
static const struct @2 signals[]
unsigned int index0
Definition: worldspacewidget.hpp:44
osg::Vec3d worldPos
Definition: worldspacewidget.hpp:45
bool hit
Definition: worldspacewidget.hpp:42
unsigned int index1
Definition: worldspacewidget.hpp:44
Definition: worldspacewidget.hpp:40
Definition: setting.hpp:22
Definition: document.hpp:57
unsigned int index2
Definition: worldspacewidget.hpp:44
Definition: editmode.hpp:19