neom_ar library
NeomAR — Cross-platform AR module for Cyberneom.
Wraps ARKit (iOS) and ARCore (Android) behind a unified interface. Provides distance measurement, plane detection, and room scanning for acoustic levitation chamber analysis.
Architecture:
- ArService interface → ArkitArService (iOS) / ArcoreArService (Android) / StubArService (web)
- ArPlatformFactory selects the correct implementation at runtime
- ArMeasureController manages the measurement flow via SintController
- ArMeasurePage provides the UI with AR camera view + dimension assignment
Classes
- ArcoreArService
- ARCore implementation of ArService for Android.
- ArDeTranslations
- ArEnTranslations
- ArEsTranslations
- ArFrTranslations
- ArHitResult
- Normalized hit test result from ARKit or ARCore.
- ArkitArService
- ARKit implementation of ArService for iOS.
- ArMeasurement
- A distance measurement between two AR points.
- ArMeasurementImpl
- In-memory measurement tracking for AR sessions.
- ArMeasurementService
- Interface for AR-based distance and room measurements.
- ArPlane
- Normalized detected plane from ARKit or ARCore.
- ArPlatformFactory
- Factory that returns the correct AR service for the current platform.
- ArPose
- Unified 3D pose (position + rotation) across ARKit and ARCore.
- ArRoomMeasurement
- A complete room measurement with up to 3 dimensions.
- ArRoutes
- ArService
- Unified AR service interface — abstracts ARKit and ARCore.
- StubArService
- Stub AR service for platforms without AR support (web, desktop).
Enums
- ArHitType
- Type of hit test result, ordered by accuracy.
- ArMeasureState
- State of a measurement session.
- ArPlaneType
- Type of detected plane.
- ArPlatform
- Which AR platform is active.
- ArScanPhase
- Room scan progress.
- ArTrackingState
- AR session tracking state.