OpenMW
|
#include <unpagedworldspacewidget.hpp>
Signals | |
void | cellChanged (const CSMWorld::UniversalId &id) |
Signals inherited from CSVRender::WorldspaceWidget | |
void | closeRequest () |
void | dataDropped (const std::vector< CSMWorld::UniversalId > &data) |
Signals inherited from CSVRender::SceneWidget | |
void | focusToolbarRequest () |
Public Member Functions | |
UnpagedWorldspaceWidget (const std::string &cellId, CSMDoc::Document &document, QWidget *parent) | |
virtual dropRequirments | getDropRequirements (DropType type) const |
virtual bool | handleDrop (const std::vector< CSMWorld::UniversalId > &data, DropType type) |
virtual void | clearSelection (int elementMask) |
virtual void | invertSelection (int elementMask) |
virtual void | selectAll (int elementMask) |
virtual void | selectAllWithSameParentId (int elementMask) |
virtual std::string | getCellId (const osg::Vec3f &point) const |
virtual Cell * | getCell (const osg::Vec3d &point) const |
virtual std::vector < osg::ref_ptr< TagBase > > | getSelection (unsigned int elementMask) const |
virtual std::vector < osg::ref_ptr< TagBase > > | getEdited (unsigned int elementMask) const |
virtual void | setSubMode (int subMode, unsigned int elementMask) |
virtual void | reset (unsigned int elementMask) |
Erase all overrides and restore the visual representation to its true state. More... | |
Public Member Functions inherited from CSVRender::WorldspaceWidget | |
WorldspaceWidget (CSMDoc::Document &document, QWidget *parent=0) | |
~WorldspaceWidget () | |
CSVWidget::SceneToolMode * | makeNavigationSelector (CSVWidget::SceneToolbar *parent) |
CSVWidget::SceneToolToggle2 * | makeSceneVisibilitySelector (CSVWidget::SceneToolbar *parent) |
CSVWidget::SceneToolRun * | makeRunTool (CSVWidget::SceneToolbar *parent) |
CSVWidget::SceneToolMode * | makeEditModeSelector (CSVWidget::SceneToolbar *parent) |
void | selectDefaultNavigationMode () |
void | centerOrbitCameraOnSelection () |
virtual void | useViewHint (const std::string &hint) |
Default-implementation: ignored. More... | |
virtual unsigned int | getVisibilityMask () const |
virtual void | setInteractionMask (unsigned int mask) |
unsigned int | getInteractionMask () const |
virtual void | setEditLock (bool locked) |
CSMDoc::Document & | getDocument () |
WorldspaceHitResult | mousePick (const QPoint &localPos, unsigned int interactionMask) const |
Public Member Functions inherited from CSVRender::SceneWidget | |
SceneWidget (boost::shared_ptr< Resource::ResourceSystem > resourceSystem, QWidget *parent=0, Qt::WindowFlags f=0, bool retrieveInput=true) | |
virtual | ~SceneWidget () |
CSVWidget::SceneToolMode * | makeLightingSelector (CSVWidget::SceneToolbar *parent) |
void | setDefaultAmbient (const osg::Vec4f &colour) |
Public Member Functions inherited from CSVRender::RenderWidget | |
RenderWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~RenderWidget () |
void | flagAsModified () |
Initiates a request to redraw the view. More... | |
void | setVisibilityMask (int mask) |
osg::Camera * | getCamera () |
Protected Member Functions | |
virtual void | addVisibilitySelectorButtons (CSVWidget::SceneToolToggle2 *tool) |
Protected Member Functions inherited from CSVRender::WorldspaceWidget | |
virtual void | addEditModeSelectorButtons (CSVWidget::SceneToolMode *tool) |
virtual void | updateOverlay () |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | wheelEvent (QWheelEvent *event) |
virtual void | handleInteractionPress (const WorldspaceHitResult &hit, InteractionType type) |
virtual void | settingChanged (const CSMPrefs::Setting *setting) |
EditMode * | getEditMode () |
bool | getSpeedMode () |
Protected Member Functions inherited from CSVRender::SceneWidget | |
void | setLighting (Lighting *lighting) |
void | setAmbient (const osg::Vec4f &ambient) |
Private Slots | |
void | cellDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
void | cellRowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
Private Member Functions | |
void | update () |
virtual void | referenceableDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
virtual void | referenceableAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
virtual void | referenceableAdded (const QModelIndex &index, int start, int end) |
virtual void | referenceDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
virtual void | referenceAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
virtual void | referenceAdded (const QModelIndex &index, int start, int end) |
virtual void | pathgridDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
virtual void | pathgridAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
virtual void | pathgridAdded (const QModelIndex &parent, int start, int end) |
virtual std::string | getStartupInstruction () |
Private Attributes | |
CSMDoc::Document & | mDocument |
std::string | mCellId |
CSMWorld::IdTable * | mCellsModel |
CSMWorld::IdTable * | mReferenceablesModel |
std::auto_ptr< Cell > | mCell |
CSVRender::UnpagedWorldspaceWidget::UnpagedWorldspaceWidget | ( | const std::string & | cellId, |
CSMDoc::Document & | document, | ||
QWidget * | parent | ||
) |
|
protectedvirtual |
|
signal |
|
privateslot |
|
privateslot |
|
virtual |
elementMask | Elements to be affected by the clear operation |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Reimplemented from CSVRender::WorldspaceWidget.
|
virtual |
elementMask | Elements to be affected by the select operation |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Erase all overrides and restore the visual representation to its true state.
Implements CSVRender::WorldspaceWidget.
|
virtual |
elementMask | Elements to be affected by the select operation |
Implements CSVRender::WorldspaceWidget.
|
virtual |
elementMask | Elements to be affected by the select operation |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |