Isis 3 Developer Reference
|
Container class for GuiCamera. More...
#include <GuiCamera.h>
Public Member Functions | |
GuiCamera (Camera *camera, QObject *parent=0) | |
The constructor for this class. More... | |
~GuiCamera () | |
The Destructor. More... | |
bool | operator== (const GuiCamera &srcGuiCamera) const |
Compares two Target Body objects to see if they are equal. More... | |
const GuiCameraDisplayProperties * | displayProperties () const |
Retrieves the display properties of the camera. More... | |
QString | id () const |
Output format: More... | |
QString | instrumentId () |
Retrieve the InstrumentId as appears in the original cube label. More... | |
QString | instrumentNameShort () |
Retrieves an abbreviated version for the name of the instrument. More... | |
QString | instrumentNameLong () |
Retrieves a long version for the name of the instrument. More... | |
QString | spacecraftNameShort () |
Retrieves an abbbreviated name for the spacecraft. More... | |
QString | spacecraftNameLong () |
Retrieves the full name of the spacecraft. More... | |
Container class for GuiCamera.
This class represents a camera in a project-based GUI interface. It encapsulates ideas about a camera such as it's display name, how it should be viewed, where it is on disk, etc.
The constructor for this class.
camera | A traditional Isis::Camera object which we are wrapping in this class. |
parent | A pointer to the object instantiating this object. |
References Isis::Camera::instrumentId(), Isis::Camera::instrumentNameLong(), Isis::Camera::instrumentNameShort(), Isis::Camera::spacecraftNameLong(), and Isis::Camera::spacecraftNameShort().
Isis::GuiCamera::~GuiCamera | ( | ) |
The Destructor.
const GuiCameraDisplayProperties * Isis::GuiCamera::displayProperties | ( | ) | const |
Retrieves the display properties of the camera.
Referenced by operator==(), and Isis::SensorInfoWidget::SensorInfoWidget().
QString Isis::GuiCamera::id | ( | ) | const |
Output format:
<image id="..." filename="..."> ... </image>
(fileName attribute is just the base name) Create an XML Handler (reader) that can populate the BundleSettings class data. See BundleSettings::save() for the expected format.
bundleSettings | The image we're going to be initializing |
imageFolder | The folder that contains the Cube Handle an XML start element. This expects <image> and <displayProperties> elements. |
QString Isis::GuiCamera::instrumentId | ( | ) |
Retrieve the InstrumentId as appears in the original cube label.
QString Isis::GuiCamera::instrumentNameLong | ( | ) |
Retrieves a long version for the name of the instrument.
QString Isis::GuiCamera::instrumentNameShort | ( | ) |
Retrieves an abbreviated version for the name of the instrument.
bool Isis::GuiCamera::operator== | ( | const GuiCamera & | srcGuiCamera | ) | const |
Compares two Target Body objects to see if they are equal.
srcGuiCamera | GuiCamera object to compare against |
References Isis::DisplayProperties::displayName(), and displayProperties().
QString Isis::GuiCamera::spacecraftNameLong | ( | ) |
Retrieves the full name of the spacecraft.
Referenced by Isis::SensorInfoWidget::SensorInfoWidget().
QString Isis::GuiCamera::spacecraftNameShort | ( | ) |
Retrieves an abbbreviated name for the spacecraft.