|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef MdiCubeViewport_h
2 #define MdiCubeViewport_h
18 template <
class T >
class QList;
67 void viewRGB(
int red,
int green,
int blue);
Reads and stores visible DN values.
Definition: ViewportBuffer.h:63
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
ViewportBuffer * redBuffer()
Returns the red viewport buffer (Will be NULL if in Gray mode.)
Definition: CubeViewport.h:421
void viewportUpdated()
Emitted when viewport updated.
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
File name manipulation and expansion.
Definition: FileName.h:100
QPixmap p_pixmap
The qpixmap.
Definition: CubeViewport.h:610
MdiCubeViewport(Cube *cube, Isis::CubeDataThread *cdt=0, QWidget *parent=0)
Definition: MdiCubeViewport.cpp:28
void paintEvent(QPaintEvent *e)
Repaint the viewport.
Definition: MdiCubeViewport.cpp:94
void requestRestretch(MdiCubeViewport *, int)
virtual void viewRGB(int redBand, int greenBand, int blueBand)
View cube as color.
Definition: CubeViewport.cpp:2002
Encapsulation of Cube I/O with Change Notifications.
Definition: CubeDataThread.h:59
void setLinked(bool b)
Change the linked state of the viewport.
Definition: MdiCubeViewport.cpp:58
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
void viewRGB(int red, int green, int blue)
Definition: MdiCubeViewport.cpp:118
bool isLinked() const
Is the viewport linked with other viewports.
Definition: MdiCubeViewport.h:50
IO Handler for Isis Cubes.
Definition: Cube.h:167
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
void restretch(ViewportBuffer *buffer)
This is called by internal viewport buffers when a stretch action should be performed.
Definition: MdiCubeViewport.cpp:126
void viewGray(int band)
Definition: MdiCubeViewport.cpp:110
Namespace for the standard library.
~MdiCubeViewport()
Definition: MdiCubeViewport.cpp:38
ViewportBuffer * blueBuffer()
Returns the blue viewport buffer (Will be NULL if in Gray mode.)
Definition: CubeViewport.h:441
Q_DECLARE_METATYPE(Isis::MdiCubeViewport *)
void forceAbstract()
Definition: MdiCubeViewport.h:47
virtual void viewGray(int band)
View cube as gray.
Definition: CubeViewport.cpp:1918
virtual void paintEvent(QPaintEvent *e)
Repaint the viewport.
Definition: CubeViewport.cpp:1089
void registerTool(Tool *tool)
Registers the tool given tool.
Definition: MdiCubeViewport.cpp:47
ViewportBuffer * grayBuffer()
Returns the gray viewport buffer (Will be NULL if in RGB mode.)
Definition: CubeViewport.h:411
Cube * cube() const
Definition: CubeViewport.h:338
ViewportBuffer * greenBuffer()
Returns the green viewport buffer (Will be NULL if in Gray mode.)
Definition: CubeViewport.h:431
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16