40class QXmlStreamWriter;
51 class ImageDisplayProperties;
108 explicit Image(QString imageFileName,
QObject *parent = 0);
114 void fromPvl(
const PvlObject &pvl);
115 PvlObject
toPvl()
const;
126 const geos::geom::MultiPolygon *
footprint()
const;
127 void setId(QString
id);
144 void save(QXmlStreamWriter &stream,
const Project *project, FileName newProjectRoot)
const;
150 geos::geom::MultiPolygon *createFootprint(QMutex *cameraMutex);
152 void initQuickFootprint();
158 SpiceInt *m_bodyCode;
184 QString m_instrumentId;
189 QString m_observationNumber;
194 QString m_serialNumber;
199 QString m_spacecraftName;
204 geos::geom::MultiPolygon *m_footprint;
210 double m_aspectRatio;
212 Angle m_emissionAngle;
213 Angle m_incidenceAngle;
214 double m_lineResolution;
215 double m_sampleResolution;
217 Angle m_northAzimuth;
Q_DECLARE_METATYPE(Isis::Image *)
Defines an angle and provides unit conversions.
Definition Angle.h:45
IO Handler for Isis Cubes.
Definition Cube.h:168
Distance measurement, usually in meters.
Definition Distance.h:34
This is the GUI communication mechanism for cubes.
Definition ImageDisplayProperties.h:84
This represents a cube in a project-based GUI interface.
Definition Image.h:105
Cube * cube()
Get the Cube pointer associated with this display property.
Definition Image.cpp:263
Angle incidenceAngle() const
Get the incidence angle of this image, as calculated and attached by camstats.
Definition Image.cpp:451
void copyToNewProjectRoot(const Project *project, FileName newProjectRoot)
Copy the cub/ecub files associated with this image into the new project.
Definition Image.cpp:510
void setId(QString id)
Override the automatically generated ID with the given ID.
Definition Image.cpp:359
Angle phaseAngle() const
Get the phase angle of this image, as calculated and attached by camstats.
Definition Image.cpp:491
void closeCube()
Cleans up the Cube pointer.
Definition Image.cpp:283
Distance localRadius() const
Get the local radius of this image, as calculated and attached by camstats.
Definition Image.cpp:471
geos::geom::MultiPolygon * footprint()
Get the footprint of this image (if available).
Definition Image.cpp:350
QString serialNumber()
Returns the serial number of the Cube.
Definition Image.cpp:337
~Image()
Clean up this image.
Definition Image.cpp:137
Angle emissionAngle() const
Get the emission angle of this image, as calculated and attached by camstats.
Definition Image.cpp:441
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:667
double lineResolution() const
Get the line resolution of this image, as calculated and attached by camstats.
Definition Image.cpp:461
bool isFootprintable() const
Test to see if it's possible to create a footprint from this image.
Definition Image.cpp:229
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Write the Image properties out to an XML file.
Definition Image.cpp:602
double aspectRatio() const
Get the aspect ratio of this image, as calculated and attached by camstats.
Definition Image.cpp:412
PvlObject toPvl() const
Convert this Image to PVL.
Definition Image.cpp:202
Image(QString imageFileName, QObject *parent=0)
Create an image from a cube file on disk.
Definition Image.cpp:41
ImageDisplayProperties * displayProperties()
Get the display (GUI) properties (information) associated with this image.
Definition Image.cpp:296
Angle northAzimuth() const
Get the north azimuth of this image, as calculated and attached by camstats.
Definition Image.cpp:481
QString observationNumber()
Returns the observation number of the Cube.
Definition Image.cpp:325
QString fileName() const
Get the file name of the cube that this image represents.
Definition Image.cpp:316
QString id() const
Get a unique, identifying string associated with this image.
Definition Image.cpp:421
double resolution() const
Get the resolution of this image, as calculated and attached by camstats.
Definition Image.cpp:431
void fromPvl(const PvlObject &pvl)
Read the image settings from a Pvl.
Definition Image.cpp:170
bool initFootprint(QMutex *cameraMutex)
Calculate a footprint for this image.
Definition Image.cpp:385
void deleteFromDisk()
Delete the image data from disk.
Definition Image.cpp:562
double sampleResolution() const
Get the sample resolution of this image, as calculated and attached by camstats.
Definition Image.cpp:501
The main project for ipce.
Definition Project.h:287
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16