Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis 3 Programmer Reference
CameraFactory.h
1#ifndef CameraFactory_h
2#define CameraFactory_h
7
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "Plugin.h"
10#include "csm/Model.h"
11
12namespace Isis {
13 class Camera;
14 class Cube;
15
52
54 public:
55 static Camera *Create(Cube &cube);
56 static int CameraVersion(Cube &cube);
57 static int CameraVersion(Pvl &lab);
58 static void initPlugin();
59 static csm::Model *constructModelFromIsd(QString isdFilePath, QString pluginName = "", QString modelName = "", QString isdFormat = "");
60 static QStringList getModelSpecFromIsd(QString isdFilePath, QString pluginName = "", QString modelName = "");
61
62 private:
68
71
73 static bool m_initialized;
74 };
75};
76
77#endif
78
79
static QStringList getModelSpecFromIsd(QString isdFilePath, QString pluginName="", QString modelName="")
Generate CSM Model specs from ISD.
static bool m_initialized
Has the plugin list been initialized.
static Camera * Create(Cube &cube)
Creates a Camera object using Pvl Specifications.
static void initPlugin()
Reads the appropriate plugin file for the ISIS cameras, and scans the directories specified in IsisPr...
~CameraFactory()
Destroys the CameraFactory object.
static int CameraVersion(Cube &cube)
This looks up the current camera model version from the cube.
static csm::Model * constructModelFromIsd(QString isdFilePath, QString pluginName="", QString modelName="", QString isdFormat="")
Constructs CSM Model from ISD.
CameraFactory()
Constructor (Its private, so you cannot use it.
static Plugin m_cameraPlugin
The plugin file for the camera.
IO Handler for Isis Cubes.
Definition Cube.h:168
Loads plugins from a shared library.
Definition Plugin.h:55
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16