Migrates remaining include, viewer and DDS headers to rtiddsgen API
Converts accessor calls to plain member access and fixes SituationMap CMake.
This commit is contained in:
5 files changed
+85
-21
No files matched your search
+7
-7
@@ -37,7 +37,7 @@ public:
|
||||
|
||||
const StructureElement &data() const { return m_data; }
|
||||
void updateData(const StructureElement &data, int floorId) { m_data = data; m_floor = floorId; }
|
||||
int32_t id() const { return m_data.id(); }
|
||||
int32_t id() const { return m_data.id; }
|
||||
int32_t associatedAssetId() const { return m_associatedAssetId; }
|
||||
bool hasAssociatedAsset() const { return m_associatedAssetId > 0; }
|
||||
bool hasAssociatedAssetDefect() const { return m_hasAssociatedAssetDefect; }
|
||||
@@ -53,13 +53,13 @@ public:
|
||||
//@}
|
||||
|
||||
bool isValid() const { return m_isValid; }
|
||||
Core::GeoPosition geoPosition() const { return m_data.geoPosition(); }
|
||||
Core::RelativePosition relPosition() const { return m_data.relPosition(); }
|
||||
MountingPointType type() const { return m_data.mountingPointTypeId(); }
|
||||
int32_t buildingId() const { return m_data.mainStructureElementId(); }
|
||||
Core::GeoPosition geoPosition() const { return m_data.geoPosition; }
|
||||
Core::RelativePosition relPosition() const { return m_data.relPosition; }
|
||||
MountingPointType type() const { return m_data.mountingPointTypeId; }
|
||||
int32_t buildingId() const { return m_data.mainStructureElementId; }
|
||||
QString name() const;
|
||||
QString fileName() const;
|
||||
QByteArray properties() const { return m_data.properties().c_str(); }
|
||||
QByteArray properties() const { return m_data.properties.c_str(); }
|
||||
|
||||
QImage toImage(int32_t edgeLength = 100) const;
|
||||
bool writeFile(int32_t edgeLength = 25) const;
|
||||
@@ -126,7 +126,7 @@ public:
|
||||
|
||||
private:
|
||||
static QMap<MountingPointType_def::type, MpNameImageData> &getImageTableInternal();
|
||||
static void insertHelper(MountingPointType_def::type type,
|
||||
static void insertHelper(MountingPointType::type type,
|
||||
const QString &name,
|
||||
const QString &colorCodeGray,
|
||||
const QString &colorCodeGreen,
|
||||
|
||||
Reference in new issue
Block a user