jp.digitalmuseum.mr.service
クラス HomographyCoordProviderAbstractImpl

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.service.ServiceAbstractImpl
      上位を拡張 jp.digitalmuseum.mr.service.HomographyCoordProviderAbstractImpl
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Runnable, EventProvider, CoordProvider, HomographyCoordProvider, ImageProvider, Service
直系の既知のサブクラス:
Camera

public abstract class HomographyCoordProviderAbstractImpl
extends ServiceAbstractImpl
implements HomographyCoordProvider
Abstract implementation of CoordProvider. This class calculates linear mapping between coordinates using homography.
作成者:
Jun KATO
関連項目:
CoordProvider, 直列化された形式

入れ子のクラスの概要
 
インタフェース jp.digitalmuseum.mr.service.ImageProvider から継承された入れ子のクラス/インタフェース
ImageProvider.ImageListener
 
フィールドの概要
static double DEFAULT_REAL_HEIGHT
           
static double DEFAULT_REAL_WIDTH
           
 
クラス jp.digitalmuseum.mr.service.ServiceAbstractImpl から継承されたフィールド
DEFAULT_INTERVAL
 
コンストラクタの概要
HomographyCoordProviderAbstractImpl()
           
 
メソッドの概要
 double getRealHeight()
          Get height of the real world coordinate area.
 double getRealWidth()
          Get width of the real world coordinate area.
 ScreenRectangle getRectangle()
           
 void getRectangleOut(ScreenRectangle rectangle)
           
 ScreenLocation realToScreen(Location location)
           
 ScreenPosition realToScreen(Position position)
           
 void realToScreenOut(Location location, ScreenLocation screenLocation)
          Convert real location to screen location.
 void realToScreenOut(Position position, ScreenPosition screenPosition)
          Convert real position to screen position.
 void resetRectangle()
           
 Location screenToReal(ScreenLocation screenLocation)
           
 Position screenToReal(ScreenPosition screenPosition)
           
 void screenToRealOut(ScreenLocation screenLocation, Location location)
          Convert screen location to real location.
 void screenToRealOut(ScreenPosition screenPosition, Position position)
          Convert screen position to real position.
 void setRealHeight(double realHeight)
          Set height of the real world coordinate area.
 void setRealSize(double realWidth, double realHeight)
          Set size of the real world coordinate area.
 void setRealWidth(double realWidth)
          Set width of the real world coordinate area.
 void setRectangle(ScreenRectangle rectangle)
           
 void setRectangleCorner(int i, int x, int y)
           
 void setRectangleCorner(int i, ScreenPosition p)
           
 
クラス jp.digitalmuseum.mr.service.ServiceAbstractImpl から継承されたメソッド
addEventListener, dispose, distributeEvent, getAliveTime, getConfigurationComponent, getInterval, getName, getServiceGroup, initialize, isDisposed, isPaused, isStarted, onPause, onResume, onStart, onStop, pause, removeEventListener, resume, setInterval, setServiceGroup, start, start, stop, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース 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
 
フィールドの詳細

DEFAULT_REAL_WIDTH

public static final double DEFAULT_REAL_WIDTH
関連項目:
定数フィールド値

DEFAULT_REAL_HEIGHT

public static final double DEFAULT_REAL_HEIGHT
関連項目:
定数フィールド値
コンストラクタの詳細

HomographyCoordProviderAbstractImpl

public HomographyCoordProviderAbstractImpl()
メソッドの詳細

getRealWidth

public double getRealWidth()
インタフェース CoordProvider の記述:
Get width of the real world coordinate area.
定義:
インタフェース CoordProvider 内の getRealWidth
戻り値:

getRealHeight

public double getRealHeight()
インタフェース CoordProvider の記述:
Get height of the real world coordinate area.
定義:
インタフェース CoordProvider 内の getRealHeight
戻り値:

setRealSize

public void setRealSize(double realWidth,
                        double realHeight)
インタフェース HomographyCoordProvider の記述:
Set size of the real world coordinate area.
定義:
インタフェース HomographyCoordProvider 内の setRealSize

setRealWidth

public void setRealWidth(double realWidth)
インタフェース HomographyCoordProvider の記述:
Set width of the real world coordinate area.
定義:
インタフェース HomographyCoordProvider 内の setRealWidth

setRealHeight

public void setRealHeight(double realHeight)
インタフェース HomographyCoordProvider の記述:
Set height of the real world coordinate area.
定義:
インタフェース HomographyCoordProvider 内の setRealHeight

getRectangle

public ScreenRectangle getRectangle()
定義:
インタフェース HomographyCoordProvider 内の getRectangle
戻り値:
Returns a rectangle object which defines screen area. The value is not a copy.

getRectangleOut

public void getRectangleOut(ScreenRectangle rectangle)
定義:
インタフェース HomographyCoordProvider 内の getRectangleOut
関連項目:
HomographyCoordProvider.getRectangle()

setRectangle

public void setRectangle(ScreenRectangle rectangle)
定義:
インタフェース HomographyCoordProvider 内の setRectangle

setRectangleCorner

public void setRectangleCorner(int i,
                               ScreenPosition p)
定義:
インタフェース HomographyCoordProvider 内の setRectangleCorner

setRectangleCorner

public void setRectangleCorner(int i,
                               int x,
                               int y)
定義:
インタフェース HomographyCoordProvider 内の setRectangleCorner

resetRectangle

public void resetRectangle()
定義:
インタフェース HomographyCoordProvider 内の resetRectangle

realToScreen

public ScreenLocation realToScreen(Location location)
定義:
インタフェース CoordProvider 内の realToScreen
戻り値:
関連項目:
CoordProvider.realToScreenOut(Location, ScreenLocation)

realToScreen

public ScreenPosition realToScreen(Position position)
定義:
インタフェース CoordProvider 内の realToScreen
戻り値:
関連項目:
CoordProvider.realToScreenOut(Position, ScreenPosition)

realToScreenOut

public void realToScreenOut(Location location,
                            ScreenLocation screenLocation)
インタフェース CoordProvider の記述:
Convert real location to screen location.
定義:
インタフェース CoordProvider 内の realToScreenOut

realToScreenOut

public void realToScreenOut(Position position,
                            ScreenPosition screenPosition)
インタフェース CoordProvider の記述:
Convert real position to screen position.
定義:
インタフェース CoordProvider 内の realToScreenOut

screenToReal

public Location screenToReal(ScreenLocation screenLocation)
定義:
インタフェース CoordProvider 内の screenToReal
戻り値:
関連項目:
CoordProvider.screenToRealOut(ScreenLocation, Location)

screenToReal

public Position screenToReal(ScreenPosition screenPosition)
定義:
インタフェース CoordProvider 内の screenToReal
戻り値:
関連項目:
CoordProvider.screenToRealOut(ScreenPosition, Position)

screenToRealOut

public void screenToRealOut(ScreenLocation screenLocation,
                            Location location)
インタフェース CoordProvider の記述:
Convert screen location to real location.
定義:
インタフェース CoordProvider 内の screenToRealOut

screenToRealOut

public void screenToRealOut(ScreenPosition screenPosition,
                            Position position)
インタフェース CoordProvider の記述:
Convert screen position to real position.
定義:
インタフェース CoordProvider 内の screenToRealOut


Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/