|
OpenMW
|
#include <pagedworldspacewidget.hpp>
Signals | |
| void | cellSelectionChanged (const CSMWorld::CellSelection &selection) |
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 | |
| PagedWorldspaceWidget (QWidget *parent, CSMDoc::Document &document) | |
| virtual | ~PagedWorldspaceWidget () |
| void | useViewHint (const std::string &hint) |
| Decodes the the hint string to set of cell that are rendered. More... | |
| void | setCellSelection (const CSMWorld::CellSelection &selection) |
| const CSMWorld::CellSelection & | getCellSelection () const |
| virtual bool | handleDrop (const std::vector< CSMWorld::UniversalId > &data, DropType type) |
| virtual dropRequirments | getDropRequirements (DropType type) const |
| virtual CSVWidget::SceneToolToggle2 * | makeControlVisibilitySelector (CSVWidget::SceneToolbar *parent) |
| virtual unsigned int | getVisibilityMask () const |
| 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 | 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 (std::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) |
| virtual void | addEditModeSelectorButtons (CSVWidget::SceneToolMode *tool) |
| virtual void | handleInteractionPress (const WorldspaceHitResult &hit, InteractionType type) |
Protected Member Functions inherited from CSVRender::WorldspaceWidget | |
| virtual void | updateOverlay () |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| virtual void | wheelEvent (QWheelEvent *event) |
| 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) |
Protected Member Functions inherited from CSVRender::RenderWidget | |
| void | updateCameraParameters (double overrideAspect=-1.0) |
Private Slots | |
| virtual void | cellDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
| virtual void | cellRemoved (const QModelIndex &parent, int start, int end) |
| virtual void | cellAdded (const QModelIndex &index, int start, int end) |
| virtual void | landDataChanged (const QModelIndex &topLeft, const QModelIndex &botomRight) |
| virtual void | landAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
| virtual void | landAdded (const QModelIndex &parent, int start, int end) |
| virtual void | landTextureDataChanged (const QModelIndex &topLeft, const QModelIndex &botomRight) |
| virtual void | landTextureAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
| virtual void | landTextureAdded (const QModelIndex &parent, int start, int end) |
| void | assetTablesChanged () |
| void | loadCameraCell () |
| void | loadEastCell () |
| void | loadNorthCell () |
| void | loadWestCell () |
| void | loadSouthCell () |
Private Member Functions | |
| std::pair< int, int > | getCoordinatesFromId (const std::string &record) const |
| bool | adjustCells () |
| 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 () |
| void | addCellToScene (const CSMWorld::CellCoordinates &coordinates) |
| void | removeCellFromScene (const CSMWorld::CellCoordinates &coordinates) |
| void | addCellSelection (int x, int y) |
| void | moveCellSelection (int x, int y) |
| void | addCellToSceneFromCamera (int offsetX, int offsetY) |
Private Attributes | |
| CSMDoc::Document & | mDocument |
| CSMWorld::CellSelection | mSelection |
| std::map < CSMWorld::CellCoordinates, Cell * > | mCells |
| std::string | mWorldspace |
| CSVWidget::SceneToolToggle2 * | mControlElements |
| bool | mDisplayCellCoord |
| CSVRender::PagedWorldspaceWidget::PagedWorldspaceWidget | ( | QWidget * | parent, |
| CSMDoc::Document & | document | ||
| ) |
|
virtual |
|
private |
|
private |
|
protectedvirtual |
|
protectedvirtual |
|
private |
Bring mCells into sync with mSelection again.
|
privateslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
signal |
|
virtual |
| elementMask | Elements to be affected by the clear operation |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
| const CSMWorld::CellSelection & CSVRender::PagedWorldspaceWidget::getCellSelection | ( | ) | const |
|
private |
|
virtual |
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
virtual |
|
virtual |
Reimplemented from CSVRender::WorldspaceWidget.
|
protectedvirtual |
|
virtual |
| elementMask | Elements to be affected by the select operation |
Implements CSVRender::WorldspaceWidget.
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privatevirtualslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
virtual |
|
privatevirtual |
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
privatevirtual |
Implements CSVRender::WorldspaceWidget.
|
private |
|
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.
| void CSVRender::PagedWorldspaceWidget::setCellSelection | ( | const CSMWorld::CellSelection & | selection | ) |
Implements CSVRender::WorldspaceWidget.
|
virtual |
Decodes the the hint string to set of cell that are rendered.
Reimplemented from CSVRender::WorldspaceWidget.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6