Initial
state of StarView
Currently there are no ways to control starview from outside the program with the exception of being able to push qualifiers to the currently active form. This has been used to push coordinates back to StarView from an image previewer. It is our goal to change this, but we will need to design the interface in some generic way so VTT and other systems can use StarView to do their database searches without tying the development efforts together.
Currently we use the ESO JIPA tool to display images and overlays. For this we have a simple interface where we can pass it either a preview/dss image URL and it will load it, or we can pass it the dss image URL and the overlay information needed to place the apeture on the image. It can do only one image at a time and only one apeture at a time. It does not change anything when the user changes which record is selected. It has very minimal user interaction. The user can click on the image and have it push the coordinates back to the active form. The user has to go back to StarView to reissue the search based on the new coordinates returned from the interactions with the image.
The forms that StarView uses are not part of the program. They are loaded at runtime from the Form Server and from the users SView directory. Currently there is nothing identifying what the form is for other than the name of the form and the directory in which it is stored. StarView has no internal knowledge about what the forms are for. We could simply have a keyword vector in the form and create a form finding tool that allows the user to select which form to use (similar to web search engines and keywords).
Potential
interactions between VTT and StarView
1.
VTT
uses the obsnumber and loads it by itself or
2.
VTT
tells StarView to select this frame and do the preview
1.
Has
to ask StarView if it has a form that somehow can handle tall his information
(based on the instrument selected and configuration specified)
2.
Do
we have to flag some forms as being the default form for WFPC2 VTT stuff on the
server/StarView side so when the request comes in we load the correct form or
does VTT ask StarView or does it ask the form server before this about what
sort of forms it knows about before the user makes their request? What sort of user customization is
needed and in which tools?
3.
Can
the user override which is the default WFPC2 form somehow and use one of their
own?
4.
Do
we need to build the forms to be used with VTT to make certain that all the
relevant fields are present?
1.
Do
we reuse the same form?
2.
Does
VTT somehow ask starview for a list of forms that could be opened and does it
command StarView to open a new one?
3.
Do
we do both?
What
will be required?
i.
Dataset
id
ii.
Data
type (?)
iii.
Ra,
Dec, Equinox
iv.
Insturnment
v.
Position
Angle
vi.
FOV
vii.
Preview
url(s) (?)
viii.
Marked
for retrieval
ix.
Currently
Selected Record
x.
Show
this Appeture
i.
Vector
of Apetures
ii.
Form
handle (CRV)
iii.
VTT
handle
iv.
Search
area (ra, dec, and radius)
v.
Image
URL
vi.
Add
method
vii.
Remove
method
viii.
Remove
all method
ix.
Mark
method
x.
Unmark
method
xi.
Select
method
xii.
GetSelected
method
xiii.
GetShownApetures
method
xiv.
Set
image URL method
xv.
Set
search area method
i.
Display
file from URL (SV-> VTT)
1.
passes
image URL to VTT to display
ii.
Update
Apetures (SV->VTT & VTT -> SV)
1.
someone
changed something in the apeture list…take care of yourself (assumes images are
already loaded and the search in starview matches the apeture list).
iii.
Do
VTT Search (VTT -> SV)
1.
Search
in starview based on current region. This should clear the apetures from the
VTT and make starview do another search which fires back a load apetures event
below.
iv.
Load
Apetures (SV -> VTT)
1.
tells
vtt to look load the apetures and get the dss images it needs to plot them on.
This is a call beyond update apetures which assumes there is already an image
loaded. This is what SV fires when
it does a new search.
v.
Error
event (SV -> VTT and VTT -> SV)
i.
We
know the insturment for future observations. should we have different apetures
with no Position angle that somehow shows which insturment will be used (more
than just a circle)?