Meshroom/meshroom/ui/qml/Viewer3D/MediaLoaderEntity.qml
Candice Bentéjac 3d67f83090 [Viewer3D] Display resection IDs of the active 3D model
Instead of displaying the resection IDs of the 3D model that was loaded
last, update the display whenever the active model selection changes.
2023-11-07 16:45:40 +01:00

26 lines
647 B
QML

import QtQuick 2.15
import Qt3D.Core 2.15
/**
* MediaLoaderEntity provides a unified interface for accessing statistics
* of a 3D media independently from the way it was loaded.
*/
Entity {
property url source
/// Number of vertices
property int vertexCount
/// Number of faces
property int faceCount
/// Number of cameras
property int cameraCount
/// Number of textures
property int textureCount
/// Number of resection IDs
property int resectionIdCount
/// Current resection ID
property int resectionId
/// Groups of cameras based on resection IDs
property var resectionGroups
}