Cortex
10.0.0-a4
|
#include <LensModel.h>
Public Member Functions | |
LensModelRegistration () | |
Registers the lens model. | |
Instantiating an instance of LensModelRegistration<YourLensModelClass> registers your model to a mapping of LensModel names to their creator functions. This allows the LensModel::create() methods to return instantiations of the LensModel. The best way to ensure that your lens model is registered is to create a static instantiation of LensModelRegistration within YourLensModelClass.