|
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#include <Cullable.h>
Public Member Functions | |
| Cullable () | |
| Construct empty. | |
| void | addDrawable (Drawable *drawable) |
| Add the given drawable to our set. | |
| void | remDrawable (Drawable *drawable) |
| Remove a given drawable if it's there. | |
| const std::set< Drawable * > & | getDrawables () const |
| Get the set of drawables associated with the cullable. | |
| GeoMbr | getGeoMbr () const |
| Get the bounding box for this cullable. | |
| void | setGeoMbr (const GeoMbr &inMbr) |
| Set the bounding box. | |
Public Attributes | |
| Point3f | cornerPoints [4] |
| 3D locations (in model space) of the corners | |
| Vector3f | cornerNorms [4] |
| Normal vectors (in model space) for the corners. | |
| GeoMbr | geoMbr |
| Geographic coordinates of our bounding box. | |
| std::set< Drawable * > | drawables |
This is a representation of cullable geometry. It has geometry/direction info and a list of associated Drawables. Cullables are always rectangles in lon/lat. In general, users shouldn't use these. Your drawables will be sorted into them behind the scenes.