Isis Developer Reference
IdealCamera.h
Go to the documentation of this file.
1 #ifndef IdealCamera_h
2 #define IdealCamera_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "Camera.h"
11 
12 #include <QString>
13 
14 namespace Isis {
58  class IdealCamera : public Camera {
59  public:
60  // Constructs a HiriseCamera object
61  IdealCamera(Cube &cube);
62 
63  // Destroys the HiriseCamera object
64  ~IdealCamera();
65 
71  virtual CameraType GetCameraType() const {
72  if(p_framing) return Framing;
73  return LineScan;
74  }
75 
76  virtual int CkFrameId() const;
77  virtual int CkReferenceId() const;
78  virtual int SpkTargetId() const;
79  virtual int SpkCenterId() const;
80  virtual int SpkReferenceId() const;
81  virtual QString instrumentNameLong() const;
82  virtual QString instrumentNameShort() const;
83  virtual QString spacecraftNameLong() const;
84  virtual QString spacecraftNameShort() const;
85 
86  private:
87  bool p_framing;
88  QString m_instrumentNameLong;
89  QString m_instrumentNameShort;
90  QString m_spacecraftNameLong;
91  QString m_spacecraftNameShort;
92  };
93 };
94 
95 #endif
Isis::IdealCamera::instrumentNameShort
virtual QString instrumentNameShort() const
This method returns the shortened instrument name.
Definition: IdealCamera.cpp:312
Isis::LineScanCameraSkyMap
Convert between undistorted focal plane and ra/dec coordinates.
Definition: LineScanCameraSkyMap.h:34
Isis::CameraFocalPlaneMap::SetDetectorOrigin
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
Definition: CameraFocalPlaneMap.cpp:293
Isis::Camera::exposureDuration
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
Definition: Camera.cpp:3063
Isis::PvlObject::findGroup
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Isis::IdealCamera::spacecraftNameShort
virtual QString spacecraftNameShort() const
This method returns the shortened spacecraft name.
Definition: IdealCamera.cpp:332
LineScanCameraGroundMap.h
Isis::CameraDetectorMap
Convert between parent image coordinates and detector coordinates.
Definition: CameraDetectorMap.h:47
IdealCamera.h
LineScanCameraSkyMap.h
Isis::IdealCamera::spacecraftNameLong
virtual QString spacecraftNameLong() const
This method returns the full spacecraft name.
Definition: IdealCamera.cpp:322
Isis::Spice::storeValue
void storeValue(QString key, int index, SpiceValueType type, QVariant value)
Definition: Spice.cpp:1190
Isis::IdealCamera::SpkReferenceId
virtual int SpkReferenceId() const
SPK Reference ID.
Definition: IdealCamera.cpp:291
NaifStatus.h
Isis::PvlContainer::hasKeyword
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Isis::NaifStatus::CheckErrors
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Definition: NaifStatus.cpp:28
Isis::Camera
Definition: Camera.h:236
Isis::Spice::SpiceDoubleType
@ SpiceDoubleType
SpiceDouble type.
Definition: Spice.h:349
Isis::IdealCamera
Ideal Camera Model.
Definition: IdealCamera.h:58
Isis::IdealCamera::GetCameraType
virtual CameraType GetCameraType() const
Returns the type of camera that was created.
Definition: IdealCamera.h:71
IString.h
Isis::CameraGroundMap
Convert between undistorted focal plane and ground coordinates.
Definition: CameraGroundMap.h:73
Isis::PvlObject::Traverse
@ Traverse
Search child objects.
Definition: PvlObject.h:158
Isis::IdealCamera::IdealCamera
IdealCamera(Cube &cube)
Creates a generic camera model.
Definition: IdealCamera.cpp:61
Isis::Camera::LineScan
@ LineScan
Line Scan Camera.
Definition: Camera.h:360
Isis::IdealCamera::CkReferenceId
virtual int CkReferenceId() const
CK Reference ID.
Definition: IdealCamera.cpp:255
Isis::Sensor::setTime
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Definition: Sensor.cpp:97
Isis::Camera::Framing
@ Framing
Framing Camera.
Definition: Camera.h:358
Isis::Camera::SetPixelPitch
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Definition: Camera.cpp:1418
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Pvl.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::Camera::CameraType
CameraType
This enum defines the types of cameras supported in this class.
Definition: Camera.h:357
Isis::CameraFocalPlaneMap::Line
@ Line
The x value of the focal plane maps to a line.
Definition: CameraFocalPlaneMap.h:125
CameraDistortionMap.h
Isis::LineScanCameraGroundMap
Convert between undistorted focal plane and ground coordinates.
Definition: LineScanCameraGroundMap.h:49
Isis::IdealCamera::instrumentNameLong
virtual QString instrumentNameLong() const
This method returns the full instrument name.
Definition: IdealCamera.cpp:302
CameraFocalPlaneMap.h
Isis::CameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::IdealCamera::CkFrameId
virtual int CkFrameId() const
CK frame ID.
Definition: IdealCamera.cpp:243
Camera.h
Isis::IdealCamera::SpkCenterId
virtual int SpkCenterId() const
SPK Center ID.
Definition: IdealCamera.cpp:279
Isis::CameraFocalPlaneMap::Sample
@ Sample
The x value of the focal plane maps to a sample.
Definition: CameraFocalPlaneMap.h:124
IException.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
std
Namespace for the standard library.
Isis::Camera::LoadCache
void LoadCache()
This loads the spice cache big enough for this image.
Definition: Camera.cpp:2420
Isis::IdealCamera::~IdealCamera
~IdealCamera()
Destroys the IdealCamera object.
Definition: IdealCamera.cpp:234
Isis::CameraFocalPlaneMap
Convert between distorted focal plane and detector coordinates.
Definition: CameraFocalPlaneMap.h:85
Isis::Camera::PixelPitch
double PixelPitch() const
Returns the pixel pitch.
Definition: Camera.cpp:2742
LineScanCameraDetectorMap.h
Isis::Cube::label
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
Isis::CameraSkyMap
Convert between undistorted focal plane and ra/dec coordinates.
Definition: CameraSkyMap.h:31
iTime.h
Isis::IdealCamera::SpkTargetId
virtual int SpkTargetId() const
SPK Target ID.
Definition: IdealCamera.cpp:267
Isis::Spice::readValue
QVariant readValue(QString key, SpiceValueType type, int index=0)
This should be used for reading ALL text naif kernel values.
Definition: Spice.cpp:1093
IdealCameraPlugin
Isis::Camera * IdealCameraPlugin(Isis::Cube &cube)
External C function for createing the camera plugin.
Definition: IdealCamera.cpp:347
Isis::Camera::SetFocalLength
void SetFocalLength()
Reads the focal length from the instrument kernel.
Definition: Camera.cpp:1411
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::LineScanCameraDetectorMap
Convert between parent image coordinates and detector coordinates.
Definition: LineScanCameraDetectorMap.h:37
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126