3 #ifndef GCP_GRABBER_MULTIPLEIMAGEPLOTTER_H
4 #define GCP_GRABBER_MULTIPLEIMAGEPLOTTER_H
18 #include "gcp/pgutil/common/ImagePlotter.h"
20 #include "gcp/util/common/Angle.h"
21 #include "gcp/util/common/ImageHandler.h"
23 #include "gcp/control/code/unix/viewer_src/color_tab.h"
41 void setCurrentImage(
unsigned short imageIndex);
42 unsigned short getCurrentChannel();
54 void open(
char* device);
55 void draw(
bool cmapUpdate=
false);
61 void installNewImage(
unsigned short channel,
unsigned short* image);
68 void pixelToWorld(
unsigned ix,
unsigned iy,
double& x,
double& y);
76 void worldToPixel(
double x,
double y,
unsigned& ix,
unsigned& iy,
79 void worldToSkyOffset(
double x,
double y,
84 void setPlotBoundaries();
88 void calculatePlotLimits();
92 void setPeak(
unsigned ix,
unsigned iy);
102 void setContrast(
double contrast = ImagePlotter::defaultContrast_);
103 void setBrightness(
double brightness = ImagePlotter::defaultBrightness_);
105 void installColormap(std::string cmap);
109 void fiddleContrast(
double xa,
double ya);
111 void setDisplayedRange(
double xa,
double xb,
double ya,
double yb);
112 void setDisplayedRange();
116 void drawImage(
bool cmapUpdate=
false);
120 void drawCrosshair();
130 virtual void setDeckAngleRotationSense(gcp::control::RotationSense sense);
134 virtual void setNCombine(
unsigned ncombine);
138 virtual void setChannel(
unsigned channel);
142 virtual void setFlatfieldType(
unsigned flatfieldType);
146 virtual void setXImDir(gcp::control::ImDir dir);
151 virtual void setYImDir(gcp::control::ImDir dir);
159 virtual void setAspectRatio(
double aspectRatio);
174 getStats(
unsigned ixmin,
unsigned iymin,
175 unsigned ixmax,
unsigned iymax);
181 unsigned& ipeak,
unsigned& jpeak);
185 void getPeakInfo(
double& peak,
double& snr);
190 std::vector<ImagePlotter> images_;
192 unsigned imageIndex_;
201 #endif // End #ifndef GCP_GRABBER_MULTIPLEIMAGEPLOTTER_H
Definition: MultipleImagePlotter.h:28
Definition: ImageHandler.h:35
virtual ~MultipleImagePlotter()
Definition: MultipleImagePlotter.cc:24
MultipleImagePlotter()
Definition: MultipleImagePlotter.cc:16
Definition: ImagePlotter.h:27