A collection of helper tools for Structure SDK
You can consume it as a Swift Package: Adding package dependencies to your app
Import into your Swift source code:
import StructureKit
StructureKit based on Structure SDK - compatible interfaces.
Current version is compatible with Structure SDK 2.*
and 3.*
.
To seamlessly use Structure SDK types together with StructureKit, add the following code in your project:
import StructureKit
extension STMesh : STKMesh {
}
extension STColorFrame : STKColorFrame {
}
extension STIntrinsics : STKIntrinsics {
}
extension STDepthFrame : STKDepthFrame {
public func intrinsics() -> STKIntrinsics {
let i : STIntrinsics = self.intrinsics()
return i;
}
}