Isis 3 Programmer Reference
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 
65  class CameraFactory {
66  public:
67  static Camera *Create(Cube &cube);
68  static int CameraVersion(Cube &cube);
69  static int CameraVersion(Pvl &lab);
70 
71  private:
72  static void initPlugin();
73 
79 
82 
83  static Plugin m_cameraPlugin;
84  };
85 };
86 
87 #endif
88 
89 
static Plugin m_cameraPlugin
The plugin file for the camera.
Definition: CameraFactory.h:81
static int CameraVersion(Cube &cube)
This looks up the current camera model version from the cube.
Loads plugins from a shared library.
Definition: Plugin.h:71
~CameraFactory()
Destroys the CameraFactory object.
Definition: CameraFactory.h:81
Initializes a Camera Model.
Definition: CameraFactory.h:65
static void initPlugin()
Reads the appropriate plugin file for the camera.
static Camera * Create(Cube &cube)
Creates a Camera object using Pvl Specifications.
CameraFactory()
Constructor (Its private, so you cannot use it.
Definition: CameraFactory.h:78
Container for cube-like labels.
Definition: Pvl.h:135
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
IO Handler for Isis Cubes.
Definition: Cube.h:170