Isis Developer Reference
IdealCamera.h
Go to the documentation of this file.
1#ifndef IdealCamera_h
2#define IdealCamera_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "Camera.h"
11
12#include <QString>
13
14namespace Isis {
58 class IdealCamera : public Camera {
59 public:
60 // Constructs a HiriseCamera object
61 IdealCamera(Cube &cube);
62
63 // Destroys the HiriseCamera object
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
Definition Camera.h:236
CameraType
This enum defines the types of cameras supported in this class.
Definition Camera.h:358
@ Framing
Framing Camera.
Definition Camera.h:359
@ LineScan
Line Scan Camera.
Definition Camera.h:361
IO Handler for Isis Cubes.
Definition Cube.h:168
Ideal Camera Model.
Definition IdealCamera.h:58
virtual QString instrumentNameShort() const
This method returns the shortened instrument name.
Definition IdealCamera.cpp:312
virtual int CkFrameId() const
CK frame ID.
Definition IdealCamera.cpp:243
virtual int SpkReferenceId() const
SPK Reference ID.
Definition IdealCamera.cpp:291
virtual QString spacecraftNameLong() const
This method returns the full spacecraft name.
Definition IdealCamera.cpp:322
virtual int SpkTargetId() const
SPK Target ID.
Definition IdealCamera.cpp:267
virtual int CkReferenceId() const
CK Reference ID.
Definition IdealCamera.cpp:255
virtual CameraType GetCameraType() const
Returns the type of camera that was created.
Definition IdealCamera.h:71
virtual int SpkCenterId() const
SPK Center ID.
Definition IdealCamera.cpp:279
~IdealCamera()
Destroys the IdealCamera object.
Definition IdealCamera.cpp:234
IdealCamera(Cube &cube)
Creates a generic camera model.
Definition IdealCamera.cpp:61
virtual QString spacecraftNameShort() const
This method returns the shortened spacecraft name.
Definition IdealCamera.cpp:332
virtual QString instrumentNameLong() const
This method returns the full instrument name.
Definition IdealCamera.cpp:302
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16