#include <cell.hpp>
|
| Cell (CSMWorld::Data &data, osg::Group *rootNode, const std::string &id, bool deleted=false) |
|
| ~Cell () |
|
Pathgrid * | getPathgrid () const |
|
bool | referenceableDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
|
bool | referenceableAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
|
bool | referenceDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
|
bool | referenceAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
|
bool | referenceAdded (const QModelIndex &parent, int start, int end) |
|
void | pathgridModified () |
|
void | pathgridRemoved () |
|
void | setSelection (int elementMask, Selection mode) |
|
void | selectAllWithSameParentId (int elementMask) |
|
void | setCellArrows (int mask) |
|
void | setCellMarker () |
| Set marker for this cell. More...
|
|
CSMWorld::CellCoordinates | getCoordinates () const |
| Returns 0, 0 in case of an unpaged cell. More...
|
|
bool | isDeleted () const |
|
std::vector< osg::ref_ptr
< TagBase > > | getSelection (unsigned int elementMask) const |
|
std::vector< osg::ref_ptr
< TagBase > > | getEdited (unsigned int elementMask) const |
|
void | setSubMode (int subMode, unsigned int elementMask) |
|
void | reset (unsigned int elementMask) |
|
Enumerator |
---|
Selection_Clear |
|
Selection_All |
|
Selection_Invert |
|
CSVRender::Cell::Cell |
( |
CSMWorld::Data & |
data, |
|
|
osg::Group * |
rootNode, |
|
|
const std::string & |
id, |
|
|
bool |
deleted = false |
|
) |
| |
- Note
- Deleted covers both cells that are deleted and cells that don't exist in the first place.
CSVRender::Cell::~Cell |
( |
| ) |
|
bool CSVRender::Cell::addObjects |
( |
int |
start, |
|
|
int |
end |
|
) |
| |
|
private |
Add objects from reference table that are within this cell.
- Returns
- Have any objects been added?
Returns 0, 0 in case of an unpaged cell.
std::vector< osg::ref_ptr< CSVRender::TagBase > > CSVRender::Cell::getEdited |
( |
unsigned int |
elementMask | ) |
const |
- Note
- Returns the pathgrid representation which will exist as long as the cell exists
std::vector< osg::ref_ptr< CSVRender::TagBase > > CSVRender::Cell::getSelection |
( |
unsigned int |
elementMask | ) |
const |
bool CSVRender::Cell::isDeleted |
( |
| ) |
const |
void CSVRender::Cell::pathgridModified |
( |
| ) |
|
void CSVRender::Cell::pathgridRemoved |
( |
| ) |
|
bool CSVRender::Cell::referenceableAboutToBeRemoved |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
- Returns
- Did this call result in a modification of the visual representation of this cell?
bool CSVRender::Cell::referenceableDataChanged |
( |
const QModelIndex & |
topLeft, |
|
|
const QModelIndex & |
bottomRight |
|
) |
| |
- Returns
- Did this call result in a modification of the visual representation of this cell?
bool CSVRender::Cell::referenceAboutToBeRemoved |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
- Returns
- Did this call result in a modification of the visual representation of this cell?
bool CSVRender::Cell::referenceAdded |
( |
const QModelIndex & |
parent, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
- Returns
- Did this call result in a modification of the visual representation of this cell?
bool CSVRender::Cell::referenceDataChanged |
( |
const QModelIndex & |
topLeft, |
|
|
const QModelIndex & |
bottomRight |
|
) |
| |
- Returns
- Did this call result in a modification of the visual representation of this cell?
bool CSVRender::Cell::removeObject |
( |
const std::string & |
id | ) |
|
|
private |
Ignored if cell does not have an object with the given ID.
- Returns
- Was the object deleted?
std::map< std::string, CSVRender::Object * >::iterator CSVRender::Cell::removeObject |
( |
std::map< std::string, Object * >::iterator |
iter | ) |
|
|
private |
void CSVRender::Cell::reset |
( |
unsigned int |
elementMask | ) |
|
Erase all overrides and restore the visual representation of the cell to its true state.
void CSVRender::Cell::selectAllWithSameParentId |
( |
int |
elementMask | ) |
|
void CSVRender::Cell::setCellArrows |
( |
int |
mask | ) |
|
void CSVRender::Cell::setCellMarker |
( |
| ) |
|
Set marker for this cell.
void CSVRender::Cell::setSelection |
( |
int |
elementMask, |
|
|
Selection |
mode |
|
) |
| |
void CSVRender::Cell::setSubMode |
( |
int |
subMode, |
|
|
unsigned int |
elementMask |
|
) |
| |
std::auto_ptr<CellArrow> CSVRender::Cell::mCellArrows[4] |
|
private |
std::auto_ptr<CellBorder> CSVRender::Cell::mCellBorder |
|
private |
std::auto_ptr<CellMarker> CSVRender::Cell::mCellMarker |
|
private |
osg::ref_ptr<osg::Group> CSVRender::Cell::mCellNode |
|
private |
std::auto_ptr<CellWater> CSVRender::Cell::mCellWater |
|
private |
bool CSVRender::Cell::mDeleted |
|
private |
std::string CSVRender::Cell::mId |
|
private |
std::map<std::string, Object *> CSVRender::Cell::mObjects |
|
private |
std::auto_ptr<Pathgrid> CSVRender::Cell::mPathgrid |
|
private |
int CSVRender::Cell::mSubMode |
|
private |
unsigned int CSVRender::Cell::mSubModeElementMask |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/opencs/view/render/cell.hpp
- /home/travis/build/OpenMW/openmw/apps/opencs/view/render/cell.cpp