![]() |
VR-Vantage 3.1 API Documentation
|
Public Types | |
| enum | enumApertureShapeType { ELLIPTICAL, RECTANGULAR } |
Public Member Functions | |
| double | getAspectRatio () |
| void | setAspectRatio (double aspectRatio) |
| double | getWidthDimension () |
| void | setWidthDimension (double widthDimension) |
| int | getApertureShape () |
| void | setApertureShape (int apertureShape) |
| double | getBlurSpotDiameter () |
| void | setBlurSpotDiameter (double blurSpotDiameter) |
| double | getMtfMotionBlurSize () |
| void | setMtfMotionBlurSize (double mtfMotionBlur) |
| double | getHorizFOV () |
| void | setHorizFOV (double horizFOV) |
| double | getVertFOV () |
| void | setLensTransmittance (double trans) |
| double | getLensTransmittance () const |
| void | setVertFOV (double vertFOV) |
| void | setHaloThreshold (double threshold) |
| double | getHaloThreshold () |
| void | setHaloRadius (double radius) |
| double | getHaloRadius () |
| void | setHaloIntensity (double intensity) |
| double | getHaloIntensity () |
| void | setPercentHaloIntensity (double percent) |
| double | getPercentHaloIntensity () |
| void | setUseSeparableKernelEnable (bool enable) |
| sets enable/disable of separable kernel support | |
| bool | getUseSeparableKernelEnable () const |
| gets enable/disable of separable kernel support | |
| void | setAberrationsEnable (bool enable) |
| sets the flag to compute monochromatic aberrations | |
| bool | getAberrationsEnable () const |
| gets the flag that controls computations of monochromatic aberrations | |
| void | setMeanWavelength (const double wavelength) |
| sets the wavelength to use for computing monochromatic aberrations | |
| double | getMeanWavelength () const |
| gets the wavelength used to compute monochromatic aberrations | |
| void | setAperturePercentageHorz (const double aperSizeX) |
| sets the relative size of the pupil plane for aberration calculation | |
| double | getAperturePercentageHorz () const |
| sets the relative size of the pupil plane for aberration calculation | |
| void | setAperturePercentageVert (const double aperSizeY) |
| sets the relative size of the pupil plane for aberration calculation | |
| double | getAperturePercentageVert () const |
| gets the relative size of the pupil plane for aberration calculation | |
| void | setDefocusCoefficient (const double defocus) |
| sets the amount of defocus in wavelength units | |
| double | getDefocusCoefficient () const |
| gets the amount of defocus in wavelength units | |
| void | setSphericalAberrationCoefficient (const double sphericalAberration) |
| sets the amount of spherical aberration in wavelength units | |
| double | getSphericalAberrationCoefficient () const |
| gets the amount of spherical aberration in wavelength units | |
| void | setComaCoefficient (const double coma) |
| sets the amount of coma in wavelength units | |
| double | getComaCoefficient () const |
| gets the amount of coma in wavelength units | |
| void | setAstigmatismCoefficient (const double astigmatism) |
| sets the amount of astigmatism in wavelength units | |
| double | getAstigmatismCoefficient () const |
| gets the amount of coma in wavelength units | |
| void | setFieldCurvatureCoefficient (const double fieldCurvature) |
| sets the amount of field curvature in wavelength units | |
| double | getFieldCurvatureCoefficient () const |
| gets the amount of field curvature in wavelength units | |
| void | setDistortionCoefficient (const double distortion) |
| sets the amount of distortion in wavelength units | |
| double | getDistortionCoefficient () const |
| gets the amount of distortion in wavelength units | |
| void | setFPASubDivisions (int subdivisions) |
| sets the number of sub divisions for spatially dependent kernel processing | |
| int | getFPASubDivisions () const |
| gets the number of sub divisions for spatially dependent kernel processing | |
| void | setUserDefinedKernelEnable (bool enable) |
| sets enable/disable of user defined kernel support | |
| bool | getUserDefinedKernelEnable () const |
| gets enable/disable of user defined kernel support | |
| void | setUserDefinedKernelRootFilename (char *filename) |
| Set the user defined Root Kernel filename this file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties. | |
| char * | getUserDefinedKernelRootFilename () |
| get the user defined root kernel filename | |
| void | setUserDefinedMTFenable (bool enable) |
| Set the user defined MTF enable If set then the file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties. | |
| bool | getUserDefinedMTFenable () |
| Get the user defined MTF enable. | |
| void | setUserDefinedMTFfilename (char *filename) |
| Set the user defined MTF filename this file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties. | |
| char * | getUserDefinedMTFfilename () |
| get the user defined MTF filename | |
| void | setHaloType (int type) |
| sets the halo type. | |
| int | getHaloType () const |
| gets the halo type. | |
| void | setImageMaskRadius (double radius) |
| sets the radius in normalized image space to mask pixels out for a rounded edge display | |
| double | getImageMaskRadius () const |
| gets the radius in normalized image space to mask pixels out for a rounded edge display | |
| void | setImageMaskScaleHorizontal (double scale) |
| sets the horizontal scale for the image mask | |
| double | getImageMaskScaleHorizontal () const |
| gets the horizontal scale for the image mask | |
| void | setImageMaskScaleVertical (double scale) |
| sets the vertical scale for the image mask | |
| double | getImageMaskScaleVertical () const |
| gets the vertical scale for the image mask | |
| void | setSensorIndex (int sensorIndex) |
| int | getSensorIndex () |
| bool | archive (std::ofstream &outf, int idx=0) |
| int | serialize (char *filepath, int idx) |
| bool | loadXML (clXMLNode *xmlParentNode) |
| bool | parseXML (clXML &xmlDocument) |
| bool | loadXMLNode (std::string tag, char *nodeString) |
| bool | loadXMLNode (std::string tag, bool *nodeBool) |
| bool | loadXMLNode (std::string tag, int *nodeInt) |
| bool | loadXMLNode (std::string tag, long *nodeLong) |
| bool | loadXMLNode (std::string tag, double *nodeDouble) |
| void | saveXML (clXML *xmlDocument) |
| int | serializeCheck (char *filepath) |
| Checks the saved configuration file for whether it has more than one panel saved. | |
| ciOptics | operator= (ciOptics &obj) |
| ciOptics () | |
| ciOptics (ciOptics &obj) | |
| virtual | ~ciOptics () |
ciOptics class declaration
| ciOptics::ciOptics | ( | ) |
| ciOptics::ciOptics | ( | ciOptics & | obj | ) |
| obj | - ciOptics object to be copied. |
|
virtual |
|
inline |
|
inline |
| aspectRatio- | The ascpect ratio to be assigned. |
|
inline |
|
inline |
| widthDimension | - The width dimension of the aperture. |
|
inline |
| aperture | shape - The enumerated aperture shape to be assigned. |
|
inline |
|
inline |
| blurSpotDiameter | - The blur spot diameter [mrad] to be assigned. |
|
inline |
|
inline |
| mtfMotionBlur | - The motion blur spot size [uRad] to be assigned. |
|
inline |
|
inline |
|
inline |
| trans | - The optical system transmittance |
|
inline |
|
inline |
|
inline |
| double | threshold |
|
inline |
|
inline |
| double | radius |
|
inline |
|
inline |
| double | intensity |
|
inline |
|
inline |
| double | percent |
|
inline |
sets enable/disable of separable kernel support
|
inline |
gets enable/disable of separable kernel support
sets the flag to compute monochromatic aberrations
| enable | flag |
|
inline |
gets the flag that controls computations of monochromatic aberrations
|
inline |
sets the wavelength to use for computing monochromatic aberrations
| central | wavelength |
|
inline |
gets the wavelength used to compute monochromatic aberrations
|
inline |
sets the relative size of the pupil plane for aberration calculation
| percentage | of the horizontal aperture |
|
inline |
sets the relative size of the pupil plane for aberration calculation
| percentage | of the horizontal aperture |
|
inline |
sets the relative size of the pupil plane for aberration calculation
| percentage | of the vertical aperture |
|
inline |
gets the relative size of the pupil plane for aberration calculation
|
inline |
sets the amount of defocus in wavelength units
| defocus | amount |
|
inline |
gets the amount of defocus in wavelength units
|
inline |
sets the amount of spherical aberration in wavelength units
| spherical | aberration amount |
|
inline |
gets the amount of spherical aberration in wavelength units
|
inline |
sets the amount of coma in wavelength units
| coma | amount |
|
inline |
gets the amount of coma in wavelength units
|
inline |
sets the amount of astigmatism in wavelength units
| astigmatism | amount |
|
inline |
gets the amount of coma in wavelength units
|
inline |
sets the amount of field curvature in wavelength units
| field | curvature amount |
|
inline |
gets the amount of field curvature in wavelength units
|
inline |
sets the amount of distortion in wavelength units
| distortion | amount |
|
inline |
gets the amount of distortion in wavelength units
sets the number of sub divisions for spatially dependent kernel processing
| type |
|
inline |
gets the number of sub divisions for spatially dependent kernel processing
sets enable/disable of user defined kernel support
|
inline |
gets enable/disable of user defined kernel support
| void ciOptics::setUserDefinedKernelRootFilename | ( | char * | filename | ) |
Set the user defined Root Kernel filename this file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties.
| filename |
|
inline |
get the user defined root kernel filename
Set the user defined MTF enable If set then the file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties.
|
inline |
Get the user defined MTF enable.
| void ciOptics::setUserDefinedMTFfilename | ( | char * | filename | ) |
Set the user defined MTF filename this file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties.
The file format is: number of samples (integer) maximum horizontal frequency maximum vertical frequency MTF x value and MTF y value for each frequency step from 0.0 to the maximum frequecy.
| filename |
|
inline |
get the user defined MTF filename
sets the halo type.
A value of 0 for PMT (like NVGs) and 1 for CCDs
| type |
|
inline |
gets the halo type.
A value of 0 for PMT (like NVGs) and 1 for CCDs
|
inline |
sets the radius in normalized image space to mask pixels out for a rounded edge display
| radius |
|
inline |
gets the radius in normalized image space to mask pixels out for a rounded edge display
|
inline |
sets the horizontal scale for the image mask
| radius |
|
inline |
gets the horizontal scale for the image mask
|
inline |
sets the vertical scale for the image mask
| radius |
|
inline |
gets the vertical scale for the image mask
|
inline |
| filepath | - complete path and filename to the file |
| filepath | - complete path and filename to the file |
| bool ciOptics::loadXMLNode | ( | std::string | tag, |
| char * | nodeString | ||
| ) |
| std::string | tag |
| char | *nodeString |
| bool ciOptics::loadXMLNode | ( | std::string | tag, |
| bool * | nodeBool | ||
| ) |
| std::string | tag |
| bool | *nodeBool |
| bool ciOptics::loadXMLNode | ( | std::string | tag, |
| int * | nodeInt | ||
| ) |
| std::string | tag |
| int | *nodeInt |
| bool ciOptics::loadXMLNode | ( | std::string | tag, |
| long * | nodeLong | ||
| ) |
| std::string | tag |
| long | *nodeLong |
| bool ciOptics::loadXMLNode | ( | std::string | tag, |
| double * | nodeDouble | ||
| ) |
| std::string | tag |
| double | *nodeDouble |
| int ciOptics::serializeCheck | ( | char * | filepath | ) |
Checks the saved configuration file for whether it has more than one panel saved.
| char | *filepath - path of the configuration file that is being checked. |
|
protected |
Aspect ratio of the aperture
|
protected |
Horizontal width dimension of the aperture [mm].
|
protected |
Aperture shape Rectangular (1) or Elliptical(0).
|
protected |
Blur Spot Diameter [urad].
|
protected |
Horizontal FOV of the sensor [deg]
|
protected |
Vertical FOV of the sensor [deg]
|
protected |
total lens transmittance of the sensor
|
protected |
Motion Blur Size [urad].
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Monochromatic wavefront error aberration (W) coefficients.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
flag indicating the use of user defined MTF data
|
protected |
file name for user defined MTF data
|
protected |
root file name for user defined kernel data
|
protected |
|
protected |