1 #ifndef OPENCS_VIEW_WORLDSPACEWIDGET_H
2 #define OPENCS_VIEW_WORLDSPACEWIDGET_H
7 #include "../../model/doc/document.hpp"
8 #include "../../model/world/tablemimedata.hpp"
26 class SceneToolToggle2;
41 osg::ref_ptr<TagBase>
tag;
125 virtual void useViewHint (
const std::string& hint);
129 virtual bool handleDrop (
const std::vector<CSMWorld::UniversalId>& data,
153 virtual void selectAll (
int elementMask) = 0;
167 virtual std::string
getCellId (
const osg::Vec3f& point)
const = 0;
170 virtual Cell*
getCell(
const osg::Vec3d& point)
const = 0;
172 virtual std::vector<osg::ref_ptr<TagBase> >
getSelection (
unsigned int elementMask)
175 virtual std::vector<osg::ref_ptr<TagBase> >
getEdited (
unsigned int elementMask)
178 virtual void setSubMode (
int subMode,
unsigned int elementMask) = 0;
181 virtual void reset (
unsigned int elementMask) = 0;
236 const QModelIndex& bottomRight) = 0;
242 virtual void referenceDataChanged (
const QModelIndex& topLeft,
const QModelIndex& bottomRight) = 0;
246 virtual void referenceAdded (
const QModelIndex& index,
int start,
int end) = 0;
248 virtual void pathgridDataChanged (
const QModelIndex& topLeft,
const QModelIndex& bottomRight) = 0;
252 virtual void pathgridAdded (
const QModelIndex& parent,
int start,
int end) = 0;
255 virtual void runRequest (
const std::string& profile);
258 const QModelIndex& bottomRight);
284 void dataDropped(
const std::vector<CSMWorld::UniversalId>& data);
osg::ref_ptr< TagBase > tag
Definition: worldspacewidget.hpp:41
unsigned int index0
Definition: worldspacewidget.hpp:42
osg::Vec3d worldPos
Definition: worldspacewidget.hpp:43
static const struct @8 signals[]
bool hit
Definition: worldspacewidget.hpp:40
unsigned int index1
Definition: worldspacewidget.hpp:42
Definition: worldspacewidget.hpp:38
Definition: setting.hpp:22
Definition: document.hpp:57
unsigned int index2
Definition: worldspacewidget.hpp:42
Definition: editmode.hpp:19