#include <vectorlayerset.h>
This could be dialog based allowing the user to reorder, delete, and hide layers. Currently loading of layers in general is not available.
Definition at line 17 of file vectorlayerset.h.
Public Slots | |
void | transformDatasets () |
Signals | |
void | activeLayerChanged (int) |
Public Member Functions | |
VectorLayerSet () | |
~VectorLayerSet () | |
void | addLayer (VectorLayer *lyr) |
void | delLayer (int) |
VectorLayer * | getLayer (int ilyr) |
unsigned int | numLayers () const |
void | setActiveLayer (int ilyr) |
int | getActiveLayer () const |
Protected Attributes | |
std::vector< VectorLayer * > | mLayerSet |
int | mActiveLayer |
VectorLayerSet::VectorLayerSet | ( | ) |
Definition at line 4 of file vectorlayerset.cpp.
VectorLayerSet::~VectorLayerSet | ( | ) |
void VectorLayerSet::addLayer | ( | VectorLayer * | lyr | ) |
Definition at line 28 of file vectorlayerset.cpp.
References mLayerSet.
Referenced by GLIMSProject::setup().
void VectorLayerSet::delLayer | ( | int | ) |
Definition at line 32 of file vectorlayerset.cpp.
VectorLayer * VectorLayerSet::getLayer | ( | int | ilyr | ) |
Definition at line 36 of file vectorlayerset.cpp.
References mLayerSet.
Referenced by VectorEditor::activeLayerChanged(), VectorEditor::clearAllLayerSelections(), and View::paintEvent().
unsigned int VectorLayerSet::numLayers | ( | ) | const |
Definition at line 24 of file vectorlayerset.cpp.
References mLayerSet.
Referenced by VectorEditor::clearAllLayerSelections(), and View::paintEvent().
void VectorLayerSet::setActiveLayer | ( | int | ilyr | ) |
Definition at line 13 of file vectorlayerset.cpp.
References activeLayerChanged(), mActiveLayer, and mLayerSet.
Referenced by MainToolbar::setGIDTool(), MainToolbar::setLineTool(), and GLIMSProject::setup().
int VectorLayerSet::getActiveLayer | ( | ) | const |
void VectorLayerSet::transformDatasets | ( | ) | [inline, slot] |
void VectorLayerSet::activeLayerChanged | ( | int | ) | [signal] |
Referenced by setActiveLayer().
std::vector<VectorLayer*> VectorLayerSet::mLayerSet [protected] |
Definition at line 20 of file vectorlayerset.h.
Referenced by addLayer(), getLayer(), numLayers(), setActiveLayer(), transformDatasets(), and ~VectorLayerSet().
int VectorLayerSet::mActiveLayer [protected] |
Definition at line 21 of file vectorlayerset.h.
Referenced by getActiveLayer(), and setActiveLayer().
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |