30class QXmlStreamWriter;
 
   44  class ShapeDisplayProperties;
 
   45  class XmlStackedHandlerReader;
 
   77      explicit Shape(QString shapeFileName, 
QObject *parent = 0);
 
   96      const geos::geom::MultiPolygon *
footprint() 
const;
 
   97      void setId(QString 
id);
 
  114      void save(QXmlStreamWriter &stream, 
const Project *project, 
FileName newProjectRoot) 
const;
 
  123      void initMemberData();
 
  129      geos::geom::MultiPolygon *createFootprint(QMutex *cameraMutex);
 
  130      void initQuickFootprint();
 
  142          virtual bool startElement(
const QString &namespaceURI, 
const QString &localName,
 
  143                                    const QString &qName, 
const QXmlAttributes &atts);
 
  144          virtual bool characters(
const QString &ch);
 
  145          virtual bool endElement(
const QString &namespaceURI, 
const QString &localName,
 
  146                                    const QString &qName);
 
  149          Q_DISABLE_COPY(XmlHandler);
 
  153          QString m_characters;
 
  157      SpiceInt *m_bodyCode;    
 
  171      ShapeType m_shapeType;
 
  176      ShapeDisplayProperties *m_displayProperties;
 
  184      QString m_serialNumber;
 
  188      QString m_instrumentId;
 
  192      QString m_spacecraftName;
 
  196      geos::geom::MultiPolygon *m_footprint;
 
  203      double m_aspectRatio;
 
  205      Angle m_emissionAngle;
 
  206      Angle m_incidenceAngle;
 
  207      double m_lineResolution;
 
  208      Distance m_localRadius;
 
  209      Angle m_northAzimuth;
 
  211      double m_sampleResolution;
 
  214      QString m_targetName;
 
  215      QString m_projectionName;
 
  216      Longitude m_centerLongitude;
 
  217      Latitude m_centerLatitude;
 
  218      Latitude m_minimumLatitude;
 
  219      Latitude m_maximumLatitude;
 
  220      Longitude m_minimumLongitude;
 
  221      Longitude m_maximumLongitude;
 
  222      double m_pixelResolution;
 
  226      Distance m_minimumRadius;
 
  227      Distance m_maximumRadius;
 
 
Q_DECLARE_METATYPE(Isis::Shape *)
 
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
 
File name manipulation and expansion.
Definition FileName.h:100
 
The main project for ipce.
Definition Project.h:289
 
Contains Pvl Groups and Pvl Objects.
Definition PvlObject.h:61
 
This is the GUI communication mechanism for shape objects.
Definition ShapeDisplayProperties.h:60
 
This represents a shape in a project-based GUI interface.
Definition Shape.h:68
 
~Shape()
Clean up this shape.
Definition Shape.cpp:89
 
Shape(QString shapeFileName, QObject *parent=0)
Create an Shape from a cube file on disk.
Definition Shape.cpp:45
 
void closeCube()
Cleans up the Cube *.
Definition Shape.cpp:342
 
PvlObject toPvl() const
Convert this Shape to PVL.
Definition Shape.cpp:268
 
bool isFootprintable() const
Test to see if it's possible to create a footprint from this shape.
Definition Shape.cpp:294
 
Distance localRadius() const
Get the local radius of this shape, as calculated and attached by camstats.
Definition Shape.cpp:514
 
Angle phaseAngle() const
Get the phase angle of this shape, as calculated and attached by camstats.
Definition Shape.cpp:536
 
void updateFileName(Project *)
Change the on-disk file name for this cube to be where the shape ought to be in the given project.
Definition Shape.cpp:622
 
double resolution() const
Get the resolution of this shape, as calculated and attached by camstats.
Definition Shape.cpp:470
 
QString serialNumber()
Get the serial number.
Definition Shape.cpp:385
 
double sampleResolution() const
Get the sample resolution of this shape, as calculated and attached by camstats.
Definition Shape.cpp:547
 
ShapeDisplayProperties * displayProperties()
Get the display (GUI) properties (information) associated with this shape.
Definition Shape.cpp:355
 
double lineResolution() const
Get the line resolution of this shape, as calculated and attached by camstats.
Definition Shape.cpp:503
 
void deleteFromDisk()
Delete the shape data from disk.
Definition Shape.cpp:591
 
Angle emissionAngle() const
Get the emission angle of this shape, as calculated and attached by camstats.
Definition Shape.cpp:481
 
QString id() const
Get a unique, identifying string associated with this shape.
Definition Shape.cpp:459
 
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Output format:
Definition Shape.cpp:844
 
double aspectRatio() const
Get the aspect ratio of this shape, as calculated and attached by camstats.
Definition Shape.cpp:449
 
QString fileName() const
Get the file name of the cube that this shape represents.
Definition Shape.cpp:376
 
Cube * cube()
Get the Cube * associated with this display property.
Definition Shape.cpp:324
 
Angle incidenceAngle() const
Get the incidence angle of this shape, as calculated and attached by camstats.
Definition Shape.cpp:492
 
void copyToNewProjectRoot(const Project *project, FileName newProjectRoot)
Copy the cub/ecub files associated with this shape into the new project.
Definition Shape.cpp:555
 
ControlPoint::RadiusSource::Source radiusSource()
Definition Shape.cpp:214
 
bool initFootprint(QMutex *cameraMutex)
Calculate a footprint for this shape.
Definition Shape.cpp:421
 
void fromPvl(const PvlObject &pvl)
Read the shape settings from a Pvl.
Definition Shape.cpp:236
 
ShapeType shapeType()
Definition Shape.cpp:219
 
ShapeType
Definition Shape.h:71
 
@ Unknown
Definition Shape.h:75
 
@ Unprojected
Definition Shape.h:74
 
@ Dem
Definition Shape.h:72
 
@ Basemap
Definition Shape.h:73
 
void setId(QString id)
Override the automatically generated ID with the given ID.
Definition Shape.cpp:402
 
Angle northAzimuth() const
Get the north azimuth of this shape, as calculated and attached by camstats.
Definition Shape.cpp:525
 
ControlPoint::SurfacePointSource::Source surfacePointSource()
Definition Shape.cpp:209
 
geos::geom::MultiPolygon * footprint()
Get the footprint of this shape (if available).
Definition Shape.cpp:394
 
XML Handler that parses XMLs in a stack-oriented way.
Definition XmlStackedHandler.h:118
 
Manage a stack of content handlers for reading XML files.
Definition XmlStackedHandlerReader.h:30
 
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
 
Source
Definition ControlPoint.h:453
 
Source
Definition ControlPoint.h:442