Isis Developer Reference
|
Container class for GuiCamera. More...
#include <GuiCamera.h>
Public Member Functions | |
GuiCamera (Camera *camera, QObject *parent=0) | |
The constructor for this class. | |
~GuiCamera () | |
The Destructor. | |
bool | operator== (const GuiCamera &srcGuiCamera) const |
Compares two Target Body objects to see if they are equal. | |
const GuiCameraDisplayProperties * | displayProperties () const |
Retrieves the display properties of the camera. | |
QString | id () const |
Output format: | |
QString | instrumentId () |
Retrieve the InstrumentId as appears in the original cube label. | |
QString | instrumentNameShort () |
Retrieves an abbreviated version for the name of the instrument. | |
QString | instrumentNameLong () |
Retrieves a long version for the name of the instrument. | |
QString | spacecraftNameShort () |
Retrieves an abbbreviated name for the spacecraft. | |
QString | spacecraftNameLong () |
Retrieves the full name of the spacecraft. | |
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 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. |
Retrieves a unique, identifying string associated with this GuiCamera object.
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().
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.