Isis 3 Programmer Reference
CameraFactory.h
1 #ifndef CameraFactory_h
2 #define CameraFactory_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "Plugin.h"
10 
11 namespace Isis {
12  class Camera;
13  class Cube;
14 
52  class CameraFactory {
53  public:
54  static Camera *Create(Cube &cube);
55  static int CameraVersion(Cube &cube);
56  static int CameraVersion(Pvl &lab);
57  static void initPlugin();
58 
59  private:
65 
68 
70  static bool m_initialized;
71  };
72 };
73 
74 #endif
75 
76 
Isis::CameraFactory::Create
static Camera * Create(Cube &cube)
Creates a Camera object using Pvl Specifications.
Definition: CameraFactory.cpp:45
Isis::CameraFactory::initPlugin
static void initPlugin()
Reads the appropriate plugin file for the ISIS cameras, and scans the directories specified in IsisPr...
Definition: CameraFactory.cpp:121
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::Camera
Definition: Camera.h:236
Isis::CameraFactory
Initializes a Camera Model.
Definition: CameraFactory.h:52
Isis::CameraFactory::~CameraFactory
~CameraFactory()
Destroys the CameraFactory object.
Definition: CameraFactory.h:67
Isis::CameraFactory::CameraVersion
static int CameraVersion(Cube &cube)
This looks up the current camera model version from the cube.
Definition: CameraFactory.cpp:161
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::CameraFactory::m_cameraPlugin
static Plugin m_cameraPlugin
The plugin file for the camera.
Definition: CameraFactory.h:67
Isis::CameraFactory::m_initialized
static bool m_initialized
Has the plugin list been initialized.
Definition: CameraFactory.h:70
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::Plugin
Loads plugins from a shared library.
Definition: Plugin.h:55
Isis::CameraFactory::CameraFactory
CameraFactory()
Constructor (Its private, so you cannot use it.
Definition: CameraFactory.h:64