public final class PvDisplayOption extends P_Vector
PvDisplayLoader
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
SHOW_3DLOOK
Enable 3D look of lines and points.
|
static int |
SHOW_ADAPTIVE_SIZE
Enable adaptive size of lines and points.
|
static int |
SHOW_ANTIALIAS
Enable antialiasing of display.
|
static int |
SHOW_AUTOCENTER
Enable auto rotation in display.
|
static int |
SHOW_AUTOFIT
Enable auto rotation in display.
|
static int |
SHOW_AUTOROTATE
Enable auto rotation in display.
|
static int |
SHOW_AXES
Enable drawing of a coordinate axes around scene in the display.
|
static int |
SHOW_AXES_AUTO_BOUNDS
Flag specifies whether axes is in auto-bounds mode.
|
static int |
SHOW_AXES_AUTO_CONFIGURE
Deprecated.
since JavaView 3.62.001, use SHOW_AXES_AUTO_HASHING.
|
static int |
SHOW_AXES_AUTO_HASHING
Flag specifies whether axes is in auto-hashing mode.
|
static int |
SHOW_AXES_AUTO_LAYOUT
Flag specifies whether axes is in auto-layout mode.
|
static int |
SHOW_AXES_LABEL
Deprecated.
used SHOW_AXES_NUMBERS
|
static int |
SHOW_AXES_NAME
Enable drawing of name of coordinate axes.
|
static int |
SHOW_AXES_NUMBERS
Enable drawing of numbers of coordinate axes.
|
static int |
SHOW_AXES_TITLE
Deprecated.
use SHOW_AXES_NAME
|
static int |
SHOW_BACKGROUND_IMAGE
Enable drawing of image in the background.
|
static int |
SHOW_BORDER
Enable drawing of sunk border around display canvas.
|
static int |
SHOW_BOUNDING_BOX
Enable drawing of bounding box around scene.
|
static int |
SHOW_BOX_RATIO
Enable usage of different scaling of axis.
|
static int |
SHOW_CENTER
Enable drawing of center of geometries.
|
static int |
SHOW_CLEAR_SCREEN
Enable reduction of number of edge drawings, each face edge is drawn only once.
|
static int |
SHOW_CLIP_AUTO_BOUNDS
Flag specifies whether clipRange is in auto-bounds mode.
|
static int |
SHOW_CLIP_BOUNDS
Enable clipping of coordinate axes.
|
static int |
SHOW_COPYRIGHT
Enable drawing of copyright information.
|
static int |
SHOW_CROSS
Enable drawing of cross at current cursor position.
|
static int |
SHOW_DEPTHCUE
Enable drawing of sunk border around display canvas.
|
static int |
SHOW_DIRECT_SELECT
Enable selection of geometries by simple pick with mouse.
|
static int |
SHOW_DOUBLEBUFFER
Enable drawing of a double buffered image in display canvas, default enabled.
|
static int |
SHOW_DRAWING
Enable drawing in display canvas, default enabled.
|
static int |
SHOW_EDGE_AURA
Enable drawing of aura in background color around each edge.
|
static int |
SHOW_EDGES_ONCE
Enable reduction of number of edge drawings, each face edge is drawn only once.
|
static int |
SHOW_FILL_DISPLAY
Determines if filling of display is enabled.
|
static int |
SHOW_FOREGROUND_IMAGE
Enable drawing of image in the foreground.
|
static int |
SHOW_FRAME
Enable drawing of a small coordinate frame in the lower left corner of the display.
|
static int |
SHOW_INFO
Enable drawing of additional information close to cursor in overlay window.
|
static int |
SHOW_INTEGER_PICK
Enable picking constraint to an integer grid.
|
static int |
SHOW_LIGHTING
Enable drawing of sunk border around display canvas.
|
static int |
SHOW_LOCAL_TRANSFORM
Use local coordinate system of geometry to calculate transformations.
|
static int |
SHOW_MAGNET
Attach cursor to vertices of nearby.
|
static int |
SHOW_SINGLE
Restrict drawing to a single geometry at the same time.
|
static int |
SHOW_SORTING
Enable sorting of geometry items according to Painter's algorithm.
|
static int |
SHOW_TITLE
Enable showing of title of display north in the display.
|
static int |
SHOW_VISIBLE
Enable visibility of display.
|
static int |
SHOW_XY_GRID
Enable drawing of coordinate grid in xy plane.
|
static int |
SHOW_XZ_GRID
Enable drawing of coordinate grid in xz plane.
|
static int |
SHOW_YZ_GRID
Enable drawing of coordinate grid in yz plane.
|
static int |
SHOW_ZBUFFER
Enable drawing in z-buffer mode.
|
Constructor and Description |
---|
PvDisplayOption()
Constructor sets all values to defaults.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(PvDisplayIf disp)
Configure the given display with data from this option class.
|
java.lang.String |
getAbstract() |
java.awt.Color |
getAmbientLight() |
int |
getArrayPosition()
Get position of display within an array of displays.
|
java.awt.Dimension |
getArraySize()
Get dimensionof array of displays.
|
PsAuthorInfo |
getAuthorInfo() |
PgAxes |
getAxes() |
int |
getAxesCoordSystem()
Get coordinate system in which axes are shown.
|
PiVector |
getAxesEdge()
Currently unused except in PgMathLoader.
|
boolean[] |
getAxesHash() |
java.lang.String[] |
getAxesLabel() |
int |
getAxesType()
Get type of coordinate axes, see PgAxes.AXES_xxx.
|
java.awt.Color |
getBackgroundColor()
Get color of background of display.
|
java.awt.Image |
getBackgroundImage()
Get background image of display canvas.
|
java.lang.String |
getBackgroundImageFile()
Get background image filename of display canvas.
|
int |
getBackgroundImageFit()
Get the mode determining how a background image is scaled w.r.t. the display canvas.
|
java.awt.Color |
getBndBoxColor()
Get color of bounding box.
|
double |
getBndBoxSize()
Get thickness of edges of bounding box.
|
PdVector |
getBoxRatio()
Get scaling factors of edges of the bounding box.
|
double |
getCameraAngle(int ind)
deprecated use getCameraFieldOfView(int)
|
double |
getCameraFarClip(int ind) |
double |
getCameraFieldOfView(int ind)
Get opening angle of camera in degrees in [0,180].
|
PdVector |
getCameraInterest(int ind) |
PdMatrix |
getCameraMatrix(int ind)
Get the 4*4 camera transformation matrix.
|
java.lang.String |
getCameraName(int ind) |
double |
getCameraNearClip(int ind) |
PdVector |
getCameraPosition(int ind) |
int |
getCameraProjection(int ind) |
double |
getCameraRoll(int ind) |
double[] |
getClipBounds(int ind)
Get minimum and maximum in one dimension of the clipping box.
|
int |
getClipBoundsType()
Get index of axis which is selected when scene clip bounds is active or becomes active.
|
int |
getCurrentCamera() |
int |
getDimAxes() |
java.awt.Color |
getForegroundColor()
Get foreground color.
|
java.awt.Image |
getForegroundImage()
Get foreground image of display canvas.
|
java.lang.String |
getForegroundImageFile()
Get foreground image filename of display canvas.
|
int |
getForegroundImageFit()
Get the mode determining how a foreground image is scaled w.r.t. the display canvas.
|
double |
getLightAngle(int ind) |
java.awt.Color |
getLightColor(int ind) |
double |
getLightCorona(int ind) |
double |
getLightExponent(int ind) |
double |
getLightFalloff(int ind) |
int |
getLightingModel() |
double |
getLightIntensity(int ind) |
PdVector |
getLightInterest(int ind) |
java.lang.String |
getLightName(int ind) |
PdVector |
getLightPosition(int ind) |
int |
getLightReference(int ind) |
int |
getLightShading(int ind) |
int |
getLightType(int ind) |
int |
getMajorMode()
Get major transformation mode of display used with left-mouse.
|
int |
getNumCameras() |
int |
getNumLights()
Get number of available lights.
|
int |
getNumRulers() |
boolean |
getOption(int flag)
Check whether either of the bits in parameter has been set.
|
java.awt.Image |
getPreviewImage()
Get dimensionof array of displays.
|
java.awt.Color |
getRulerColor(int ind)
Get polygon color of axis with given index.
|
double |
getRulerMajorHashUnit(int ind)
Get distance between two adjacent major hashings, used in PgRuler.HASH_FIXED mode.
|
double |
getRulerMaxValue(int ind)
Get maximum ruler value.
|
double |
getRulerMinorHashUnit(int ind)
Get distance between two adjacent minor hashings, used in PgRuler.HASH_FIXED mode.
|
double |
getRulerMinValue(int ind)
Get minimum ruler value.
|
int |
getRulerMode(int ind) |
java.lang.String |
getRulerName(int ind) |
int |
getRulerNumMajorHashings(int ind)
Get number of major hashings, used in PgRuler.HASH_PARTITIONED mode..
|
int |
getRulerNumMinorHashings(int ind)
Get number of minor hashings, used in PgRuler.HASH_PARTITIONED mode..
|
double |
getRulerSize(int ind)
Get polygon size of axis with given index.
|
java.lang.String[] |
getSearchPaths()
Get image search paths.
|
int |
getSelectedLight() |
java.lang.String |
getTitle() |
int |
getTransformMode()
Get transformation of display, i.e. if scene, model or ambient transformation is active.
|
java.lang.String |
getVersion() |
java.lang.String |
getVersionType() |
java.awt.Point |
getWindowPosition()
Get upper left corner of frame containing the display.
|
java.awt.Dimension |
getWindowSize()
Get size of display within its frame.
|
boolean |
isEnabledCameraClip(int ind) |
boolean |
isEnabledCameraSceneRatio(int ind) |
boolean |
isLightHighlight(int ind) |
boolean |
isLightSwitchedOn(int ind) |
boolean |
isLightVisible(int ind) |
boolean |
isShowingRuler(int ind) |
boolean |
isShowingRulerArrow(int ind)
Check if arrow at positive end of ruler is shown.
|
boolean |
isShowingRulerHashingsNormal(int ind) |
boolean |
isShowingRulerHashingsUp(int ind) |
boolean |
isShowingRulerName(int ind)
Check if name of ruler is shown at positive end of ruler.
|
boolean |
isShowingRulerNumbers(int ind) |
boolean |
isShowingRulerTicksMajor(int ind) |
boolean |
isShowingRulerTicksMinor(int ind) |
void |
setAbstract(java.lang.String abstr) |
void |
setAmbientLight(java.awt.Color ambient) |
void |
setArrayPosition(int pos)
Set position of display within an array of displays.
|
void |
setArraySize(java.awt.Dimension dim)
Set dimensionof array of displays.
|
void |
setAuthorInfo(PsAuthorInfo authors) |
void |
setAxes(PgAxes axes) |
void |
setAxesCoordSystem(int coordSystem)
Set coordinate system in which axes are shown.
|
void |
setAxesEdge(PiVector edges)
Currently unused except in PgMathLoader.
|
void |
setAxesHash(boolean[] flag) |
void |
setAxesLabel(java.lang.String[] labels) |
void |
setAxesType(int type)
Set type of coordinate axes, see PgAxes.AXES_xxx.
|
void |
setBackgroundColor(java.awt.Color color)
Set color of background of display.
|
void |
setBackgroundImage(java.awt.Image image)
Set background image of display canvas.
|
void |
setBackgroundImageFile(java.lang.String fileName)
Set filename of background image of display canvas.
|
void |
setBackgroundImageFit(int repeat)
Set the mode determining how a background image is scaled w.r.t. the display canvas.
|
void |
setBndBoxColor(java.awt.Color col)
Set color of bounding box.
|
void |
setBndBoxSize(double size)
Set thickness of edges of bounding box.
|
void |
setBoxRatio(PdVector ratio)
Set scaling factors of edges of the bounding box.
|
void |
setCameraAngle(int ind,
double angle)
deprecated use setCameraFieldOfView(int, double)
|
void |
setCameraFarClip(int ind,
double dist) |
void |
setCameraFieldOfView(int ind,
double angle)
Set opening angle of camera in degrees in [0,180].
|
void |
setCameraInterest(int ind,
PdVector interest) |
void |
setCameraMatrix(int ind,
PdMatrix trans)
Set the 4*4 camera transformation matrix.
|
void |
setCameraName(int ind,
java.lang.String name) |
void |
setCameraNearClip(int ind,
double dist) |
void |
setCameraPosition(int ind,
PdVector position) |
void |
setCameraProjection(int ind,
int projection) |
void |
setCameraRoll(int ind,
double roll) |
void |
setClipBounds(int ind,
double[] range)
Set minimum and maximum in one dimension of the clipping box.
|
void |
setClipBoundsType(int type)
Set index of axis which is selected when scene clip bounds is active of becomes active.
|
void |
setCurrentCamera(int type) |
void |
setEnabledCameraClip(int ind,
boolean v) |
void |
setEnabledCameraSceneRatio(int ind,
boolean v) |
void |
setForegroundColor(java.awt.Color color)
Set foreground color.
|
void |
setForegroundImage(java.awt.Image image)
Set foreground image of display canvas.
|
void |
setForegroundImageFile(java.lang.String fileName)
Set foreground image of display canvas.
|
void |
setForegroundImageFit(int repeat)
Set the mode determining how a background image is scaled w.r.t. the display canvas.
|
void |
setLightAngle(int ind,
double angle) |
void |
setLightColor(int ind,
java.awt.Color color) |
void |
setLightCorona(int ind,
double corona) |
void |
setLightExponent(int ind,
double exp) |
void |
setLightFalloff(int ind,
double falloff) |
void |
setLightHighlight(int ind,
boolean flag) |
void |
setLightingModel(int ind) |
void |
setLightIntensity(int ind,
double intensity) |
void |
setLightInterest(int ind,
PdVector direction) |
void |
setLightName(int ind,
java.lang.String name) |
void |
setLightPosition(int ind,
PdVector position) |
void |
setLightReference(int ind,
int reference) |
void |
setLightShading(int ind,
int shading) |
void |
setLightSwitchedOn(int ind,
boolean flag) |
void |
setLightType(int ind,
int type) |
void |
setLightVisible(int ind,
boolean flag) |
void |
setMajorMode(int mode)
Set major transformation mode of display used with left-mouse.
|
void |
setNumCameras(int num) |
void |
setNumLights(int num)
Allocate given number of lights.
|
void |
setNumRulers(int num) |
void |
setOption(int flag,
boolean val)
Set all bits which are set in parameter.
|
void |
setOptions(PvDisplayIf disp)
Initialize this option class with data extracted from the given display.
|
void |
setPreviewImage(java.awt.Image image)
Set preview image.
|
void |
setRulerColor(int ind,
java.awt.Color col)
Set polygon color of axis with given index.
|
void |
setRulerMajorHashUnit(int ind,
double size)
Set distance between two adjacent major hashings, used in PgRuler.HASH_FIXED mode.
|
void |
setRulerMaxValue(int ind,
double size)
Set maximum ruler value.
|
void |
setRulerMinorHashUnit(int ind,
double size)
Set distance between two adjacent minor hashings, used in PgRuler.HASH_FIXED mode.
|
void |
setRulerMinValue(int ind,
double size)
Set minimum ruler value.
|
void |
setRulerMode(int ind,
int mode) |
void |
setRulerName(int ind,
java.lang.String name) |
void |
setRulerNumMajorHashings(int ind,
int num)
Set number of major hashings, used in PgRuler.HASH_PARTITIONED mode..
|
void |
setRulerNumMinorHashings(int ind,
int num)
Set number of minor hashings, used in PgRuler.HASH_PARTITIONED mode..
|
void |
setRulerSize(int ind,
double size)
Set polygon size of axis with given index.
|
void |
setSearchPaths(java.lang.String[] searchPath)
Set image search paths.
|
void |
setSelectedLight(int ind) |
void |
setTitle(java.lang.String title) |
void |
setTransformMode(int mode)
Set transformation of display, i.e. if scene, model or ambient transformation is active.
|
void |
setVersion(java.lang.String version) |
void |
setVersionType(java.lang.String versionType) |
void |
setWindowPosition(int x,
int y)
deprecated use setWindowPosition(Point)
|
void |
setWindowPosition(java.awt.Point pos)
Set upper left corner of frame containing the display.
|
void |
setWindowSize(java.awt.Dimension dim)
Set size of display within its frame.
|
void |
setWindowSize(int x,
int y)
deprecated use setWindowSize(Dimension)
|
void |
showRuler(int ind,
boolean flag) |
void |
showRulerArrow(int ind,
boolean flag)
Determine if arrow at positive end of ruler is shown.
|
void |
showRulerHashingsNormal(int ind,
boolean flag) |
void |
showRulerHashingsUp(int ind,
boolean flag) |
void |
showRulerName(int ind,
boolean flag)
Determine if name of ruler is shown at positive end of ruler.
|
void |
showRulerNumbers(int ind,
boolean flag) |
void |
showRulerTicksMajor(int ind,
boolean flag) |
void |
showRulerTicksMinor(int ind,
boolean flag) |
public static final int SHOW_ANTIALIAS
public static final int SHOW_AUTOCENTER
public static final int SHOW_AUTOFIT
public static final int SHOW_AUTOROTATE
public static final int SHOW_AXES
public static final int SHOW_AXES_AUTO_BOUNDS
public static final int SHOW_AXES_AUTO_CONFIGURE
public static final int SHOW_AXES_AUTO_HASHING
public static final int SHOW_AXES_AUTO_LAYOUT
public static final int SHOW_AXES_NAME
public static final int SHOW_AXES_NUMBERS
public static final int SHOW_AXES_LABEL
public static final int SHOW_AXES_TITLE
public static final int SHOW_BACKGROUND_IMAGE
public static final int SHOW_BORDER
public static final int SHOW_BOUNDING_BOX
public static final int SHOW_CENTER
public static final int SHOW_CROSS
public static final int SHOW_DEPTHCUE
public static final int SHOW_DOUBLEBUFFER
public static final int SHOW_DRAWING
public static final int SHOW_EDGE_AURA
public static final int SHOW_FOREGROUND_IMAGE
public static final int SHOW_FRAME
public static final int SHOW_INFO
public static final int SHOW_LIGHTING
public static final int SHOW_MAGNET
public static final int SHOW_SINGLE
This flag only determines the number of visible geometries. Independent of this flag there may only be a single geometry active.
public static final int SHOW_SORTING
public static final int SHOW_VISIBLE
public static final int SHOW_XY_GRID
public static final int SHOW_XZ_GRID
public static final int SHOW_YZ_GRID
public static final int SHOW_ZBUFFER
public static final int SHOW_LOCAL_TRANSFORM
public static final int SHOW_DIRECT_SELECT
public static final int SHOW_TITLE
public static final int SHOW_COPYRIGHT
public static final int SHOW_BOX_RATIO
public static final int SHOW_FILL_DISPLAY
public static final int SHOW_CLIP_BOUNDS
public static final int SHOW_CLIP_AUTO_BOUNDS
public static final int SHOW_3DLOOK
public static final int SHOW_ADAPTIVE_SIZE
public static final int SHOW_INTEGER_PICK
public static final int SHOW_EDGES_ONCE
public static final int SHOW_CLEAR_SCREEN
public PvDisplayOption()
public boolean getOption(int flag)
setOption(int, boolean)
public void setOption(int flag, boolean val)
jv.project.PvDisplayIf
for a list of possible flags.getOption(int)
,
PvDisplayIf
public java.lang.String getVersion()
public java.lang.String getVersionType()
public java.lang.String getTitle()
public java.lang.String getAbstract()
public PsAuthorInfo getAuthorInfo()
public void setVersion(java.lang.String version)
public void setVersionType(java.lang.String versionType)
public void setTitle(java.lang.String title)
public void setAbstract(java.lang.String abstr)
public void setAuthorInfo(PsAuthorInfo authors)
public int getMajorMode()
public void setMajorMode(int mode)
PvDisplayIf.MODE_ORBIT
,
PvDisplayIf.MODE_SCALE
public int getTransformMode()
public void setTransformMode(int mode)
public int getDimAxes()
public PgAxes getAxes()
public void setAxes(PgAxes axes)
public boolean[] getAxesHash()
public void setAxesHash(boolean[] flag)
public java.lang.String[] getAxesLabel()
public void setAxesLabel(java.lang.String[] labels)
public int getAxesType()
public void setAxesType(int type)
public PiVector getAxesEdge()
public void setAxesEdge(PiVector edges)
public int getAxesCoordSystem()
public void setAxesCoordSystem(int coordSystem)
public int getNumRulers()
public void setNumRulers(int num)
public int getRulerMode(int ind)
public void setRulerMode(int ind, int mode)
public java.lang.String getRulerName(int ind)
public void setRulerName(int ind, java.lang.String name)
public boolean isShowingRulerName(int ind)
public void showRulerName(int ind, boolean flag)
public boolean isShowingRulerArrow(int ind)
public void showRulerArrow(int ind, boolean flag)
public boolean isShowingRulerNumbers(int ind)
public void showRulerNumbers(int ind, boolean flag)
public boolean isShowingRulerHashingsNormal(int ind)
public void showRulerHashingsNormal(int ind, boolean flag)
public boolean isShowingRulerHashingsUp(int ind)
public void showRulerHashingsUp(int ind, boolean flag)
public boolean isShowingRulerTicksMajor(int ind)
public void showRulerTicksMajor(int ind, boolean flag)
public boolean isShowingRulerTicksMinor(int ind)
public void showRulerTicksMinor(int ind, boolean flag)
public boolean isShowingRuler(int ind)
public void showRuler(int ind, boolean flag)
public java.awt.Color getRulerColor(int ind)
public void setRulerColor(int ind, java.awt.Color col)
public double getRulerSize(int ind)
public void setRulerSize(int ind, double size)
public double getRulerMinValue(int ind)
public void setRulerMinValue(int ind, double size)
public double getRulerMaxValue(int ind)
public void setRulerMaxValue(int ind, double size)
public double getRulerMinorHashUnit(int ind)
public void setRulerMinorHashUnit(int ind, double size)
public double getRulerMajorHashUnit(int ind)
public void setRulerMajorHashUnit(int ind, double size)
public int getRulerNumMinorHashings(int ind)
public void setRulerNumMinorHashings(int ind, int num)
public int getRulerNumMajorHashings(int ind)
public void setRulerNumMajorHashings(int ind, int num)
public int getClipBoundsType()
public void setClipBoundsType(int type)
public double[] getClipBounds(int ind)
ind
- index of ruler of axes in which direction is clippedpublic void setClipBounds(int ind, double[] range)
ind
- index of ruler of axes in which direction is clippedrange
- minimum and maximum of visible range in axis directionpublic int getCurrentCamera()
public void setCurrentCamera(int type)
public java.lang.String getCameraName(int ind)
public void setCameraName(int ind, java.lang.String name)
public int getCameraProjection(int ind)
public void setCameraProjection(int ind, int projection)
public PdMatrix getCameraMatrix(int ind)
ind
- index of camerapublic void setCameraMatrix(int ind, PdMatrix trans)
ind
- index of cameratrans
- transformation matrix of this camerapublic PdVector getCameraPosition(int ind)
public void setCameraPosition(int ind, PdVector position)
public PdVector getCameraInterest(int ind)
public void setCameraInterest(int ind, PdVector interest)
public double getCameraFieldOfView(int ind)
ind
- index of camerapublic void setCameraFieldOfView(int ind, double angle)
ind
- index of cameraangle
- angle of camera in degrees in [0,180]public double getCameraAngle(int ind)
public void setCameraAngle(int ind, double angle)
public double getCameraRoll(int ind)
public void setCameraRoll(int ind, double roll)
public boolean isEnabledCameraClip(int ind)
public void setEnabledCameraClip(int ind, boolean v)
public double getCameraNearClip(int ind)
public void setCameraNearClip(int ind, double dist)
public double getCameraFarClip(int ind)
public void setCameraFarClip(int ind, double dist)
public boolean isEnabledCameraSceneRatio(int ind)
public void setEnabledCameraSceneRatio(int ind, boolean v)
public int getNumCameras()
public void setNumCameras(int num)
public int getLightingModel()
public void setLightingModel(int ind)
public int getSelectedLight()
public void setSelectedLight(int ind)
public java.awt.Color getAmbientLight()
public void setAmbientLight(java.awt.Color ambient)
public java.lang.String getLightName(int ind)
public void setLightName(int ind, java.lang.String name)
public int getLightReference(int ind)
public void setLightReference(int ind, int reference)
public int getLightType(int ind)
public void setLightType(int ind, int type)
public PdVector getLightPosition(int ind)
public void setLightPosition(int ind, PdVector position)
public PdVector getLightInterest(int ind)
public void setLightInterest(int ind, PdVector direction)
public java.awt.Color getLightColor(int ind)
public void setLightColor(int ind, java.awt.Color color)
public boolean isLightSwitchedOn(int ind)
public void setLightSwitchedOn(int ind, boolean flag)
public int getLightShading(int ind)
public void setLightShading(int ind, int shading)
public boolean isLightVisible(int ind)
public void setLightVisible(int ind, boolean flag)
public double getLightIntensity(int ind)
public void setLightIntensity(int ind, double intensity)
public boolean isLightHighlight(int ind)
public void setLightHighlight(int ind, boolean flag)
public double getLightAngle(int ind)
public void setLightAngle(int ind, double angle)
public double getLightCorona(int ind)
public void setLightCorona(int ind, double corona)
public double getLightExponent(int ind)
public void setLightExponent(int ind, double exp)
public double getLightFalloff(int ind)
public void setLightFalloff(int ind, double falloff)
public int getNumLights()
public void setNumLights(int num)
num
- total number of lightspublic java.awt.Color getBackgroundColor()
public void setBackgroundColor(java.awt.Color color)
public int getBackgroundImageFit()
public void setBackgroundImageFit(int repeat)
public java.awt.Image getBackgroundImage()
public void setBackgroundImage(java.awt.Image image)
public java.lang.String getBackgroundImageFile()
public void setBackgroundImageFile(java.lang.String fileName)
fileName
- relative file name of image.public java.lang.String[] getSearchPaths()
public void setSearchPaths(java.lang.String[] searchPath)
searchPath
- array of search pathspublic java.awt.Color getForegroundColor()
public void setForegroundColor(java.awt.Color color)
public int getForegroundImageFit()
public void setForegroundImageFit(int repeat)
public java.awt.Image getForegroundImage()
public void setForegroundImage(java.awt.Image image)
public java.lang.String getForegroundImageFile()
public void setForegroundImageFile(java.lang.String fileName)
fileName
- relative file name of image.public java.awt.Color getBndBoxColor()
public void setBndBoxColor(java.awt.Color col)
col
- color of bounding boxpublic double getBndBoxSize()
public void setBndBoxSize(double size)
size
- thickness of edges bounding boxpublic PdVector getBoxRatio()
public void setBoxRatio(PdVector ratio)
ratio
- scaling factors of edges bounding boxpublic java.awt.Point getWindowPosition()
configure(PvDisplayIf)
public void setWindowPosition(java.awt.Point pos)
configure(PvDisplayIf)
public void setWindowPosition(int x, int y)
public java.awt.Dimension getWindowSize()
configure(PvDisplayIf)
public void setWindowSize(java.awt.Dimension dim)
configure(PvDisplayIf)
public void setWindowSize(int x, int y)
public void setArrayPosition(int pos)
public int getArrayPosition()
public void setArraySize(java.awt.Dimension dim)
public java.awt.Dimension getArraySize()
public void setPreviewImage(java.awt.Image image)
public java.awt.Image getPreviewImage()
public void configure(PvDisplayIf disp)
public void setOptions(PvDisplayIf disp)
"