public class ImageWithGeometryViewer extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ImageWithGeometryViewer.SetGetImagePattern |
| Constructor and Description |
|---|
ImageWithGeometryViewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
exposeGeometry()
Expose the current Geometry to a simulated image.
|
void |
generateImageForGeometry() |
String |
get(ImageWithGeometryViewer.SetGetImagePattern what) |
Set<String> |
listAvailablePatterns()
List the patterns that are available for generating the Image.
|
static void |
main(String[] arg) |
void |
saveGeneratedImage(String fullPath) |
void |
set(ImageWithGeometryViewer.SetGetImagePattern what,
String value) |
static void |
setGeometry(String geometryName,
String sensorType)
Set the store Geometry to be used for generating the image.
|
void |
setImageGenerationParameter(String parName,
String parValue)
Set an Image generation parameter.
|
void |
setScaleFactor(double scaleFactor) |
void |
showDataStreams() |
void |
showGeometry() |
void |
showGeometryTree() |
void |
showImage() |
void |
writeFitsFiles() |
@Command(description="Expose the current geometry to a simulated image") public void exposeGeometry()
@Command(description="Set the Geometry to use.")
public static void setGeometry(@Argument(name="geometry",description="The parameter\'s value")
String geometryName,
@Argument(name="type",description="The sensor\'s type",defaultValue="e2v")
String sensorType)
geometryName - The parameter value.sensorType - The sensor type.@Command(description="Set an Image generation parameter.")
public void setImageGenerationParameter(@Argument(name="parName",description="The parameter\'s name")
String parName,
@Argument(name="parValue",description="The parameter\'s value")
String parValue)
parName - The parameter nameparValue - The parameter value@Command public Set<String> listAvailablePatterns()
@Command(description="Set the image pattern. This is used to generate images.")
public void set(@Argument(name="item")
ImageWithGeometryViewer.SetGetImagePattern what,
@Argument(name="value",defaultValue="")
String value)
@Command(description="Get various settings") public String get(@Argument(name="item") ImageWithGeometryViewer.SetGetImagePattern what)
@Command(description="Show the geometry tree.") public void showGeometryTree()
@Command(description="Generate an image for the currently loaded Geometry.") public void generateImageForGeometry()
@Command(description="Show the generated Image.")
public void showImage()
throws Exception
Exception@Command(description="Show the geometry and its data if present.")
public void showGeometry()
throws Exception
Exception@Command(description="Show the data streams.")
public void showDataStreams()
throws Exception
Exception@Command(description="Write the fits files with the accumulated images")
public void writeFitsFiles()
throws Exception
Exception@Command(description="Save the generated image to file")
public void saveGeneratedImage(@Argument(name="fullPath",defaultValue="/tmp/generateImage.ser")
String fullPath)
@Command(description="Set the scale factor")
public void setScaleFactor(@Argument(name="scaleFactor",defaultValue="0.1")
double scaleFactor)
Copyright © 2016 LSST. All rights reserved.