• David Thompson's avatar
    Make models a resource. · 50be9983
    David Thompson authored
    + Convert model Manager to inherit Resource.
    + Convert model Entity to inherit ResourceComponent.
    Because ResourceComponents are managed as shared pointers,
    this means the model manager's map from UUIDs to Entity objects
    turns into a map from UUIDs to shared pointers.
    Also, ResourceComponents store their UUID.
    This is fine but much of the model manager API assumes the UUID
    is stored separately (as the key to the map from UUIDs to Entity
    instances). This commit makes some preliminary changes so things
    compile but the API could be further cleaned up to deal with
    Entity creation (with or without a UUID specified).
BathymetryHelper.cxx 11.5 KB