Isis 3 Programmer Reference
|
General purpose Cube display widget. More...
#include <IndependentCubeViewport.h>
Public Slots | |
void | resetKnownGlobal () |
QSize | sizeHint () const |
Make viewports show up as 512 by 512. | |
void | setScale (double scale) |
Change the scale of the cube to the given parameter value. | |
void | setScale (double scale, double sample, double line) |
Change the scale of the cube after moving samp/line to the center. | |
void | setScale (double scale, int x, int y) |
Change the scale of the cube after moving x,y to the center. | |
void | center (int x, int y) |
Bring the cube pixel under viewport x/y to the center. | |
void | center (double sample, double line) |
Bring the cube sample/line the center. | |
virtual void | viewRGB (int redBand, int greenBand, int blueBand) |
View cube as color. | |
virtual void | viewGray (int band) |
View cube as gray. | |
void | stretchGray (const QString &string) |
Apply stretch pairs to gray band. | |
void | stretchGray (const Stretch &stretch) |
Sets the stretch for gray mode. | |
void | stretchRed (const QString &string) |
Apply stretch pairs to red bands. | |
void | stretchRed (const Stretch &stretch) |
Sets the stretch for red in rgb mode. | |
void | stretchGreen (const QString &string) |
Apply stretch pairs to green bands. | |
void | stretchGreen (const Stretch &stretch) |
Sets the stretch for green in rgb mode. | |
void | stretchBlue (const QString &string) |
Apply stretch pairs to blue bands. | |
void | stretchBlue (const Stretch &stretch) |
Sets the stretch for blue in rgb mode. | |
void | stretchKnownGlobal () |
List<Tool *> p This stretches to the global stretch. | |
void | cubeChanged (bool changed) |
This method is called when the cube has changed or changes have been finalized. | |
void | scrollBy (int dx, int dy) |
Move the scrollbars by dx/dy screen pixels. | |
void | changeCursor (QCursor cursor) |
Allows users to change the cursor type on the viewport. | |
void | onProgressTimer () |
This updates the progress bar visually. | |
void | enableProgress () |
This restarts the progress bar. | |
Signals | |
void | synchronize (IndependentCubeViewport *) |
void | trackingChanged (double sample, double line, double lat, double lon, double dn, IndependentCubeViewport *) |
void | trackingChanged (double samp, double line, double dn, IndependentCubeViewport *) |
void | cantTrack (QString, IndependentCubeViewport *) |
void | viewportUpdated () |
Emitted when viewport updated. | |
void | viewportClosed (CubeViewport *) |
Emitted when viewport is closed. | |
void | mouseEnter () |
Emitted when the mouse enters the viewport. | |
void | mouseMove (QPoint) |
Emitted when the mouse moves. | |
void | mouseMove (QPoint, Qt::MouseButton) |
Emitted when the mouse moves. | |
void | mouseLeave () |
Emitted when the mouse leaves the viewport. | |
void | mouseButtonPress (QPoint, Qt::MouseButton) |
Emitted when mouse button pressed. | |
void | mouseButtonRelease (QPoint, Qt::MouseButton) |
Emitted when mouse button released. | |
void | mouseDoubleClick (QPoint) |
Emitted when double click happens. | |
void | windowTitleChanged () |
Emitted when window title changes. | |
void | scaleChanged () |
Emitted when zoom factor changed just before the repaint event. | |
void | saveChanges (CubeViewport *) |
Emitted when changes should be saved. | |
void | discardChanges (CubeViewport *) |
Emitted when changes should be discarded. | |
void | screenPixelsChanged () |
Emitted when cube pixels that should be on the screen change. | |
void | progressChanged (int) |
Emitted with current progress (0 to 100) when working. | |
void | progressComplete () |
Emitted when the current progress is complete (100) | |
void | doneWithData (int, const Isis::Brick *) |
Emitted when a brick is no longer needed, should only be sent to cube data thread. | |
Public Member Functions | |
IndependentCubeViewport (Cube *cube, CubeDataThread *cdt=0, QWidget *parent=0) | |
bool | eventFilter (QObject *o, QEvent *e) |
Event filter to watch for mouse events on viewport. | |
void | paintEvent (QPaintEvent *e) |
Repaint the viewport. | |
void | restretch (ViewportBuffer *) |
This is called by internal viewport buffers when a stretch action should be performed. | |
virtual void | showEvent (QShowEvent *e) |
void | setCube (Cube *cube) |
This method sets the viewports cube. | |
int | cubeSamples () const |
Return the number of samples in the cube. | |
int | cubeLines () const |
Return the number of lines in the cube. | |
int | cubeBands () const |
Return the number of bands in the cube. | |
bool | isColor () const |
bool | isGray () const |
int | grayBand () const |
int | redBand () const |
int | greenBand () const |
int | blueBand () const |
double | scale () const |
bool | cubeShown () const |
int | comboCount () const |
int | comboIndex () const |
void | cubeContentsChanged (QRect rect) |
Calle dhwen the contents of the cube changes. | |
double | fitScale () const |
Determine the scale that causes the full cube to fit in the viewport. | |
double | fitScaleWidth () const |
Determine the scale of cube in the width to fit in the viewport. | |
double | fitScaleHeight () const |
Determine the scale of cube in heighth to fit in the viewport. | |
void | viewportToCube (int x, int y, double &sample, double &line) const |
Turns a viewport into a cube. | |
void | cubeToViewport (double sample, double line, int &x, int &y) const |
Turns a cube into a viewport. | |
void | contentsToCube (int x, int y, double &sample, double &line) const |
Turns contents to a cube. | |
void | cubeToContents (double sample, double line, int &x, int &y) const |
Turns a cube into contents. | |
double | redPixel (int sample, int line) |
Gets the red pixel. | |
double | greenPixel (int sample, int line) |
Gets the green pixel. | |
double | bluePixel (int sample, int line) |
Gets the blue pixel. | |
double | grayPixel (int sample, int line) |
Gets the gray pixel. | |
CubeStretch | grayStretch () const |
Return the gray band stretch. | |
CubeStretch | redStretch () const |
Return the red band stretch. | |
CubeStretch | greenStretch () const |
Return the green band stretch. | |
CubeStretch | blueStretch () const |
Return the blue band stretch. | |
Cube * | cube () const |
Projection * | projection () const |
Camera * | camera () const |
UniversalGroundMap * | universalGroundMap () const |
Cube * | trackingCube () const |
void | moveCursor (int x, int y) |
Move the cursor by x,y if possible. | |
bool | cursorInside () const |
Is cursor inside viewport. | |
QPoint | cursorPosition () const |
Return the cursor position in the viewport. | |
void | setCursorPosition (int x, int y) |
Set the cursor position to x/y in the viewport. | |
void | setCaption () |
Change the caption on the viewport title bar. | |
void | setBackground (QColor color) |
Sets the background color. | |
void | setComboCount (int count) |
Sets the band bin combo box count. | |
void | setComboIndex (int index) |
Sets the band bin combo box index. | |
QPixmap | pixmap () |
Returns the pixmap. | |
ViewportBuffer * | grayBuffer () |
Returns the gray viewport buffer (Will be NULL if in RGB mode.) | |
ViewportBuffer * | redBuffer () |
Returns the red viewport buffer (Will be NULL if in Gray mode.) | |
ViewportBuffer * | greenBuffer () |
Returns the green viewport buffer (Will be NULL if in Gray mode.) | |
ViewportBuffer * | blueBuffer () |
Returns the blue viewport buffer (Will be NULL if in Gray mode.) | |
void | bufferUpdated (QRect rect) |
This method is called by ViewportBuffer upon successful completion of all operations and gives the appropriate rect to be repainted. | |
void | paintPixmap () |
Paint the whole pixmap. | |
void | forgetStretches () |
Resets all remembered stretches. | |
void | setAllBandStretches (Stretch stretch) |
Sets a stretch for all bands. | |
CubeDataThread * | cubeDataThread () |
int | cubeID () |
void | getAllWhatsThisInfo (Pvl &pWhatsThisPvl) |
Get All WhatsThis info - viewport, cube, area in PVL format. | |
void | getBandFilterName (PvlKeyword &pFilterNameKey) |
Get Band Filter name from the Isis cube label. | |
void | getCubeArea (double &pdStartSample, double &pdEndSample, double &pdStartLine, double &pdEndLine) |
Get Cube area corresponding to the viewport's dimension. | |
bool | confirmClose () |
This method should be called during a close event that would cause this viewport to close. | |
void | setTrackingCube () |
Finds the Tracking group from p_cube and stores the tracking cube name so that we can grab it in AdvancedTrackTool and get mosaic information. | |
Protected Slots | |
virtual void | cubeDataChanged (int cubeId, const Brick *) |
Protected Member Functions | |
void | scrollContentsBy (int dx, int dy) |
Scroll the viewport contents by dx/dy screen pixels. | |
virtual void | resizeEvent (QResizeEvent *e) |
The viewport is being resized. | |
virtual void | keyPressEvent (QKeyEvent *e) |
Process arrow keystrokes on cube. | |
Protected Attributes | |
QPixmap | p_pixmap |
The qpixmap. | |
QVector< Stretch * > * | p_knownStretches |
Stretches for each previously stretched band. | |
QVector< Stretch * > * | p_globalStretches |
Global stretches for each stretched band. | |
Private Slots | |
void | handleMouseMove (QPoint) |
void | handleMousePress (QPoint, Qt::MouseButton b) |
void | handleMouseRelease (QPoint) |
void | handleSynchronization (IndependentCubeViewport *) |
Private Member Functions | |
QRect | bandingRect () |
void | stretch () |
void | track (const QPoint &) |
void | zoom () |
bool | trackBuffer (ViewportBuffer *, const QPoint &, double &) |
void | paintPixmap (QRect rect) |
Paint a region of the pixmap. | |
void | shiftPixmap (int dx, int dy) |
Shifts the pixels on the pixmap without reading new data. | |
void | updateScrollBars (int x, int y) |
Update the scroll bar. | |
void | paintPixmapRects () |
Goes through the list of requested paints, from the viewport buffer, and paints them. | |
void | updateWhatsThis () |
Update the What's This text. | |
Private Attributes | |
bool | banding |
bool | panning |
bool | stretching |
bool | zooming |
bool | leftClick |
QPoint * | bandingPoint1 |
QPoint * | bandingPoint2 |
QPoint * | panningPrevPoint |
ViewportBuffer * | p_grayBuffer |
Viewport Buffer to manage gray band. | |
ViewportBuffer * | p_redBuffer |
Viewport Buffer to manage red band. | |
ViewportBuffer * | p_greenBuffer |
Viewport Buffer to manage green band. | |
ViewportBuffer * | p_blueBuffer |
Viewport Buffer to manage blue band. | |
QColor | p_bgColor |
The color to paint the background of the viewport. | |
Cube * | p_cube |
The cube associated with the viewport. | |
Camera * | p_camera |
The camera from the cube. | |
Projection * | p_projection |
The projection from the cube. | |
UniversalGroundMap * | p_groundMap |
The universal ground map from the cube. | |
Cube * | p_trackingCube |
QTimer * | p_progressTimer |
Activated to update progress bar. | |
double | p_scale |
The scale number. | |
bool | p_color |
Is the viewport in color? | |
BandInfo | p_gray |
Gray band info. | |
BandInfo | p_red |
Red band info. | |
BandInfo | p_green |
Green band info. | |
BandInfo | p_blue |
Blue band info. | |
int | p_comboCount |
Number of elements in band bin combo box. | |
int | p_comboIndex |
Current element chosen from combo box. | |
Brick * | p_redBrick |
Bricks for every color. | |
Brick * | p_grnBrick |
Bricks for every color. | |
Brick * | p_bluBrick |
Bricks for every color. | |
Brick * | p_gryBrick |
Bricks for every color. | |
Brick * | p_pntBrick |
Bricks for every color. | |
bool | p_saveEnabled |
Has the cube changed? | |
bool | p_cubeShown |
Is the cube visible? | |
QImage * | p_image |
The qimage. | |
bool | p_paintPixmap |
Paint the pixmap? | |
bool | p_updatingBuffers |
Changing RGB and need to not repaint pixmap? | |
QString | p_whatsThisText |
The text for What's this. | |
QString | p_cubeWhatsThisText |
The text for the cube's What's this. | |
QString | p_viewportWhatsThisText |
The text for the viewport's what's this. | |
QList< QRect * > * | p_pixmapPaintRects |
A list of rects that the viewport buffers have requested painted. | |
CubeDataThread * | p_cubeData |
Does all the cube I/O. | |
int | p_cubeId |
Cube ID given from cube data thread for I/O. | |
bool | p_thisOwnsCubeData |
if true then this owns the CubeDataThread, and should thus delete it | |
General purpose Cube display widget.
Definition at line 45 of file IndependentCubeViewport.h.
Isis::IndependentCubeViewport::IndependentCubeViewport | ( | Cube * | cube, |
CubeDataThread * | cdt = 0, | ||
QWidget * | parent = 0 ) |
Definition at line 35 of file IndependentCubeViewport.cpp.
Isis::IndependentCubeViewport::~IndependentCubeViewport | ( | ) |
Definition at line 55 of file IndependentCubeViewport.cpp.
|
private |
Definition at line 345 of file IndependentCubeViewport.cpp.
|
inlineinherited |
Definition at line 209 of file CubeViewport.h.
References Isis::CubeViewport::BandInfo::band, and Isis::CubeViewport::p_blue.
Referenced by Isis::SpectralPlotWindow::drawBandMarkers(), Isis::CubeViewport::stretchBlue(), and Isis::CubeViewport::stretchKnownGlobal().
|
inlineinherited |
Returns the blue viewport buffer (Will be NULL if in Gray mode.)
Definition at line 441 of file CubeViewport.h.
References Isis::CubeViewport::p_blueBuffer.
|
inherited |
Gets the blue pixel.
Return the blue pixel value at a sample/line.
sample | The sample |
line | The line |
sample | |
line |
Definition at line 1637 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::band, Isis::CubeViewport::p_blue, Isis::CubeViewport::p_cube, Isis::CubeViewport::p_pntBrick, Isis::Cube::read(), and Isis::Brick::SetBasePosition().
|
inherited |
Return the blue band stretch.
Definition at line 1679 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::getStretch(), and Isis::CubeViewport::p_blue.
Referenced by Isis::CubeViewport::paintPixmap().
|
inherited |
This method is called by ViewportBuffer upon successful completion of all operations and gives the appropriate rect to be repainted.
This is intended to update the screen once all data is done and ready to be displayed.
rect | Area to update screen |
Definition at line 1103 of file CubeViewport.cpp.
References Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::paintPixmap(), and Isis::ViewportBuffer::working().
Referenced by Isis::ViewportBuffer::doQueuedActions().
|
inlineinherited |
Definition at line 348 of file CubeViewport.h.
References Isis::CubeViewport::p_camera.
|
slotinherited |
Bring the cube sample/line the center.
sample | Value of the sample to center on. |
line | Value of the line to center on. |
Definition at line 742 of file CubeViewport.cpp.
References Isis::CubeViewport::cubeToContents(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::p_updatingBuffers, Isis::CubeViewport::paintPixmapRects(), Isis::ViewportBuffer::pan(), Isis::CubeViewport::screenPixelsChanged(), Isis::CubeViewport::shiftPixmap(), and Isis::CubeViewport::updateScrollBars().
|
slotinherited |
Bring the cube pixel under viewport x/y to the center.
x | |
y |
Definition at line 729 of file CubeViewport.cpp.
References Isis::CubeViewport::center(), and Isis::CubeViewport::viewportToCube().
Referenced by Isis::CubeViewport::center(), and Isis::CubeViewport::setScale().
|
slotinherited |
Allows users to change the cursor type on the viewport.
cursor |
Definition at line 2391 of file CubeViewport.cpp.
|
inlineinherited |
Definition at line 224 of file CubeViewport.h.
References Isis::CubeViewport::p_comboCount.
|
inlineinherited |
Definition at line 229 of file CubeViewport.h.
References Isis::CubeViewport::p_comboIndex.
|
inherited |
This method should be called during a close event that would cause this viewport to close.
If changes have been made to this viewport it opens an information dialog that asks the user if they want to save, discard changes, or cancel.
Definition at line 524 of file CubeViewport.cpp.
References Isis::CubeViewport::cube(), Isis::CubeViewport::discardChanges(), Isis::CubeViewport::p_saveEnabled, and Isis::CubeViewport::saveChanges().
|
inherited |
Turns contents to a cube.
Convert a contents x/y to a cube sample/line (may be outside the cube)
x | |
y | |
sample | |
line |
Definition at line 797 of file CubeViewport.cpp.
References Isis::CubeViewport::p_scale.
Referenced by Isis::CubeViewport::setScale(), and Isis::CubeViewport::viewportToCube().
|
inlineinherited |
Definition at line 338 of file CubeViewport.h.
References Isis::CubeViewport::p_cube.
Referenced by Isis::CubeViewport::confirmClose(), Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), Isis::Workspace::cubeToMdiWidget(), Isis::CubeViewport::CubeViewport(), Isis::FindTool::distancePerPixel(), Isis::SpectralPlotWindow::drawBandMarkers(), Isis::FileTool::exportToList(), Isis::SpectralPlotTool::getSpectralStatistics(), Isis::SunShadowTool::mouseButtonPress(), Isis::CubeDnView::onCubeViewportActivated(), Isis::CubeDnView::onCubeViewportDeleted(), Isis::SunShadowTool::recalculateShadowHeight(), Isis::ScatterPlotConfigDialog::refreshWidgetStates(), Isis::AbstractPlotTool::repaintViewports(), Isis::FileTool::save(), Isis::FileTool::saveAsReducedCube(), Isis::CubeViewport::setCube(), Isis::CubeDnView::workspaceActiveCube(), Isis::ScatterPlotConfigDialog::xAxisCubeViewport(), and Isis::ScatterPlotConfigDialog::yAxisCubeViewport().
|
inherited |
Return the number of bands in the cube.
Definition at line 444 of file CubeViewport.cpp.
References Isis::Cube::bandCount(), and Isis::CubeViewport::p_cube.
|
slotinherited |
This method is called when the cube has changed or changes have been finalized.
changed |
Definition at line 560 of file CubeViewport.cpp.
References Isis::CubeViewport::p_saveEnabled.
|
inherited |
Calle dhwen the contents of the cube changes.
Cube changed, repaint given area.
rect | The QRect |
rect | Rectangle containing portion of cube (sample/line) that changed. |
Definition at line 2311 of file CubeViewport.cpp.
References Isis::CubeViewport::cube(), Isis::CubeViewport::cubeToViewport(), Isis::ViewportBuffer::fillBuffer(), Isis::Cube::lineCount(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::p_updatingBuffers, Isis::CubeViewport::paintPixmapRects(), and Isis::Cube::sampleCount().
|
protectedvirtualslot |
Definition at line 181 of file IndependentCubeViewport.cpp.
|
inlineinherited |
Definition at line 473 of file CubeViewport.h.
References Isis::CubeViewport::p_cubeData.
|
inlineinherited |
Definition at line 480 of file CubeViewport.h.
References Isis::CubeViewport::p_cubeId.
|
inherited |
Return the number of lines in the cube.
Definition at line 438 of file CubeViewport.cpp.
References Isis::Cube::lineCount(), and Isis::CubeViewport::p_cube.
Referenced by Isis::CubeViewport::fitScale(), Isis::CubeViewport::fitScaleHeight(), Isis::CubeViewport::getCubeArea(), Isis::ViewportBuffer::getXYBoundingRect(), Isis::ViewportBuffer::hasEntireCube(), Isis::CubeViewport::setScale(), Isis::CubeViewport::showEvent(), Isis::CubeViewport::updateScrollBars(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), and Isis::ZoomTool::zoomFitWidth().
|
inherited |
Return the number of samples in the cube.
Definition at line 432 of file CubeViewport.cpp.
References Isis::CubeViewport::p_cube, and Isis::Cube::sampleCount().
Referenced by Isis::CubeViewport::fitScale(), Isis::CubeViewport::fitScaleWidth(), Isis::CubeViewport::getCubeArea(), Isis::ViewportBuffer::getXYBoundingRect(), Isis::ViewportBuffer::hasEntireCube(), Isis::CubeViewport::setScale(), Isis::CubeViewport::showEvent(), Isis::CubeViewport::updateScrollBars(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), and Isis::ZoomTool::zoomFitWidth().
|
inlineinherited |
Definition at line 219 of file CubeViewport.h.
References Isis::CubeViewport::p_cubeShown.
|
inherited |
Turns a cube into contents.
Convert a cube sample/line to a contents x/y (should not be outside)
x | |
y | |
sample | |
line | |
sample | |
line | |
x | |
y |
Definition at line 834 of file CubeViewport.cpp.
References Isis::CubeViewport::p_scale.
Referenced by Isis::CubeViewport::center(), Isis::CubeViewport::cubeToViewport(), and Isis::CubeViewport::setScale().
|
inherited |
Turns a cube into a viewport.
Convert a cube sample/line to a viewport x/y (may be outside the viewport)
x | |
y | |
sample | |
line | |
sample | |
line | |
x | |
y |
Definition at line 851 of file CubeViewport.cpp.
References Isis::CubeViewport::cubeToContents().
Referenced by Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), and Isis::ViewportBuffer::getXYBoundingRect().
|
inherited |
|
inherited |
Return the cursor position in the viewport.
Definition at line 1833 of file CubeViewport.cpp.
|
signalinherited |
Emitted when changes should be discarded.
Referenced by Isis::CubeViewport::confirmClose().
|
signalinherited |
Emitted when a brick is no longer needed, should only be sent to cube data thread.
Referenced by Isis::CubeViewport::cubeDataChanged(), and Isis::CubeViewport::CubeViewport().
|
slotinherited |
This restarts the progress bar.
Does nothing if already loading.
Definition at line 971 of file CubeViewport.cpp.
References Isis::CubeViewport::p_progressTimer, and Isis::CubeViewport::progressChanged().
Referenced by Isis::ViewportBuffer::enqueueAction().
|
virtual |
Event filter to watch for mouse events on viewport.
o | |
e |
Reimplemented from Isis::CubeViewport.
Definition at line 77 of file IndependentCubeViewport.cpp.
|
inherited |
Determine the scale that causes the full cube to fit in the viewport.
Definition at line 2269 of file CubeViewport.cpp.
References Isis::CubeViewport::cubeLines(), Isis::CubeViewport::cubeSamples(), and Isis::CubeViewport::scale().
Referenced by Isis::CubeViewport::showEvent(), and Isis::ZoomTool::zoomFit().
|
inherited |
Determine the scale of cube in heighth to fit in the viewport.
Definition at line 2297 of file CubeViewport.cpp.
References Isis::CubeViewport::cubeLines(), and Isis::CubeViewport::scale().
Referenced by Isis::ZoomTool::zoomFitHeight().
|
inherited |
Determine the scale of cube in the width to fit in the viewport.
Definition at line 2284 of file CubeViewport.cpp.
References Isis::CubeViewport::cubeSamples(), and Isis::CubeViewport::scale().
Referenced by Isis::ZoomTool::zoomFitWidth().
|
inherited |
Resets all remembered stretches.
Definition at line 1972 of file CubeViewport.cpp.
References Isis::CubeViewport::p_knownStretches.
|
inherited |
Get All WhatsThis info - viewport, cube, area in PVL format.
pWhatsThisPvl | - Pvl for all whatsthis info |
pWhatsThisPvl | - Pvl for all whatsthis info |
Definition at line 1371 of file CubeViewport.cpp.
References Isis::Cube::bandCount(), Isis::Cube::fileName(), Isis::ViewportBuffer::getBand(), Isis::CubeViewport::getBandFilterName(), Isis::CubeViewport::getCubeArea(), Isis::Cube::lineCount(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_color, Isis::CubeViewport::p_cube, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_redBuffer, Isis::Cube::physicalBand(), Isis::Cube::sampleCount(), and Isis::toString().
Referenced by Isis::FileTool::saveInfo().
|
inherited |
Get Band Filter name from the Isis cube label.
pFilterNameKey | - FilterName keyword containing the corresponding keyword from the Isis Cube label |
pFilterNameKey | - FilterName keyword containing the corresponding keyword from the Isis Cube label |
Definition at line 1473 of file CubeViewport.cpp.
References Isis::PvlContainer::findKeyword(), Isis::PvlObject::findObject(), Isis::Cube::label(), and Isis::CubeViewport::p_cube.
Referenced by Isis::CubeViewport::getAllWhatsThisInfo(), and Isis::CubeViewport::updateWhatsThis().
|
inherited |
Get Cube area corresponding to the viewport's dimension.
pdStartSample | - Cube Start Sample |
pdEndSample | - Cube End Sample |
pdStartLine | - Cube Start Line |
pdEndLine | - Cube End Line |
Definition at line 1494 of file CubeViewport.cpp.
References Isis::CubeViewport::cubeLines(), Isis::CubeViewport::cubeSamples(), and Isis::CubeViewport::viewportToCube().
Referenced by Isis::CubeViewport::getAllWhatsThisInfo(), and Isis::CubeViewport::updateWhatsThis().
|
inlineinherited |
Definition at line 194 of file CubeViewport.h.
References Isis::CubeViewport::BandInfo::band, and Isis::CubeViewport::p_gray.
Referenced by Isis::SpectralPlotWindow::drawBandMarkers(), Isis::SpatialPlotTool::refreshPlot(), Isis::CubeViewport::stretchGray(), and Isis::CubeViewport::stretchKnownGlobal().
|
inlineinherited |
Returns the gray viewport buffer (Will be NULL if in RGB mode.)
Definition at line 411 of file CubeViewport.h.
References Isis::CubeViewport::p_grayBuffer.
|
inherited |
Gets the gray pixel.
Return the gray pixel value at a sample/line.
sample | The sample |
line | The line |
sample | |
line |
Definition at line 1653 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::band, Isis::CubeViewport::p_cube, Isis::CubeViewport::p_gray, Isis::CubeViewport::p_pntBrick, Isis::Cube::read(), and Isis::Brick::SetBasePosition().
|
inherited |
Return the gray band stretch.
Definition at line 1661 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::getStretch(), and Isis::CubeViewport::p_gray.
|
inlineinherited |
Definition at line 204 of file CubeViewport.h.
References Isis::CubeViewport::BandInfo::band, and Isis::CubeViewport::p_green.
Referenced by Isis::SpectralPlotWindow::drawBandMarkers(), Isis::CubeViewport::stretchGreen(), and Isis::CubeViewport::stretchKnownGlobal().
|
inlineinherited |
Returns the green viewport buffer (Will be NULL if in Gray mode.)
Definition at line 431 of file CubeViewport.h.
References Isis::CubeViewport::p_greenBuffer.
|
inherited |
Gets the green pixel.
Return the green pixel value at a sample/line.
sample | The sample |
line | The line |
sample | |
line |
Definition at line 1621 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::band, Isis::CubeViewport::p_cube, Isis::CubeViewport::p_green, Isis::CubeViewport::p_pntBrick, Isis::Cube::read(), and Isis::Brick::SetBasePosition().
|
inherited |
Return the green band stretch.
Definition at line 1673 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::getStretch(), and Isis::CubeViewport::p_green.
Referenced by Isis::CubeViewport::paintPixmap().
|
privateslot |
Definition at line 236 of file IndependentCubeViewport.cpp.
|
privateslot |
Definition at line 257 of file IndependentCubeViewport.cpp.
|
privateslot |
Definition at line 287 of file IndependentCubeViewport.cpp.
|
privateslot |
Definition at line 317 of file IndependentCubeViewport.cpp.
|
inlineinherited |
Definition at line 184 of file CubeViewport.h.
References Isis::CubeViewport::p_color.
Referenced by Isis::SpectralPlotWindow::drawBandMarkers().
|
inlineinherited |
Definition at line 189 of file CubeViewport.h.
References Isis::CubeViewport::p_color.
Referenced by Isis::SpatialPlotTool::refreshPlot(), and Isis::CubeViewport::stretchKnownGlobal().
|
protectedvirtualinherited |
Process arrow keystrokes on cube.
e |
Definition at line 1758 of file CubeViewport.cpp.
References Isis::Cube::fileName(), Isis::CubeViewport::moveCursor(), Isis::CubeViewport::p_cube, Isis::CubeViewport::p_scale, Isis::CubeViewport::scale(), and Isis::CubeViewport::setScale().
|
signalinherited |
Emitted when mouse button pressed.
Referenced by Isis::CubeViewport::eventFilter().
|
signalinherited |
Emitted when mouse button released.
Referenced by Isis::CubeViewport::eventFilter().
|
signalinherited |
Emitted when double click happens.
Referenced by Isis::CubeViewport::eventFilter().
|
signalinherited |
Emitted when the mouse enters the viewport.
Referenced by Isis::CubeViewport::eventFilter().
|
signalinherited |
Emitted when the mouse leaves the viewport.
Referenced by Isis::CubeViewport::eventFilter().
|
signalinherited |
Emitted when the mouse moves.
Referenced by Isis::CubeViewport::eventFilter().
|
signalinherited |
Emitted when the mouse moves.
|
inherited |
Move the cursor by x,y if possible.
x | |
y |
Definition at line 1846 of file CubeViewport.cpp.
Referenced by Isis::CubeViewport::keyPressEvent().
|
slotinherited |
This updates the progress bar visually.
Conceptually it emits the progressChanged signal with the current progress.
Definition at line 262 of file CubeViewport.cpp.
References Isis::ViewportBuffer::currentProgress(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_progressTimer, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::progressChanged(), Isis::CubeViewport::progressComplete(), Isis::CubeViewport::screenPixelsChanged(), and Isis::ViewportBuffer::working().
Referenced by Isis::CubeViewport::CubeViewport().
|
virtual |
Repaint the viewport.
e | [in] (QPaintEvent *) event |
Reimplemented from Isis::CubeViewport.
Definition at line 133 of file IndependentCubeViewport.cpp.
|
inherited |
Paint the whole pixmap.
Definition at line 1128 of file CubeViewport.cpp.
References Isis::CubeViewport::p_image, and Isis::CubeViewport::paintPixmap().
Referenced by Isis::CubeViewport::bufferUpdated(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::paintPixmapRects(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollContentsBy(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::CubeViewport::shiftPixmap(), Isis::CubeViewport::showEvent(), Isis::CubeViewport::stretchBlue(), Isis::CubeViewport::stretchGray(), Isis::CubeViewport::stretchGreen(), and Isis::CubeViewport::stretchRed().
|
privateinherited |
Paint a region of the pixmap.
rect |
Definition at line 1140 of file CubeViewport.cpp.
References Isis::CubeViewport::blueStretch(), Isis::ViewportBuffer::bufferXYRect(), Isis::ViewportBuffer::enabled(), Isis::ViewportBuffer::getLine(), Isis::CubeViewport::BandInfo::getStretch(), Isis::CubeViewport::greenStretch(), Isis::Stretch::Map(), Isis::CubeViewport::p_bgColor, Isis::CubeViewport::p_blue, Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_green, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_image, Isis::CubeViewport::p_paintPixmap, Isis::CubeViewport::p_pixmap, Isis::CubeViewport::p_pixmapPaintRects, Isis::CubeViewport::p_red, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::p_updatingBuffers, Isis::IException::Programmer, Isis::CubeViewport::redStretch(), Isis::CubeViewport::updateWhatsThis(), and Isis::ViewportBuffer::working().
|
privateinherited |
Goes through the list of requested paints, from the viewport buffer, and paints them.
Definition at line 778 of file CubeViewport.cpp.
References Isis::CubeViewport::p_pixmapPaintRects, and Isis::CubeViewport::paintPixmap().
Referenced by Isis::CubeViewport::center(), Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), Isis::CubeViewport::resizeEvent(), and Isis::CubeViewport::setScale().
|
inlineinherited |
Returns the pixmap.
Definition at line 401 of file CubeViewport.h.
References Isis::CubeViewport::p_pixmap.
Referenced by Isis::BlinkTool::eventFilter().
|
signalinherited |
Emitted with current progress (0 to 100) when working.
Referenced by Isis::CubeViewport::enableProgress(), and Isis::CubeViewport::onProgressTimer().
|
signalinherited |
Emitted when the current progress is complete (100)
Referenced by Isis::CubeViewport::onProgressTimer().
|
inlineinherited |
Definition at line 343 of file CubeViewport.h.
References Isis::CubeViewport::p_projection.
|
inlineinherited |
Definition at line 199 of file CubeViewport.h.
References Isis::CubeViewport::BandInfo::band, and Isis::CubeViewport::p_red.
Referenced by Isis::SpectralPlotWindow::drawBandMarkers(), Isis::SpatialPlotTool::refreshPlot(), Isis::CubeViewport::stretchKnownGlobal(), and Isis::CubeViewport::stretchRed().
|
inlineinherited |
Returns the red viewport buffer (Will be NULL if in Gray mode.)
Definition at line 421 of file CubeViewport.h.
References Isis::CubeViewport::p_redBuffer.
|
inherited |
Gets the red pixel.
Return the red pixel value at a sample/line.
sample | The sample |
line | The line |
sample | |
line |
Definition at line 1605 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::band, Isis::CubeViewport::p_cube, Isis::CubeViewport::p_pntBrick, Isis::CubeViewport::p_red, Isis::Cube::read(), and Isis::Brick::SetBasePosition().
|
inherited |
Return the red band stretch.
Definition at line 1667 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::getStretch(), and Isis::CubeViewport::p_red.
Referenced by Isis::CubeViewport::paintPixmap().
|
slot |
Definition at line 169 of file IndependentCubeViewport.cpp.
|
protectedvirtualinherited |
The viewport is being resized.
e |
Definition at line 1022 of file CubeViewport.cpp.
References Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_image, Isis::CubeViewport::p_paintPixmap, Isis::CubeViewport::p_pixmap, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::p_updatingBuffers, Isis::CubeViewport::p_viewportWhatsThisText, Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::paintPixmapRects(), Isis::ViewportBuffer::resizedViewport(), Isis::CubeViewport::screenPixelsChanged(), and Isis::CubeViewport::updateScrollBars().
|
virtual |
This is called by internal viewport buffers when a stretch action should be performed.
The buffer passes itself as the argument.
buffer |
Implements Isis::CubeViewport.
Definition at line 152 of file IndependentCubeViewport.cpp.
|
signalinherited |
Emitted when changes should be saved.
Referenced by Isis::CubeViewport::confirmClose().
|
inlineinherited |
Definition at line 214 of file CubeViewport.h.
References Isis::CubeViewport::p_scale.
Referenced by Isis::FindTool::centerLinkedViewports(), Isis::ViewportBuffer::createViewportBufferFill(), Isis::CubeViewport::fitScale(), Isis::CubeViewport::fitScaleHeight(), Isis::CubeViewport::fitScaleWidth(), Isis::CubeViewport::keyPressEvent(), Isis::ViewportBuffer::pan(), Isis::ViewportBuffer::resizedViewport(), Isis::ZoomTool::rubberBandComplete(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::ZoomTool::setScale(), Isis::ZoomTool::setScale(), Isis::ZoomTool::setScale(), Isis::ZoomTool::updateTool(), and Isis::ZoomTool::zoomBy().
|
signalinherited |
Emitted when zoom factor changed just before the repaint event.
Referenced by Isis::CubeViewport::setScale(), and Isis::CubeViewport::updateScrollBars().
|
signalinherited |
Emitted when cube pixels that should be on the screen change.
Referenced by Isis::CubeViewport::center(), Isis::CubeViewport::onProgressTimer(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollContentsBy(), Isis::CubeViewport::setScale(), and Isis::CubeViewport::setScale().
|
slotinherited |
Move the scrollbars by dx/dy screen pixels.
dx | |
dy |
Definition at line 868 of file CubeViewport.cpp.
References Isis::CubeViewport::scrollContentsBy(), and Isis::CubeViewport::updateScrollBars().
|
protectedinherited |
Scroll the viewport contents by dx/dy screen pixels.
dx | |
dy |
Definition at line 908 of file CubeViewport.cpp.
References Isis::ViewportBuffer::bufferXYRect(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_pixmapPaintRects, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::p_updatingBuffers, Isis::CubeViewport::paintPixmap(), Isis::ViewportBuffer::pan(), Isis::CubeViewport::screenPixelsChanged(), Isis::CubeViewport::shiftPixmap(), and Isis::ViewportBuffer::working().
Referenced by Isis::CubeViewport::scrollBy().
|
inherited |
Sets a stretch for all bands.
stretch |
Definition at line 1982 of file CubeViewport.cpp.
References Isis::CubeViewport::p_knownStretches.
|
inlineinherited |
Sets the background color.
color |
Definition at line 373 of file CubeViewport.h.
References Isis::CubeViewport::p_bgColor.
|
inherited |
Change the caption on the viewport title bar.
Definition at line 984 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::band, Isis::Cube::fileName(), Isis::CubeViewport::p_blue, Isis::CubeViewport::p_color, Isis::CubeViewport::p_cube, Isis::CubeViewport::p_gray, Isis::CubeViewport::p_green, Isis::CubeViewport::p_red, Isis::CubeViewport::p_saveEnabled, Isis::CubeViewport::p_scale, and Isis::CubeViewport::windowTitleChanged().
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::setCube(), Isis::CubeViewport::setScale(), Isis::CubeViewport::viewGray(), and Isis::CubeViewport::viewRGB().
|
inlineinherited |
Sets the band bin combo box count.
count |
Definition at line 382 of file CubeViewport.h.
References Isis::CubeViewport::p_comboCount.
|
inlineinherited |
Sets the band bin combo box index.
index |
Definition at line 391 of file CubeViewport.h.
References Isis::CubeViewport::p_comboIndex.
|
inherited |
This method sets the viewports cube.
cube | The cube to set the CubeViewport window to |
cube |
Definition at line 425 of file CubeViewport.cpp.
References Isis::CubeViewport::cube(), Isis::CubeViewport::p_cube, and Isis::CubeViewport::setCaption().
|
inherited |
Set the cursor position to x/y in the viewport.
x | |
y |
Definition at line 1873 of file CubeViewport.cpp.
|
slotinherited |
Change the scale of the cube to the given parameter value.
This method will reset the scale value if the value passed in is too large or too small.
scale | Value by which to scale the image. |
Definition at line 587 of file CubeViewport.cpp.
References Isis::CubeViewport::contentsToCube(), Isis::CubeViewport::cubeLines(), Isis::CubeViewport::cubeSamples(), Isis::CubeViewport::cubeToContents(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::p_scale, Isis::CubeViewport::p_updatingBuffers, Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::paintPixmapRects(), Isis::CubeViewport::scale(), Isis::CubeViewport::scaleChanged(), Isis::ViewportBuffer::scaleChanged(), Isis::CubeViewport::screenPixelsChanged(), Isis::CubeViewport::setCaption(), and Isis::CubeViewport::updateScrollBars().
Referenced by Isis::FindTool::centerLinkedViewports(), Isis::CubeViewport::keyPressEvent(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::ZoomTool::setScale(), Isis::ZoomTool::setScale(), Isis::ZoomTool::setScale(), and Isis::CubeViewport::showEvent().
|
slotinherited |
Change the scale of the cube after moving samp/line to the center.
scale | |
sample | |
line |
Definition at line 670 of file CubeViewport.cpp.
References Isis::CubeViewport::center(), Isis::ViewportBuffer::enable(), Isis::ViewportBuffer::enabled(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_paintPixmap, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::scale(), Isis::CubeViewport::screenPixelsChanged(), and Isis::CubeViewport::setScale().
|
slotinherited |
Change the scale of the cube after moving x,y to the center.
scale | |
x | |
y |
Definition at line 654 of file CubeViewport.cpp.
References Isis::CubeViewport::scale(), Isis::CubeViewport::setScale(), and Isis::CubeViewport::viewportToCube().
|
inherited |
Finds the Tracking group from p_cube and stores the tracking cube name so that we can grab it in AdvancedTrackTool and get mosaic information.
This way, we are not opening the tracking cube every time the cursor is moved.
Definition at line 2374 of file CubeViewport.cpp.
References Isis::Cube::fileName(), Isis::Cube::group(), Isis::CubeViewport::p_cube, and Isis::CubeViewport::trackingCube().
Referenced by Isis::CubeViewport::CubeViewport().
|
privateinherited |
Shifts the pixels on the pixmap without reading new data.
dx | |
dy |
Definition at line 1291 of file CubeViewport.cpp.
References Isis::CubeViewport::p_bgColor, Isis::CubeViewport::p_paintPixmap, Isis::CubeViewport::p_pixmap, and Isis::CubeViewport::paintPixmap().
Referenced by Isis::CubeViewport::center(), and Isis::CubeViewport::scrollContentsBy().
|
virtual |
Definition at line 160 of file IndependentCubeViewport.cpp.
|
slotinherited |
|
private |
Definition at line 357 of file IndependentCubeViewport.cpp.
|
slotinherited |
Apply stretch pairs to blue bands.
string |
Definition at line 2142 of file CubeViewport.cpp.
References Isis::Stretch::Parse(), and Isis::CubeViewport::stretchBlue().
Referenced by Isis::CubeViewport::stretchBlue(), and Isis::CubeViewport::stretchKnownGlobal().
|
slotinherited |
Sets the stretch for blue in rgb mode.
stretch |
Definition at line 2249 of file CubeViewport.cpp.
References Isis::CubeViewport::blueBand(), Isis::CubeViewport::BandInfo::getStretch(), Isis::CubeViewport::p_blue, Isis::CubeViewport::p_globalStretches, Isis::CubeViewport::paintPixmap(), Isis::Stretch::Pairs(), and Isis::CubeViewport::BandInfo::setStretch().
|
slotinherited |
Apply stretch pairs to gray band.
string |
Definition at line 2106 of file CubeViewport.cpp.
References Isis::Stretch::Parse(), and Isis::CubeViewport::stretchGray().
Referenced by Isis::CubeViewport::stretchGray(), Isis::CubeViewport::stretchKnownGlobal(), and Isis::CubeViewport::viewGray().
|
slotinherited |
Sets the stretch for gray mode.
stretch |
Definition at line 2183 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::getStretch(), Isis::CubeViewport::grayBand(), Isis::CubeViewport::p_blue, Isis::CubeViewport::p_globalStretches, Isis::CubeViewport::p_gray, Isis::CubeViewport::p_green, Isis::CubeViewport::p_red, Isis::CubeViewport::paintPixmap(), Isis::Stretch::Pairs(), and Isis::CubeViewport::BandInfo::setStretch().
|
slotinherited |
Apply stretch pairs to green bands.
string | the stretch |
Definition at line 2130 of file CubeViewport.cpp.
References Isis::Stretch::Parse(), and Isis::CubeViewport::stretchGreen().
Referenced by Isis::CubeViewport::stretchGreen(), and Isis::CubeViewport::stretchKnownGlobal().
|
slotinherited |
Sets the stretch for green in rgb mode.
stretch |
Definition at line 2231 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::getStretch(), Isis::CubeViewport::greenBand(), Isis::CubeViewport::p_globalStretches, Isis::CubeViewport::p_green, Isis::CubeViewport::paintPixmap(), Isis::Stretch::Pairs(), and Isis::CubeViewport::BandInfo::setStretch().
|
slotinherited |
List<Tool *> p This stretches to the global stretch.
Definition at line 2152 of file CubeViewport.cpp.
References Isis::CubeViewport::blueBand(), Isis::CubeViewport::grayBand(), Isis::CubeViewport::greenBand(), Isis::CubeViewport::isGray(), Isis::CubeViewport::p_globalStretches, Isis::CubeViewport::redBand(), Isis::CubeViewport::stretchBlue(), Isis::CubeViewport::stretchGray(), Isis::CubeViewport::stretchGreen(), and Isis::CubeViewport::stretchRed().
|
slotinherited |
Apply stretch pairs to red bands.
string | The stretch |
Definition at line 2118 of file CubeViewport.cpp.
References Isis::Stretch::Parse(), and Isis::CubeViewport::stretchRed().
Referenced by Isis::CubeViewport::stretchKnownGlobal(), and Isis::CubeViewport::stretchRed().
|
slotinherited |
Sets the stretch for red in rgb mode.
stretch |
Definition at line 2213 of file CubeViewport.cpp.
References Isis::CubeViewport::BandInfo::getStretch(), Isis::CubeViewport::p_globalStretches, Isis::CubeViewport::p_red, Isis::CubeViewport::paintPixmap(), Isis::Stretch::Pairs(), Isis::CubeViewport::redBand(), and Isis::CubeViewport::BandInfo::setStretch().
|
private |
Definition at line 371 of file IndependentCubeViewport.cpp.
|
private |
Definition at line 441 of file IndependentCubeViewport.cpp.
|
inlineinherited |
Definition at line 358 of file CubeViewport.h.
Referenced by Isis::CubeViewport::setTrackingCube().
|
inlineinherited |
Definition at line 353 of file CubeViewport.h.
References Isis::CubeViewport::p_groundMap.
Referenced by Isis::FindTool::centerLinkedViewports(), and Isis::FindTool::handleLinkClicked().
|
privateinherited |
Update the scroll bar.
x | |
y |
Definition at line 1887 of file CubeViewport.cpp.
References Isis::CubeViewport::cubeLines(), Isis::CubeViewport::cubeSamples(), Isis::CubeViewport::p_scale, and Isis::CubeViewport::scaleChanged().
Referenced by Isis::CubeViewport::center(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollBy(), and Isis::CubeViewport::setScale().
|
privateinherited |
Update the What's This text.
Definition at line 1519 of file CubeViewport.cpp.
References Isis::ViewportBuffer::getBand(), Isis::CubeViewport::getBandFilterName(), Isis::CubeViewport::getCubeArea(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_color, Isis::CubeViewport::p_cube, Isis::CubeViewport::p_cubeWhatsThisText, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_redBuffer, Isis::CubeViewport::p_viewportWhatsThisText, Isis::CubeViewport::p_whatsThisText, and Isis::Cube::physicalBand().
Referenced by Isis::CubeViewport::paintPixmap().
|
virtualslotinherited |
View cube as gray.
band |
Definition at line 1917 of file CubeViewport.cpp.
References Isis::ViewportBuffer::addStretchAction(), Isis::CubeViewport::BandInfo::band, Isis::ViewportBuffer::getBand(), Isis::CubeViewport::BandInfo::getStretch(), Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_camera, Isis::CubeViewport::p_color, Isis::CubeViewport::p_cubeData, Isis::CubeViewport::p_cubeId, Isis::CubeViewport::p_gray, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_knownStretches, Isis::CubeViewport::p_redBuffer, Isis::Camera::SetBand(), Isis::ViewportBuffer::setBand(), Isis::CubeViewport::setCaption(), and Isis::CubeViewport::stretchGray().
|
signalinherited |
Emitted when viewport is closed.
|
inherited |
Turns a viewport into a cube.
Convert a viewport x/y to a cube sample/line (may be outside the cube)
x | |
y | |
sample | |
line |
Definition at line 814 of file CubeViewport.cpp.
References Isis::CubeViewport::contentsToCube().
Referenced by Isis::CubeViewport::center(), Isis::CubeViewport::getCubeArea(), Isis::ViewportBuffer::getSampLineBoundingRect(), Isis::SpectralPlotTool::getSpectralStatistics(), Isis::ViewportBuffer::getXYBoundingRect(), Isis::SunShadowTool::mouseButtonPress(), Isis::SunShadowTool::mouseMove(), Isis::CubeViewport::setScale(), and Isis::HistogramItem::setVertices().
|
signalinherited |
Emitted when viewport updated.
|
virtualslotinherited |
View cube as color.
rband | |
gband | |
bband |
Definition at line 2001 of file CubeViewport.cpp.
References Isis::ViewportBuffer::addStretchAction(), Isis::CubeViewport::BandInfo::band, Isis::ViewportBuffer::getBand(), Isis::CubeViewport::BandInfo::getStretch(), Isis::CubeViewport::p_blue, Isis::CubeViewport::p_blueBuffer, Isis::CubeViewport::p_camera, Isis::CubeViewport::p_color, Isis::CubeViewport::p_cubeData, Isis::CubeViewport::p_cubeId, Isis::CubeViewport::p_grayBuffer, Isis::CubeViewport::p_green, Isis::CubeViewport::p_greenBuffer, Isis::CubeViewport::p_knownStretches, Isis::CubeViewport::p_red, Isis::CubeViewport::p_redBuffer, Isis::Camera::SetBand(), Isis::ViewportBuffer::setBand(), Isis::CubeViewport::setCaption(), and Isis::CubeViewport::BandInfo::setStretch().
|
signalinherited |
Emitted when window title changes.
Referenced by Isis::CubeViewport::setCaption().
|
private |
Definition at line 457 of file IndependentCubeViewport.cpp.
|
private |
Definition at line 94 of file IndependentCubeViewport.h.
|
private |
Definition at line 99 of file IndependentCubeViewport.h.
|
private |
Definition at line 100 of file IndependentCubeViewport.h.
|
private |
Definition at line 98 of file IndependentCubeViewport.h.
|
privateinherited |
The color to paint the background of the viewport.
Definition at line 625 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::setBackground(), and Isis::CubeViewport::shiftPixmap().
|
privateinherited |
Bricks for every color.
Definition at line 649 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Blue band info.
Definition at line 642 of file CubeViewport.h.
Referenced by Isis::CubeViewport::blueBand(), Isis::CubeViewport::bluePixel(), Isis::CubeViewport::blueStretch(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::setCaption(), Isis::CubeViewport::stretchBlue(), Isis::CubeViewport::stretchGray(), and Isis::CubeViewport::viewRGB().
|
privateinherited |
Viewport Buffer to manage blue band.
Definition at line 623 of file CubeViewport.h.
Referenced by Isis::CubeViewport::blueBuffer(), Isis::CubeViewport::bufferUpdated(), Isis::CubeViewport::center(), Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::getAllWhatsThisInfo(), Isis::CubeViewport::onProgressTimer(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollContentsBy(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::CubeViewport::updateWhatsThis(), Isis::CubeViewport::viewGray(), Isis::CubeViewport::viewRGB(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
The camera from the cube.
Definition at line 628 of file CubeViewport.h.
Referenced by Isis::CubeViewport::camera(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::viewGray(), and Isis::CubeViewport::viewRGB().
|
privateinherited |
Is the viewport in color?
Definition at line 638 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::getAllWhatsThisInfo(), Isis::CubeViewport::isColor(), Isis::CubeViewport::isGray(), Isis::CubeViewport::setCaption(), Isis::CubeViewport::updateWhatsThis(), Isis::CubeViewport::viewGray(), and Isis::CubeViewport::viewRGB().
|
privateinherited |
Number of elements in band bin combo box.
Definition at line 644 of file CubeViewport.h.
Referenced by Isis::CubeViewport::comboCount(), Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::setComboCount().
|
privateinherited |
Current element chosen from combo box.
Definition at line 645 of file CubeViewport.h.
Referenced by Isis::CubeViewport::comboIndex(), Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::setComboIndex().
|
privateinherited |
The cube associated with the viewport.
Definition at line 627 of file CubeViewport.h.
Referenced by Isis::CubeViewport::bluePixel(), Isis::CubeViewport::cube(), Isis::CubeViewport::cubeBands(), Isis::CubeViewport::cubeLines(), Isis::CubeViewport::cubeSamples(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::getAllWhatsThisInfo(), Isis::CubeViewport::getBandFilterName(), Isis::CubeViewport::grayPixel(), Isis::CubeViewport::greenPixel(), Isis::CubeViewport::keyPressEvent(), Isis::CubeViewport::redPixel(), Isis::CubeViewport::setCaption(), Isis::CubeViewport::setCube(), Isis::CubeViewport::setTrackingCube(), Isis::CubeViewport::updateWhatsThis(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Does all the cube I/O.
Definition at line 666 of file CubeViewport.h.
Referenced by Isis::CubeViewport::cubeDataThread(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::viewGray(), Isis::CubeViewport::viewRGB(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Cube ID given from cube data thread for I/O.
Definition at line 667 of file CubeViewport.h.
Referenced by Isis::CubeViewport::cubeDataChanged(), Isis::CubeViewport::cubeID(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::viewGray(), and Isis::CubeViewport::viewRGB().
|
privateinherited |
Is the cube visible?
Definition at line 653 of file CubeViewport.h.
Referenced by Isis::CubeViewport::cubeShown(), Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::paintEvent().
|
privateinherited |
The text for the cube's What's this.
Definition at line 659 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::updateWhatsThis().
Global stretches for each stretched band.
Definition at line 616 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::stretchBlue(), Isis::CubeViewport::stretchGray(), Isis::CubeViewport::stretchGreen(), Isis::CubeViewport::stretchKnownGlobal(), Isis::CubeViewport::stretchRed(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Gray band info.
Definition at line 639 of file CubeViewport.h.
Referenced by Isis::CubeViewport::grayBand(), Isis::CubeViewport::grayPixel(), Isis::CubeViewport::grayStretch(), Isis::CubeViewport::setCaption(), Isis::CubeViewport::stretchGray(), and Isis::CubeViewport::viewGray().
|
privateinherited |
Viewport Buffer to manage gray band.
Definition at line 620 of file CubeViewport.h.
Referenced by Isis::CubeViewport::bufferUpdated(), Isis::CubeViewport::center(), Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::getAllWhatsThisInfo(), Isis::CubeViewport::grayBuffer(), Isis::CubeViewport::onProgressTimer(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollContentsBy(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::CubeViewport::showEvent(), Isis::CubeViewport::updateWhatsThis(), Isis::CubeViewport::viewGray(), Isis::CubeViewport::viewRGB(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Green band info.
Definition at line 641 of file CubeViewport.h.
Referenced by Isis::CubeViewport::greenBand(), Isis::CubeViewport::greenPixel(), Isis::CubeViewport::greenStretch(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::setCaption(), Isis::CubeViewport::stretchGray(), Isis::CubeViewport::stretchGreen(), and Isis::CubeViewport::viewRGB().
|
privateinherited |
Viewport Buffer to manage green band.
Definition at line 622 of file CubeViewport.h.
Referenced by Isis::CubeViewport::bufferUpdated(), Isis::CubeViewport::center(), Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::getAllWhatsThisInfo(), Isis::CubeViewport::greenBuffer(), Isis::CubeViewport::onProgressTimer(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollContentsBy(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::CubeViewport::updateWhatsThis(), Isis::CubeViewport::viewGray(), Isis::CubeViewport::viewRGB(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Bricks for every color.
Definition at line 648 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
The universal ground map from the cube.
Definition at line 630 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::universalGroundMap(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Bricks for every color.
Definition at line 650 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
The qimage.
Definition at line 654 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::resizeEvent(), and Isis::CubeViewport::~CubeViewport().
Stretches for each previously stretched band.
Definition at line 613 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::forgetStretches(), Isis::CubeViewport::setAllBandStretches(), Isis::CubeViewport::viewGray(), Isis::CubeViewport::viewRGB(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Paint the pixmap?
Definition at line 655 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::setScale(), Isis::CubeViewport::shiftPixmap(), and Isis::CubeViewport::showEvent().
|
protectedinherited |
The qpixmap.
Definition at line 610 of file CubeViewport.h.
Referenced by Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::pixmap(), Isis::CubeViewport::resizeEvent(), and Isis::CubeViewport::shiftPixmap().
|
privateinherited |
A list of rects that the viewport buffers have requested painted.
Definition at line 664 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::paintPixmapRects(), Isis::CubeViewport::scrollContentsBy(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Bricks for every color.
Definition at line 651 of file CubeViewport.h.
Referenced by Isis::CubeViewport::bluePixel(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::grayPixel(), Isis::CubeViewport::greenPixel(), Isis::CubeViewport::redPixel(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Activated to update progress bar.
Definition at line 634 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::enableProgress(), Isis::CubeViewport::onProgressTimer(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
The projection from the cube.
Definition at line 629 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::projection().
|
privateinherited |
Red band info.
Definition at line 640 of file CubeViewport.h.
Referenced by Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::redBand(), Isis::CubeViewport::redPixel(), Isis::CubeViewport::redStretch(), Isis::CubeViewport::setCaption(), Isis::CubeViewport::stretchGray(), Isis::CubeViewport::stretchRed(), and Isis::CubeViewport::viewRGB().
|
privateinherited |
Bricks for every color.
Definition at line 647 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Viewport Buffer to manage red band.
Definition at line 621 of file CubeViewport.h.
Referenced by Isis::CubeViewport::bufferUpdated(), Isis::CubeViewport::center(), Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::getAllWhatsThisInfo(), Isis::CubeViewport::onProgressTimer(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::redBuffer(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollContentsBy(), Isis::CubeViewport::setScale(), Isis::CubeViewport::setScale(), Isis::CubeViewport::updateWhatsThis(), Isis::CubeViewport::viewGray(), Isis::CubeViewport::viewRGB(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Has the cube changed?
Definition at line 652 of file CubeViewport.h.
Referenced by Isis::CubeViewport::confirmClose(), Isis::CubeViewport::cubeChanged(), Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::setCaption().
|
privateinherited |
The scale number.
Definition at line 636 of file CubeViewport.h.
Referenced by Isis::CubeViewport::contentsToCube(), Isis::CubeViewport::cubeToContents(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::keyPressEvent(), Isis::CubeViewport::scale(), Isis::CubeViewport::setCaption(), Isis::CubeViewport::setScale(), Isis::CubeViewport::showEvent(), and Isis::CubeViewport::updateScrollBars().
|
privateinherited |
if true then this owns the CubeDataThread, and should thus delete it
Definition at line 673 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::~CubeViewport().
|
privateinherited |
Definition at line 631 of file CubeViewport.h.
|
privateinherited |
Changing RGB and need to not repaint pixmap?
Definition at line 656 of file CubeViewport.h.
Referenced by Isis::CubeViewport::center(), Isis::CubeViewport::cubeContentsChanged(), Isis::CubeViewport::cubeDataChanged(), Isis::CubeViewport::CubeViewport(), Isis::CubeViewport::paintPixmap(), Isis::CubeViewport::resizeEvent(), Isis::CubeViewport::scrollContentsBy(), and Isis::CubeViewport::setScale().
|
privateinherited |
The text for the viewport's what's this.
Definition at line 660 of file CubeViewport.h.
Referenced by Isis::CubeViewport::resizeEvent(), and Isis::CubeViewport::updateWhatsThis().
|
privateinherited |
The text for What's this.
Definition at line 658 of file CubeViewport.h.
Referenced by Isis::CubeViewport::CubeViewport(), and Isis::CubeViewport::updateWhatsThis().
|
private |
Definition at line 95 of file IndependentCubeViewport.h.
|
private |
Definition at line 101 of file IndependentCubeViewport.h.
|
private |
Definition at line 96 of file IndependentCubeViewport.h.
|
private |
Definition at line 97 of file IndependentCubeViewport.h.