Isis 3 Programmer Reference
IdealCamera.h
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;
92  };
93 };
94 
95 #endif
Isis::IdealCamera::instrumentNameShort
virtual QString instrumentNameShort() const
This method returns the shortened instrument name.
Definition: IdealCamera.cpp:312
Isis::IdealCamera::spacecraftNameShort
virtual QString spacecraftNameShort() const
This method returns the shortened spacecraft name.
Definition: IdealCamera.cpp:332
Isis::IdealCamera::m_instrumentNameShort
QString m_instrumentNameShort
Shortened instrument name.
Definition: IdealCamera.h:89
Isis::IdealCamera::spacecraftNameLong
virtual QString spacecraftNameLong() const
This method returns the full spacecraft name.
Definition: IdealCamera.cpp:322
Isis::IdealCamera::SpkReferenceId
virtual int SpkReferenceId() const
SPK Reference ID.
Definition: IdealCamera.cpp:291
Isis::Camera
Definition: Camera.h:236
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
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::m_instrumentNameLong
QString m_instrumentNameLong
Full instrument name.
Definition: IdealCamera.h:88
Isis::IdealCamera::CkReferenceId
virtual int CkReferenceId() const
CK Reference ID.
Definition: IdealCamera.cpp:255
Isis::Camera::Framing
@ Framing
Framing Camera.
Definition: Camera.h:358
Isis::IdealCamera::m_spacecraftNameLong
QString m_spacecraftNameLong
Full spacecraft name.
Definition: IdealCamera.h:90
Isis::Camera::CameraType
CameraType
This enum defines the types of cameras supported in this class.
Definition: Camera.h:357
Isis::IdealCamera::instrumentNameLong
virtual QString instrumentNameLong() const
This method returns the full instrument name.
Definition: IdealCamera.cpp:302
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IdealCamera::CkFrameId
virtual int CkFrameId() const
CK frame ID.
Definition: IdealCamera.cpp:243
Isis::IdealCamera::SpkCenterId
virtual int SpkCenterId() const
SPK Center ID.
Definition: IdealCamera.cpp:279
Isis::IdealCamera::~IdealCamera
~IdealCamera()
Destroys the IdealCamera object.
Definition: IdealCamera.cpp:234
Isis::IdealCamera::p_framing
bool p_framing
true if framing camera
Definition: IdealCamera.h:87
Isis::IdealCamera::SpkTargetId
virtual int SpkTargetId() const
SPK Target ID.
Definition: IdealCamera.cpp:267
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::IdealCamera::m_spacecraftNameShort
QString m_spacecraftNameShort
Shortened spacecraft name.
Definition: IdealCamera.h:91