jp.digitalmuseum.mr.service
インタフェース CoordProvider
-
すべてのスーパーインタフェース:
-
EventProvider, ImageProvider, java.lang.Runnable, java.io.Serializable, Service
-
既知のサブインタフェースの一覧:
- HomographyCoordProvider
-
既知の実装クラスの一覧:
-
Camera, Hakoniwa, HomographyCoordProviderAbstractImpl
-
public interface CoordProvider
- extends ImageProvider
Implementation class of this interface provides a mapping from a screen coordinate to a world coordinate.
- 作成者:
- Jun KATO
- 関連項目:
-
LocationProvider
,
HomographyCoordProvider
インタフェース jp.digitalmuseum.mr.service.Service から継承されたメソッド |
dispose, getAliveTime, getConfigurationComponent, getInterval, getName, getServiceGroup, isDisposed, isPaused, isStarted, pause, resume, setInterval, setServiceGroup, start, start, stop |
インタフェース java.lang.Runnable から継承されたメソッド |
run |
getRealWidth
double getRealWidth()
- Get width of the real world coordinate area.
- 戻り値:
getRealHeight
double getRealHeight()
- Get height of the real world coordinate area.
- 戻り値:
screenToReal
Position screenToReal(ScreenPosition screenPosition)
throws java.lang.IllegalArgumentException
- パラメータ:
-
screenPosition
-
- 戻り値:
-
-
例外:
java.lang.IllegalArgumentException
- 関連項目:
screenToRealOut(ScreenPosition, Position)
screenToReal
Location screenToReal(ScreenLocation screenLocation)
throws java.lang.IllegalArgumentException
- パラメータ:
-
screenLocation
-
- 戻り値:
-
-
例外:
java.lang.IllegalArgumentException
- 関連項目:
screenToRealOut(ScreenLocation, Location)
screenToRealOut
void screenToRealOut(ScreenPosition screenPosition,
Position realPosition)
throws java.lang.IllegalArgumentException
- Convert screen position to real position.
- パラメータ:
-
screenPosition
- -
realPosition
-
-
例外:
java.lang.IllegalArgumentException
screenToRealOut
void screenToRealOut(ScreenLocation screenLocation,
Location realLocation)
throws java.lang.IllegalArgumentException
- Convert screen location to real location.
- パラメータ:
-
screenLocation
- -
realLocation
-
-
例外:
java.lang.IllegalArgumentException
realToScreen
ScreenPosition realToScreen(Position realPosition)
- パラメータ:
-
realPosition
-
- 戻り値:
- 関連項目:
realToScreenOut(Position, ScreenPosition)
realToScreen
ScreenLocation realToScreen(Location realLocation)
- パラメータ:
-
realLocation
-
- 戻り値:
- 関連項目:
realToScreenOut(Location, ScreenLocation)
realToScreenOut
void realToScreenOut(Position realPosition,
ScreenPosition screenPosition)
- Convert real position to screen position.
- パラメータ:
-
realPosition
- -
screenPosition
-
realToScreenOut
void realToScreenOut(Location realLocation,
ScreenLocation screenLocation)
- Convert real location to screen location.
- パラメータ:
-
realLocation
- -
screenLocation
-
Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/