GeometryDataLoader is responsible for loading GeometryData.
A different class should be derived for each different heavy data source (ex. from file, procedurally, etc.).
#include <GeometryDataLoader.h>
Public Member Functions |
|
GeometryDataLoader () | |
virtual bool | loadGeometry (awSupport::GeometryDataRef data)=0 |
This method should load the given GeometryData
with geometry data and return true if the load was completed
successfully. |
|
virtual bool | loadSpline (awSupport::SurfaceDataRef data)=0 |
This method should load the given SurfaceData
with spline data and return true if the load was completed
successfully. |
|
virtual awString::IString | getGeometryId () |
Used to release DataLoader when needed.
|
|
Protected Member Functions |
|
virtual | ~GeometryDataLoader () |
virtual ~GeometryDataLoader | ( | ) | [protected, virtual] |
virtual bool loadGeometry | ( | awSupport::GeometryDataRef | data | ) | [pure virtual] |
This method should load the given GeometryData with geometry data and return true if the load was completed successfully.
Implemented in ObjectApfDataLoader.
virtual bool loadSpline | ( | awSupport::SurfaceDataRef | data | ) | [pure virtual] |
This method should load the given SurfaceData with spline data and return true if the load was completed successfully.
Implemented in ObjectApfDataLoader.
virtual awString::IString getGeometryId | ( | ) | [virtual] |
Used to release DataLoader when needed.