WhirlyGlobe
1.1
A 3D interactive globe toolkit for ios
|
#include <Drawable.h>
Public Member Functions | |
DrawableChangeRequest (SimpleIdentity drawId) | |
Construct with the ID of the Drawable we'll be changing. | |
void | execute (GlobeScene *scene, WhirlyGlobeView *view) |
This will look for the drawable by ID and then call execute2() | |
virtual void | execute2 (GlobeScene *scene, Drawable *draw)=0 |
This is the one you override. | |
Protected Attributes | |
SimpleIdentity | drawId |
Drawable Change Request is a subclass of the change request for drawables. This is, itself, subclassed for specific change requests.
virtual void WhirlyGlobe::DrawableChangeRequest::execute2 | ( | GlobeScene * | scene, |
Drawable * | draw | ||
) | [pure virtual] |
This is the one you override.
This is called by execute if there's a drawable to modify.
Implemented in WhirlyGlobe::VisibilityChangeRequest, WhirlyGlobe::OnOffChangeRequest, and WhirlyGlobe::ColorChangeRequest.