HiRISE

HiRISE.HiPlan.PTF
Class PTF_Viewer

java.lang.Object
  extended by HiRISE.HiPlan.PTF.PTF_Viewer

public class PTF_Viewer
extends Object

An application for viewing MRO payload target files.

Version:
1.69
Author:
Christian Schaller - UA/PIRL
See Also:
"Payload Target File and Integrated Payload Target File Software Interface Specification (JPL MRO SEQ032)"

Nested Class Summary
static class PTF_Viewer.PtfColumnControlButton
          A custom column control button for a JXTable that adds configurable menu items to the column control popup.
 
Field Summary
static String APPLICATION_GROUP
          The application-specific parameter group name for all applications in the HiRISE.HiPlan.PTF package.
static String COLUMN_SETS
           
static String COLUMNS
           
static boolean DEFAULT_USE_NADIR_VS_OFF_NADIR_IN_UNIQUENESS
          The default for whether nadir/off-nadir is included when finding duplicates.
static int FAILURE
          Exit status for an unsuccessful operation.
static String ID
          Class identification name with source code version and date.
static String INITIAL_SET
           
 String initialSet
           
static String LABEL
           
static int SUCCESS
          Exit status for a successful operation.
static String USE_NADIR_VS_OFF_NADIR_IN_UNIQUENESS
          The configuration parameter holding the whether nadir/off-nadir is included when finding duplicates.
 
Method Summary
 void handleAbout()
          Handles a request to display the application About dialog.
 boolean handleMacQuit()
          Handles a request to quit as generated by the Mac-supplied Quit menu item.
static void main(String[] args)
          Invokes the PTF viewer application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values

APPLICATION_GROUP

public static final String APPLICATION_GROUP
The application-specific parameter group name for all applications in the HiRISE.HiPlan.PTF package.

See Also:
Constant Field Values

USE_NADIR_VS_OFF_NADIR_IN_UNIQUENESS

public static final String USE_NADIR_VS_OFF_NADIR_IN_UNIQUENESS
The configuration parameter holding the whether nadir/off-nadir is included when finding duplicates. If "true" (or "yes"), a PTF record is considered a duplicate of another if its latitude, longitude, suggestion ID, and nadir vs. off-nadir is the same as that of another record. If "false" (or "no"), nadir vs. off-nadir is not considered.

See Also:
Constant Field Values

DEFAULT_USE_NADIR_VS_OFF_NADIR_IN_UNIQUENESS

public static final boolean DEFAULT_USE_NADIR_VS_OFF_NADIR_IN_UNIQUENESS
The default for whether nadir/off-nadir is included when finding duplicates.

See Also:
Constant Field Values

COLUMN_SETS

public static final String COLUMN_SETS
See Also:
Constant Field Values

INITIAL_SET

public static final String INITIAL_SET
See Also:
Constant Field Values

initialSet

public String initialSet

LABEL

public static final String LABEL
See Also:
Constant Field Values

COLUMNS

public static final String COLUMNS
See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
Exit status for a successful operation.

See Also:
Constant Field Values

FAILURE

public static final int FAILURE
Exit status for an unsuccessful operation.

See Also:
Constant Field Values
Method Detail

handleAbout

public void handleAbout()
Handles a request to display the application About dialog. This method is called when the operator selects the About menu item in HiTemp's Help menu.

On a Mac, an About menu item is also supplied in the application menu. A Mac_Adapter registers this method as the handler for the Apple event generated by this menu item.

This method is exposed for access by the Mac Adapter.


handleMacQuit

public boolean handleMacQuit()
Handles a request to quit as generated by the Mac-supplied Quit menu item.

This method is exposed for access by the Mac Adapter.

Returns:
true.

main

public static void main(String[] args)
Invokes the PTF viewer application.

Usage

PTF_Viewer [--configuration configuration_pathname] [--skip-cycle-checks] [observation_id_source [...]]

PTF_Viewer --usage

PTF_Viewer --version

Options are not case-sensitive and may be reduced to their shortest unique form. One or two dashes may be used.

Options

--configuration configuration_pathname
Sets the pathname of the configuration file from which to configure the application. See Configuration_Helper.getConfiguration(String,String,String...) for details on the configuration pathname; if this option is not used, the config source argument is null.
--skip-cycle-checks
Indicates the application is to skip the checking of cycle boundaries for PTF records. Without this option, PTF_Viewer will load the cycle map table at startup and use this table to determine whether a set of PTF records crosses a cycle boundary.

Parameters:
args - the command-line arguments.

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona