WhirlyGlobe  1.2
A 3D interactive globe toolkit for iOS
WhirlyGlobe::MarkerGeneratorAddRequest Class Reference

#include <MarkerGenerator.h>

Inheritance diagram for WhirlyGlobe::MarkerGeneratorAddRequest:
WhirlyGlobe::GeneratorChangeRequest WhirlyGlobe::ChangeRequest

List of all members.

Public Member Functions

 MarkerGeneratorAddRequest (SimpleIdentity genID, MarkerGenerator::Marker *marker)
 Construct with the marker generator's ID and the marker.
 MarkerGeneratorAddRequest (SimpleIdentity genID, const std::vector< MarkerGenerator::Marker * > &markers)
 Construct with a vector fo markers to add.
virtual void execute2 (GlobeScene *scene, Generator *gen)
 Override this method to do whatever you want to do to the generator.

Protected Attributes

std::vector
< MarkerGenerator::Marker * > 
markers

Detailed Description

The Marker Generator Add Request comes from the MarkerLayer and is routed through the renderer to the MarkerGenerator which keeps track of it. Markers are then referred to by ID. Markers passed in are deleted by the request object.


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