gumbo.graphic.space
Interface DisplaySpaceConfig

All Known Implementing Classes:
AbstractDisplaySpaceConfig

public interface DisplaySpaceConfig

Configuration delegate for a DisplaySpace.

Version:
$Revision: 1.2 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Method Summary
 int getDisplayPolicy()
          GraphicSpaces.DISPLAY_SCALE_POLICY_???
 Point3 getDisplayPosition(Point3 retVal)
          Gets the display origin position in screen coordinates.
 double getDisplayScale()
          display image scale factor about the display origin; view offset, view image, and display contents appear affected
 Size3 getDisplaySize(Size3 retVal)
          Gets the display size in screen coordinates.
 ScreenSpace getScreenSpace()
           
 Tuple3 getViewOffset(Tuple3 retVal)
          The offset from display origin to view origin; unaffected by view scale.
 ViewSpace getViewSpace()
           
 void setDisplayPolicy(int policy)
           
 void setDisplayPosition(Point3 pos)
           
 void setDisplayScale(double scale)
           
 void setDisplaySize(Size3 size)
           
 void setViewOffset(Tuple3 offset)
           
 void setViewSpace(ViewSpace view)
           
 

Method Detail

getViewSpace

public ViewSpace getViewSpace()

setViewSpace

public void setViewSpace(ViewSpace view)

getScreenSpace

public ScreenSpace getScreenSpace()

getViewOffset

public Tuple3 getViewOffset(Tuple3 retVal)
The offset from display origin to view origin; unaffected by view scale.

Parameters:
retVal - Return value object. The size. Never null.
Returns:
Reference to retVal. Never null.

setViewOffset

public void setViewOffset(Tuple3 offset)

getDisplayPolicy

public int getDisplayPolicy()
GraphicSpaces.DISPLAY_SCALE_POLICY_???


setDisplayPolicy

public void setDisplayPolicy(int policy)

getDisplayScale

public double getDisplayScale()
display image scale factor about the display origin; view offset, view image, and display contents appear affected


setDisplayScale

public void setDisplayScale(double scale)

getDisplaySize

public Size3 getDisplaySize(Size3 retVal)
Gets the display size in screen coordinates.

Parameters:
retVal - Return value object. The size. Never null.
Returns:
Reference to retVal. Never null.

setDisplaySize

public void setDisplaySize(Size3 size)

getDisplayPosition

public Point3 getDisplayPosition(Point3 retVal)
Gets the display origin position in screen coordinates.

Parameters:
retVal - Return value object. The position. Never null.
Returns:
Reference to retVal. Never null.

setDisplayPosition

public void setDisplayPosition(Point3 pos)