GLIMSView Source Code Documentation

VectorLayerSet Class Reference

#include <vectorlayerset.h>

Inheritance diagram for VectorLayerSet:

Inheritance graph
[legend]

List of all members.


Detailed Description

A container of VectorLayer objects for managment of the layers available to the user.

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)
VectorLayergetLayer (int ilyr)
unsigned int numLayers () const
void setActiveLayer (int ilyr)
int getActiveLayer () const

Protected Attributes

std::vector< VectorLayer * > mLayerSet
int mActiveLayer

Constructor & Destructor Documentation

VectorLayerSet::VectorLayerSet (  ) 

Definition at line 4 of file vectorlayerset.cpp.

VectorLayerSet::~VectorLayerSet (  ) 

Definition at line 8 of file vectorlayerset.cpp.

References mLayerSet.


Member Function Documentation

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  ) 

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  ) 

int VectorLayerSet::getActiveLayer (  )  const

Definition at line 20 of file vectorlayerset.cpp.

References mActiveLayer.

void VectorLayerSet::transformDatasets (  )  [inline, slot]

Definition at line 35 of file vectorlayerset.h.

References mLayerSet.

void VectorLayerSet::activeLayerChanged ( int   )  [signal]

Referenced by setActiveLayer().


Member Data Documentation

std::vector<VectorLayer*> VectorLayerSet::mLayerSet [protected]

Definition at line 21 of file vectorlayerset.h.

Referenced by getActiveLayer(), and setActiveLayer().


The documentation for this class was generated from the following files:

Home | Search | Disclaimers & Privacy | Contact Us
GLIMSView Maintainer: dsoltesz@usgs.gov