osgEarth 2.1.1
|
Public Types | |
enum | ActionType { ADD_IMAGE_LAYER, REMOVE_IMAGE_LAYER, MOVE_IMAGE_LAYER, ADD_ELEVATION_LAYER, REMOVE_ELEVATION_LAYER, MOVE_ELEVATION_LAYER, ADD_MODEL_LAYER, REMOVE_MODEL_LAYER, MOVE_MODEL_LAYER, ADD_MASK_LAYER, REMOVE_MASK_LAYER, UNSPECIFIED } |
Public Member Functions | |
MapModelChange (ActionType action, Revision mapModeRev, Layer *layer, int firstIndex=-1, int secondIndex=-1) | |
const ActionType & | getAction () const |
const Revision & | getRevision () const |
int | getFirstIndex () const |
int | getSecondIndex () const |
Layer * | getLayer () const |
ImageLayer * | getImageLayer () const |
ElevationLayer * | getElevationLayer () const |
ModelLayer * | getModelLayer () const |
MaskLayer * | getMaskLayer () const |
Private Attributes | |
ActionType | _action |
osg::ref_ptr< Layer > | _layer |
Revision | _modelRevision |
int | _firstIndex |
int | _secondIndex |
osgEarth::MapModelChange::MapModelChange | ( | ActionType | action, |
Revision | mapModeRev, | ||
Layer * | layer, | ||
int | firstIndex = -1 , |
||
int | secondIndex = -1 |
||
) | [inline] |
Definition at line 60 of file Map.
: _action(action), _layer(layer), _modelRevision(mapModeRev), _firstIndex(firstIndex), _secondIndex(secondIndex) { }
const ActionType& osgEarth::MapModelChange::getAction | ( | ) | const [inline] |
ElevationLayer* osgEarth::MapModelChange::getElevationLayer | ( | ) | const [inline] |
int osgEarth::MapModelChange::getFirstIndex | ( | ) | const [inline] |
Definition at line 65 of file Map.
{ return _firstIndex; }
ImageLayer* osgEarth::MapModelChange::getImageLayer | ( | ) | const [inline] |
Layer* osgEarth::MapModelChange::getLayer | ( | ) | const [inline] |
MaskLayer* osgEarth::MapModelChange::getMaskLayer | ( | ) | const [inline] |
ModelLayer* osgEarth::MapModelChange::getModelLayer | ( | ) | const [inline] |
const Revision& osgEarth::MapModelChange::getRevision | ( | ) | const [inline] |
Definition at line 64 of file Map.
{ return _modelRevision; }
int osgEarth::MapModelChange::getSecondIndex | ( | ) | const [inline] |
Definition at line 66 of file Map.
{ return _secondIndex; }
ActionType osgEarth::MapModelChange::_action [private] |
int osgEarth::MapModelChange::_firstIndex [private] |
osg::ref_ptr<Layer> osgEarth::MapModelChange::_layer [private] |
int osgEarth::MapModelChange::_secondIndex [private] |