public abstract class Hips2fitsConfigurator extends SkyPosConfigurator
SkyPosConfigurator.SkyPosActivator| Modifier | Constructor and Description |
|---|---|
protected |
Hips2fitsConfigurator(TopcatModelInfo tinfo,
java.util.function.Predicate<HipsSurvey> filter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Activator |
createActivator(uk.ac.starlink.table.ColumnData raData,
uk.ac.starlink.table.ColumnData decData)
Constructs an Activator based on selected RA and Dec column values.
|
Safety |
getSafety()
Indicates whether an activator created by the current state
of this configurator is known to be harmless.
|
String |
getSkyConfigMessage()
Returns a config message given that non-blank sky position columns
have been supplied.
|
ConfigState |
getState()
Returns an object that contains the current state of this configurator.
|
void |
setState(ConfigState state)
Restores the state of this object from a given state object.
|
protected abstract Outcome |
useHips(String hipsId,
double raDeg,
double decDeg,
double fovDeg,
int npix)
Invoked on activation with the configured HiPS details.
|
getActivator, getConfigMessage, getSkyPosState, getStack, setSkyPosStateaddActionListener, createDisplayField, createDisplayLabel, getActionForwarder, getPanel, removeActionListenerprotected Hips2fitsConfigurator(TopcatModelInfo tinfo, java.util.function.Predicate<HipsSurvey> filter)
tinfo - topcat model informationfilter - indicates which Hips image surveys are suitableprotected abstract Outcome useHips(String hipsId, double raDeg, double decDeg, double fovDeg, int npix)
hipsId - hips survey ID or match stringraDeg - RA position in degreesdecDeg - Dec position in degreesfovDeg - field of view in degreesnpix - linear dimension of cutout in pixelspublic Safety getSafety()
ActivatorConfiguratorImplementations should be cautious; if some slightly adjusted state might be dangerous, false could be returned as well (that's why this method is on ActivatorConfigurator and not Activator itself).
public ConfigState getState()
ActivatorConfiguratorpublic void setState(ConfigState state)
ActivatorConfiguratorstate - stored statepublic Activator createActivator(uk.ac.starlink.table.ColumnData raData, uk.ac.starlink.table.ColumnData decData)
SkyPosConfiguratorcreateActivator in class SkyPosConfiguratorraData - right ascension in radiansdecData - declination in radianspublic String getSkyConfigMessage()
SkyPosConfiguratorgetSkyConfigMessage in class SkyPosConfiguratorCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.