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.ImageProvider から継承された入れ子のクラス/インタフェース
ImageProvider.ImageListener
 
メソッドの概要
 double getRealHeight()
          Get height of the real world coordinate area.
 double getRealWidth()
          Get width of the real world coordinate area.
 ScreenLocation realToScreen(Location realLocation)
           
 ScreenPosition realToScreen(Position realPosition)
           
 void realToScreenOut(Location realLocation, ScreenLocation screenLocation)
          Convert real location to screen location.
 void realToScreenOut(Position realPosition, ScreenPosition screenPosition)
          Convert real position to screen position.
 Location screenToReal(ScreenLocation screenLocation)
           
 Position screenToReal(ScreenPosition screenPosition)
           
 void screenToRealOut(ScreenLocation screenLocation, Location realLocation)
          Convert screen location to real location.
 void screenToRealOut(ScreenPosition screenPosition, Position realPosition)
          Convert screen position to real position.
 
インタフェース jp.digitalmuseum.mr.service.ImageProvider から継承されたメソッド
addImageListener, drawImage, drawImage, getHeight, getImage, getImageData, getWidth, removeImageListener
 
インタフェース 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
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 

メソッドの詳細

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 http://mr.digitalmuseum.jp/