Isis 3.0 Programmer Reference
Back | Home
CameraFactory.h
Go to the documentation of this file.
1 #ifndef CameraFactory_h
2 #define CameraFactory_h
3 
24 #include "Plugin.h"
25 
26 namespace Isis {
27  class Camera;
28  class Cube;
29 
62  class CameraFactory {
63  public:
64  static Camera *Create(Cube &cube);
65  static int CameraVersion(Cube &cube);
66  static int CameraVersion(Pvl &lab);
67 
68  private:
69  static void initPlugin();
70 
76 
79 
80  static Plugin m_cameraPlugin;
81  };
82 };
83 
84 #endif
85 
86 
static int CameraVersion(Cube &cube)
This looks up the current camera model version from the cube labels.
Loads plugins from a shared library.
Definition: Plugin.h:71
~CameraFactory()
Destroys the CameraFactory object.
Definition: CameraFactory.h:78
Initializes a Camera Model.
Definition: CameraFactory.h:62
static Camera * Create(Cube &cube)
Creates a Camera object using Pvl Specifications.
CameraFactory()
Constructor (Its private, so you cannot use it.
Definition: CameraFactory.h:75
Container for cube-like labels.
Definition: Pvl.h:135
IO Handler for Isis Cubes.
Definition: Cube.h:158

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:15:33