41 class QXmlStreamWriter;
52 class ImageDisplayProperties;
55 class XmlStackedHandlerReader;
110 explicit Image(QString imageFileName,
QObject *parent = 0);
129 const geos::geom::MultiPolygon *
footprint()
const;
130 void setId(QString
id);
147 void save(QXmlStreamWriter &stream,
const Project *project,
FileName newProjectRoot)
const;
153 geos::geom::MultiPolygon *createFootprint(QMutex *cameraMutex);
155 void initQuickFootprint();
176 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
177 const QString &qName,
const QXmlAttributes &atts);
178 virtual bool characters(
const QString &ch);
179 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
180 const QString &qName);
183 Q_DISABLE_COPY(XmlHandler);
187 QString m_characters;
195 SpiceInt *m_bodyCode;
221 QString m_instrumentId;
226 QString m_observationNumber;
231 QString m_serialNumber;
236 QString m_spacecraftName;
241 geos::geom::MultiPolygon *m_footprint;
247 double m_aspectRatio;
249 Angle m_emissionAngle;
250 Angle m_incidenceAngle;
251 double m_lineResolution;
252 double m_sampleResolution;
254 Angle m_northAzimuth;
The main project for ipce.
Definition: Project.h:289
void updateFileName(Project *)
Change the on-disk file name for this cube to be where the image ought to be in the given project...
Definition: Image.cpp:691
File name manipulation and expansion.
Definition: FileName.h:116
~Image()
Clean up this image.
Definition: Image.cpp:161
void deleteFromDisk()
Delete the image data from disk.
Definition: Image.cpp:586
PvlObject toPvl() const
Convert this Image to PVL.
Definition: Image.cpp:226
Angle emissionAngle() const
Get the emission angle of this image, as calculated and attached by camstats.
Definition: Image.cpp:465
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Distance measurement, usually in meters.
Definition: Distance.h:47
void setId(QString id)
Override the automatically generated ID with the given ID.
Definition: Image.cpp:383
Q_DECLARE_METATYPE(Isis::Image *)
Angle phaseAngle() const
Get the phase angle of this image, as calculated and attached by camstats.
Definition: Image.cpp:515
void copyToNewProjectRoot(const Project *project, FileName newProjectRoot)
Copy the cub/ecub files associated with this image into the new project.
Definition: Image.cpp:534
This is the GUI communication mechanism for cubes.
Definition: ImageDisplayProperties.h:85
double sampleResolution() const
Get the sample resolution of this image, as calculated and attached by camstats.
Definition: Image.cpp:525
double lineResolution() const
Get the line resolution of this image, as calculated and attached by camstats.
Definition: Image.cpp:485
Image(QString imageFileName, QObject *parent=0)
Create an image from a cube file on disk.
Definition: Image.cpp:42
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:112
This represents a cube in a project-based GUI interface.
Definition: Image.h:107
ImageDisplayProperties * displayProperties()
Get the display (GUI) properties (information) associated with this image.
Definition: Image.cpp:320
QString observationNumber()
Returns the observation number of the Cube.
Definition: Image.cpp:349
Defines an angle and provides unit conversions.
Definition: Angle.h:62
bool isFootprintable() const
Test to see if it's possible to create a footprint from this image.
Definition: Image.cpp:253
Angle northAzimuth() const
Get the north azimuth of this image, as calculated and attached by camstats.
Definition: Image.cpp:505
bool initFootprint(QMutex *cameraMutex)
Calculate a footprint for this image.
Definition: Image.cpp:409
double resolution() const
Get the resolution of this image, as calculated and attached by camstats.
Definition: Image.cpp:455
Distance localRadius() const
Get the local radius of this image, as calculated and attached by camstats.
Definition: Image.cpp:495
QString id() const
Get a unique, identifying string associated with this image.
Definition: Image.cpp:445
QString serialNumber()
Returns the serial number of the Cube.
Definition: Image.cpp:361
geos::geom::MultiPolygon * footprint()
Get the footprint of this image (if available).
Definition: Image.cpp:374
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Cube * cube()
Get the Cube pointer associated with this display property.
Definition: Image.cpp:287
double aspectRatio() const
Get the aspect ratio of this image, as calculated and attached by camstats.
Definition: Image.cpp:436
void fromPvl(const PvlObject &pvl)
Read the image settings from a Pvl.
Definition: Image.cpp:194
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
Angle incidenceAngle() const
Get the incidence angle of this image, as calculated and attached by camstats.
Definition: Image.cpp:475
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:25
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Write the Image properties out to an XML file.
Definition: Image.cpp:626
void closeCube()
Cleans up the Cube pointer.
Definition: Image.cpp:307
QString fileName() const
Get the file name of the cube that this image represents.
Definition: Image.cpp:340
IO Handler for Isis Cubes.
Definition: Cube.h:170