Isis 3.0
Back | Home
Isis::GuiCamera Class Reference

Container class for GuiCamera. More...

#include <GuiCamera.h>

Inherits QObject.

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 GuiCameraDisplayPropertiesdisplayProperties () const
 Retrieves the display properties of the camera. More...
 
QString id () const
 This returns the NAIF body code of the target. 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...
 

Detailed Description

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.

Author
2015-06-23 Ken Edmundson

Constructor & Destructor Documentation

Isis::GuiCamera::GuiCamera ( Camera camera,
QObject parent = 0 
)

The constructor for this class.

Parameters
cameraA traditional Isis::Camera object which we are wrapping in this class.
parentA pointer to the object instantiating this object.

References Isis::Camera::instrumentNameLong(), Isis::Camera::instrumentNameShort(), Isis::Camera::spacecraftNameLong(), and Isis::Camera::spacecraftNameShort().

Isis::GuiCamera::~GuiCamera ( )

The Destructor.

Member Function Documentation

const GuiCameraDisplayProperties * Isis::GuiCamera::displayProperties ( ) const

Retrieves the display properties of the camera.

Returns
GuiCameraDisplayProperties

Referenced by operator==(), and Isis::SensorInfoWidget::SensorInfoWidget().

QString Isis::GuiCamera::id ( ) const

This returns the NAIF body code of the target.

Returns
SpiceInt NAIF body code returns "a" radius
Distance value of body radius "a" returns "a" radius sigma
Distance value of body radius "a" sigma returns "b" radius
Distance value of body radius "b" returns "b" radius sigma
Distance value of body radius "b" sigma returns "c" radius
Distance value of body radius "c" returns "c" radius sigma
Distance value of body radius "c" sigma returns mean radius
Distance value of body mean radius returns mean radius sigma
Distance value of body mean radius 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.

Parameters
bundleSettingsThe image we're going to be initializing
imageFolderThe folder that contains the Cube Handle an XML start element. This expects <image> and <displayProperties> elements.
Returns
If we should continue reading the XML (usually true). Retrieves a unique, identifying string associated with this GuiCamera object.
QString returns m_id
QString Isis::GuiCamera::instrumentNameLong ( )

Retrieves a long version for the name of the instrument.

Returns
QString Returns m_instrumentNameLong.
QString Isis::GuiCamera::instrumentNameShort ( )

Retrieves an abbreviated version for the name of the instrument.

Returns
QString Returns m_instrumentNameShort.
bool Isis::GuiCamera::operator== ( const GuiCamera srcGuiCamera) const

Compares two Target Body objects to see if they are equal.

Parameters
srcGuiCameraGuiCamera object to compare against
Returns
bool Returns True if the objects are equal, False if not.

References Isis::DisplayProperties::displayName(), and displayProperties().

QString Isis::GuiCamera::spacecraftNameLong ( )

Retrieves the full name of the spacecraft.

Returns
QString Returns m_spacecraftNameLong.

Referenced by Isis::SensorInfoWidget::SensorInfoWidget().

QString Isis::GuiCamera::spacecraftNameShort ( )

Retrieves an abbbreviated name for the spacecraft.

Returns
QString Returns m_spacecraftNameShort.

The documentation for this class was generated from the following files:

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:37:52