Public Member Functions | |
InteriorsModel (const std::string &interiorIdString, const std::string &displayName, const std::string &associatedLandmarkMaterialName, const std::string &sourceVendor, const Space::EcefTangentBasis &tangentSpace, const Geometry::Bounds3D &localEcefBounds, const Geometry::Bounds3D &tangentSpaceBounds, const Entities::TCategoryToEntitiesMetadata &entitiesMetadata, const std::vector< InteriorsFloorModel * > &floorModels, const std::vector< InteriorsFloorCells * > &interiorsFloorCells, const int defaultFloorIndex, const std::vector< Eegeo::Streaming::MortonKey > &intersectingCellKeys, Materials::IInteriorRenderablesRepository &interiorRenderablesRepository) | |
const InteriorId | GetId () const |
const std::string & | GetName () const |
const std::string & | GetDisplayName () const |
const std::string & | GetAssociatedLandmarkMaterialName () const |
const std::string & | GetSourceVendor () const |
int | GetMiddleFloorIndex () const |
const TFloorModelVector & | GetFloors () const |
const InteriorsFloorModel & | GetFloorAtIndex (int floorIndex) const |
int | GetFloorCount () const |
const InteriorsFloorModel * | GetBottomFloor () const |
const int | GetDefaultFloorIndex () const |
int | FindFloorIndexWithFloorNumber (int floorNumber) const |
const Eegeo::Space::EcefTangentBasis & | GetTangentBasis () const |
const Geometry::Bounds3D & | GetLocalEcefBounds () const |
const Geometry::Bounds3D & | GetTangentSpaceBounds () const |
const std::vector < Eegeo::Streaming::MortonKey > & | GetIntersectingCellKeys () const |
float | GetBaseAltitude () const |
float | GetFloorAltitude (int floorIndex) const |
const Entities::InteriorsEntityMetadata * | GetMetadataForEntity (const std::string &entityId) const |
const Entities::InteriorsEntityMetadata * | GetMetadataForEntityFromCategory (const std::string &category, const std::string &entityId) const |
const InteriorsFloorCells * | GetFloorCells (int floorNumber) const |
InteriorsFloorCells * | GetFloorCellsMutable (int floorNumber) const |
std::vector< const InteriorsFloorCell * > | GetAllFloorCells () const |
std::vector < Eegeo::Streaming::MortonKey > | GetCurrentlyLoadedFloorCellKeys () const |
void | IncrementCellInMemoryReferenceCount () |
void | DecrementCellInMemoryReferenceCount () |
void | IncrementCellVisibleReferenceCount () |
void | DecrementCellVisibleReferenceCount () |
void | SetShouldPreventEviction (bool preventEviction) |
const bool | AnyCellsInMemory () const |
const bool | AnyCellsVisible () const |
const bool | ShouldPreventEviction () const |
void | RegisterCellsInMemoryChangedCallback (Helpers::ICallback1< const InteriorsModel & > &callback) |
void | UnregisterCellsInMemoryChangedCallback (Helpers::ICallback1< const InteriorsModel & > &callback) |
void | RegisterCellsVisibilityChangedCallback (Helpers::ICallback1< const InteriorsModel & > &callback) |
void | UnregisterCellsVisibilityChangedCallback (Helpers::ICallback1< const InteriorsModel & > &callback) |
void | RegisterPreventEvictionChangedCallback (Helpers::ICallback1< const InteriorsModel & > &callback) |
void | UnregisterPreventEvictionChangedCallback (Helpers::ICallback1< const InteriorsModel & > &callback) |
Additional Inherited Members | |
Private Member Functions inherited from Eegeo::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |