#include <SurfaceData.h>
Public Types |
|
enum | LoadState { NotAvailable, NotLoaded, Loading, Loaded } |
SurfaceData is a reference-counted (therefore easily shareable), vector container of SurfaceDatum objects. More... |
|
Public Member Functions |
|
SurfaceData () | |
SurfaceData::LoadState | getLoadState () const |
void | setLoadState (SurfaceData::LoadState state) |
virtual const awString::IString & | getOwnedObjectType () const |
Protected Member Functions |
|
virtual | ~SurfaceData () |
enum LoadState |
SurfaceData is a reference-counted (therefore easily shareable), vector container of SurfaceDatum objects.
When this container is deleted, it will automatically delete the SurfaceDatum objects that it contains. Objects of this class are intended to be shared by multiple GeometryData objects representing different level of detail meshes of the same surface.
{ NotAvailable, // The spline data is not available. NotLoaded, // The spline data is not loaded. Loading, // The spline data is being loaded (ex. from file). Loaded // The spline data is loaded, and ready for use. } LoadState;
SurfaceData | ( | ) |
virtual ~SurfaceData | ( | ) | [protected, virtual] |
SurfaceData::LoadState getLoadState | ( | ) | const [inline] |
{ return myLoadState; }
void setLoadState | ( | SurfaceData::LoadState | state | ) | [inline] |
{ myLoadState = state; }
virtual const awString::IString& getOwnedObjectType | ( | ) | const [virtual] |
Implements OwnedObject.