Isis 3 Programmer Reference
IdealCamera.h
Go to the documentation of this file.
1 #ifndef IdealCamera_h
2 #define IdealCamera_h
3 
25 #include "Camera.h"
26 
27 #include <QString>
28 
29 namespace Isis {
73  class IdealCamera : public Camera {
74  public:
75  // Constructs a HiriseCamera object
76  IdealCamera(Cube &cube);
77 
78  // Destroys the HiriseCamera object
79  ~IdealCamera();
80 
86  virtual CameraType GetCameraType() const {
87  if(p_framing) return Framing;
88  return LineScan;
89  }
90 
91  virtual int CkFrameId() const;
92  virtual int CkReferenceId() const;
93  virtual int SpkTargetId() const;
94  virtual int SpkCenterId() const;
95  virtual int SpkReferenceId() const;
96  virtual QString instrumentNameLong() const;
97  virtual QString instrumentNameShort() const;
98  virtual QString spacecraftNameLong() const;
99  virtual QString spacecraftNameShort() const;
100 
101  private:
102  bool p_framing;
107  };
108 };
109 
110 #endif
Line Scan Camera.
Definition: Camera.h:373
QString m_instrumentNameShort
Shortened instrument name.
Definition: IdealCamera.h:104
IdealCamera(Cube &cube)
Creates a generic camera model.
Definition: IdealCamera.cpp:76
virtual CameraType GetCameraType() const
Returns the type of camera that was created.
Definition: IdealCamera.h:86
virtual int SpkReferenceId() const
SPK Reference ID.
virtual QString spacecraftNameLong() const
This method returns the full spacecraft name.
CameraType
This enum defines the types of cameras supported in this class.
Definition: Camera.h:370
virtual int SpkCenterId() const
SPK Center ID.
QString m_instrumentNameLong
Full instrument name.
Definition: IdealCamera.h:103
virtual int CkReferenceId() const
CK Reference ID.
virtual QString instrumentNameLong() const
This method returns the full instrument name.
virtual int CkFrameId() const
CK frame ID.
Ideal Camera Model.
Definition: IdealCamera.h:73
bool p_framing
true if framing camera
Definition: IdealCamera.h:102
QString m_spacecraftNameLong
Full spacecraft name.
Definition: IdealCamera.h:105
~IdealCamera()
Destroys the IdealCamera object.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual int SpkTargetId() const
SPK Target ID.
Framing Camera.
Definition: Camera.h:371
virtual QString instrumentNameShort() const
This method returns the shortened instrument name.
QString m_spacecraftNameShort
Shortened spacecraft name.
Definition: IdealCamera.h:106
virtual QString spacecraftNameShort() const
This method returns the shortened spacecraft name.
IO Handler for Isis Cubes.
Definition: Cube.h:170