13#include <QResizeEvent> 
   98        return m_chip->Samples();
 
 
  103        return m_chip->Lines();
 
 
  123        return m_gray.stretch;
 
 
  168        m_controlNet = newControlNet;
 
 
  182      void computeStretch(
Stretch &stretch, 
bool force = 
false);
 
  216      Cube *m_matchChipCube; 
 
  237      ControlNet *m_controlNet;
 
  239      bool m_stretchLocked; 
 
 
A small chip of data used for pattern matching.
Definition Chip.h:86
 
void loadView(ChipViewport &newView)
Load with another ChipViewport, used for blinking.
Definition ChipViewport.cpp:338
 
void setPoints(bool checked)
Slot to set whether control points are drawn.
Definition ChipViewport.cpp:552
 
void setCircle(bool checked)
Slot to change state of circle.
Definition ChipViewport.cpp:584
 
virtual ~ChipViewport()
Destructor.
Definition ChipViewport.cpp:65
 
void enterEvent(QEvent *e)
If mouse enters, make sure key events are processed w/o clicking.
Definition ChipViewport.cpp:482
 
void setControlNet(ControlNet *newControlNet)
sets the ControlNet to be used for drawing measure locations
Definition ChipViewport.h:167
 
Chip * chip() const
Return chip.
Definition ChipViewport.h:88
 
ChipViewport(int width, int height, QWidget *parent=0)
Construct an empty viewport.
Definition ChipViewport.cpp:33
 
double tackSample()
Return the position of cube under cross hair.
Definition ChipViewport.cpp:349
 
void zoomOut()
Zoom out.
Definition ChipViewport.cpp:430
 
double tackLine()
Returns tack line.
Definition ChipViewport.cpp:360
 
Cube * chipCube() const
Definition ChipViewport.h:92
 
void userMovedTackPoint()
 
void zoom(double zoomFactor)
Zoom by a specified factor.
Definition ChipViewport.cpp:450
 
void nogeomChip()
Slot to un-geom chip (revert geometry transformation)
Definition ChipViewport.cpp:645
 
void rotateChip(int rotation)
Slot to rotate chip.
Definition ChipViewport.cpp:673
 
double zoomFactor()
Return the zoom factor.
Definition ChipViewport.cpp:461
 
void paintEvent(QPaintEvent *e)
Repaint the viewport.
Definition ChipViewport.cpp:260
 
Stretch grayStretch() const
Draw X on point.
Definition ChipViewport.h:122
 
void panLeft()
Pan left.
Definition ChipViewport.cpp:395
 
int grayBand() const
Return the gray band currently viewed.
Definition ChipViewport.h:107
 
void panRight()
Pan right.
Definition ChipViewport.cpp:408
 
void panUp()
Pan up.
Definition ChipViewport.cpp:369
 
bool cubeToViewport(double samp, double line, int &x, int &y)
Get viewport x and y from cube sample and line.
Definition ChipViewport.cpp:83
 
void panDown()
Pan down.
Definition ChipViewport.cpp:382
 
void autoStretch()
Apply automatic stretch using data from entire chip.
Definition ChipViewport.cpp:133
 
void geomChip(Chip *matchChip, Cube *matchChipCube)
Slot to geom chip (apply geometry transformation)
Definition ChipViewport.cpp:617
 
void changeStretchLock(int)
Locks or unlocks the stretch on the chip viewport during transformations (zoom, pan,...
Definition ChipViewport.cpp:178
 
void setCircleSize(int size)
Set the size of the circle.
Definition ChipViewport.cpp:599
 
void stretchFromCubeViewport(Stretch *, CubeViewport *)
Applies a new stretch to the specified cube viewport.
Definition ChipViewport.cpp:146
 
void tackPointChanged(double)
< Signal sent when tack point changes
 
void zoomIn()
Zoom in.
Definition ChipViewport.cpp:421
 
int chipSamples() const
Return the number of samples in the chip.
Definition ChipViewport.h:97
 
void mousePressEvent(QMouseEvent *event)
Process mouse events.
Definition ChipViewport.cpp:530
 
void setCross(bool checked)
Slot to change state of crosshair.
Definition ChipViewport.cpp:568
 
void zoom1()
Zoom by a factor of one.
Definition ChipViewport.cpp:439
 
int chipLines() const
Return the number of lines in the chip.
Definition ChipViewport.h:102
 
void refreshView(double tackSample, double tackLine)
Slot to refresh viewport when the tack point has changed.
Definition ChipViewport.cpp:472
 
void keyPressEvent(QKeyEvent *e)
Process arrow keystrokes on cube.
Definition ChipViewport.cpp:492
 
void setChip(Chip *chip, Cube *chipCube)
Set chip.
Definition ChipViewport.cpp:108
 
a control network
Definition ControlNet.h:258
 
IO Handler for Isis Cubes.
Definition Cube.h:168
 
Widget to display Isis cubes for qt apps.
Definition CubeViewport.h:122
 
Pixel value mapper.
Definition Stretch.h:58
 
void SetNull(const double value)
Sets the mapping for NULL pixels.
Definition Stretch.h:94
 
void SetHrs(const double value)
Sets the mapping for HRS pixels.
Definition Stretch.h:138
 
void SetHis(const double value)
Sets the mapping for HIS pixels.
Definition Stretch.h:127
 
void SetLis(const double value)
Sets the mapping for LIS pixels.
Definition Stretch.h:105
 
void SetLrs(const double value)
Sets the mapping for LRS pixels.
Definition Stretch.h:116
 
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16