41 class QXmlStreamWriter;
52 class ImageDisplayProperties;
55 class XmlStackedHandlerReader;
94 explicit Image(QString imageFileName,
QObject *parent = 0);
110 const geos::geom::MultiPolygon *
footprint()
const;
111 void setId(QString
id);
128 void save(QXmlStreamWriter &stream,
const Project *project,
FileName newProjectRoot)
const;
134 geos::geom::MultiPolygon *createFootprint(QMutex *cameraMutex);
136 void initQuickFootprint();
155 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
156 const QString &qName,
const QXmlAttributes &atts);
157 virtual bool characters(
const QString &ch);
158 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
159 const QString &qName);
162 Q_DISABLE_COPY(XmlHandler);
166 QString m_characters;
174 SpiceInt *m_bodyCode;
200 QString m_instrumentId;
205 QString m_spacecraftName;
210 geos::geom::MultiPolygon *m_footprint;
216 double m_aspectRatio;
218 Angle m_emissionAngle;
219 Angle m_incidenceAngle;
220 double m_lineResolution;
221 double m_sampleResolution;
223 Angle m_northAzimuth;
Angle incidenceAngle() const
Get the incidence angle of this image, as calculated and attached by camstats.
Definition: Image.cpp:424
The main project for cnetsuite.
Definition: Project.h:105
QString id() const
Get a unique, identifying string associated with this image.
Definition: Image.cpp:394
Angle emissionAngle() const
Get the emission angle of this image, as calculated and attached by camstats.
Definition: Image.cpp:414
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:624
File name manipulation and expansion.
Definition: FileName.h:111
~Image()
Clean up this image.
Definition: Image.cpp:129
void deleteFromDisk()
Delete the image data from disk.
Definition: Image.cpp:519
QString fileName() const
Get the file name of the cube that this image represents.
Definition: Image.cpp:305
bool isFootprintable() const
Test to see if it's possible to create a footprint from this image.
Definition: Image.cpp:221
Q_DECLARE_METATYPE(Isis::Cube *)
This allows Cube *'s to be stored in a QVariant.
double sampleResolution() const
Get the sample resolution of this image, as calculated and attached by camstats.
Definition: Image.cpp:474
double lineResolution() const
Get the line resolution of this image, as calculated and attached by camstats.
Definition: Image.cpp:434
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Distance measurement, usually in meters.
Definition: Distance.h:47
Distance localRadius() const
Get the local radius of this image, as calculated and attached by camstats.
Definition: Image.cpp:444
void setId(QString id)
Override the automatically generated ID with the given ID.
Definition: Image.cpp:333
void copyToNewProjectRoot(const Project *project, FileName newProjectRoot)
Copy the cub/ecub files associated with this image into the new project.
Definition: Image.cpp:483
PvlObject toPvl() const
Convert this Image to PVL.
Definition: Image.cpp:194
This is the GUI communication mechanism for cubes.
Definition: ImageDisplayProperties.h:85
Image(QString imageFileName, QObject *parent=0)
Create an image from a cube file on disk.
Definition: Image.cpp:40
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:47
double aspectRatio() const
Get the aspect ratio of this image, as calculated and attached by camstats.
Definition: Image.cpp:385
This represents a cube in a project-based GUI interface.
Definition: Image.h:91
ImageDisplayProperties * displayProperties()
Get the display (GUI) properties (information) associated with this image.
Definition: Image.cpp:285
double resolution() const
Get the resolution of this image, as calculated and attached by camstats.
Definition: Image.cpp:404
Angle northAzimuth() const
Get the north azimuth of this image, as calculated and attached by camstats.
Definition: Image.cpp:454
Defines an angle and provides unit conversions.
Definition: Angle.h:58
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Write the Image properties out to an XML file.
Definition: Image.cpp:559
bool initFootprint(QMutex *cameraMutex)
Calculate a footprint for this image.
Definition: Image.cpp:358
QString serialNumber()
Returns the serial number of the Cube.
Definition: Image.cpp:314
geos::geom::MultiPolygon * footprint()
Get the footprint of this image (if available).
Definition: Image.cpp:324
Cube * cube()
Get the Cube pointer associated with this display property.
Definition: Image.cpp:254
void fromPvl(const PvlObject &pvl)
Read the image settings from a Pvl.
Definition: Image.cpp:162
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
his enables stack-based XML parsing of XML files.
Definition: XmlStackedHandlerReader.h:26
Angle phaseAngle() const
Get the phase angle of this image, as calculated and attached by camstats.
Definition: Image.cpp:464
void closeCube()
Cleans up the Cube pointer.
Definition: Image.cpp:272
IO Handler for Isis Cubes.
Definition: Cube.h:158