/usr/include/libics_sensor.h is in libics-dev 1.5.2-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | /*
* libics: Image Cytometry Standard file reading and writing.
*
* Copyright (C) 2000-2006 Cris Luengo and others
* email: clluengo@users.sourceforge.net
*
* Large chunks of this library written by
* Bert Gijsbers
* Dr. Hans T.M. van der Voort
* And also Damir Sudar, Geert van Kempen, Jan Jitze Krol,
* Chiel Baarslag and Fons Laan.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* FILE : libics_sensor.h
* Written by Bert Gijsbers, Scientific Volume Imaging BV, Hilversum, NL
*
* Access functions to ICS sensor parameters.
*/
#ifndef LIBICS_SENSOR_H
#define LIBICS_SENSOR_H
#ifndef LIBICS_H
#include "libics.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
ICSEXPORT Ics_Error IcsEnableWriteSensor (ICS* ics, int enable);
/* This function enables writing the sensor parameters to disk. */
ICSEXPORT char const* IcsGetSensorType (ICS const* ics);
/* Get the sensor type string. */
ICSEXPORT Ics_Error IcsSetSensorType (ICS* ics, char const* sensor_type);
/* Set the sensor type string. */
ICSEXPORT char const* IcsGetSensorModel (ICS const* ics);
/* Get the sensor model string. */
ICSEXPORT Ics_Error IcsSetSensorModel (ICS* ics, char const* sensor_model);
/* Set the sensor model string. */
ICSEXPORT int IcsGetSensorChannels (ICS const* ics);
/* Get the number of sensor channels. */
ICSEXPORT Ics_Error IcsSetSensorChannels (ICS* ics, int channels);
/* Set the number of sensor channels. */
ICSEXPORT double IcsGetSensorPinholeRadius (ICS const* ics, int channel);
/* Get the pinhole radius for a sensor channel. */
ICSEXPORT Ics_Error IcsSetSensorPinholeRadius (ICS* ics, int channel, double radius);
/* Set the pinhole radius for a sensor channel. */
ICSEXPORT double IcsGetSensorExcitationWavelength (ICS const* ics, int channel);
/* Get the excitation wavelength for a sensor channel. */
ICSEXPORT Ics_Error IcsSetSensorExcitationWavelength (ICS* ics, int channel, double wl);
/* Set the excitation wavelength for a sensor channel. */
ICSEXPORT double IcsGetSensorEmissionWavelength (ICS const* ics, int channel);
/* Get the emission wavelength for a sensor channel. */
ICSEXPORT Ics_Error IcsSetSensorEmissionWavelength (ICS* ics, int channel, double wl);
/* Set the emission wavelength for a sensor channel. */
ICSEXPORT int IcsGetSensorPhotonCount (ICS const* ics, int channel);
/* Get the excitation photon count for a sensor channel. */
ICSEXPORT Ics_Error IcsSetSensorPhotonCount (ICS* ics, int channel, int cnt);
/* Set the excitation photon count for a sensor channel. */
ICSEXPORT double IcsGetSensorMediumRI (ICS const* ics);
/* Get the sensor embedding medium refractive index. */
ICSEXPORT Ics_Error IcsSetSensorMediumRI (ICS* ics, double ri);
/* Set the sensor embedding medium refractive index. */
ICSEXPORT double IcsGetSensorLensRI (ICS const* ics);
/* Get the sensor design medium refractive index. */
ICSEXPORT Ics_Error IcsSetSensorLensRI (ICS* ics, double ri);
/* Set the sensor design medium refractive index. */
ICSEXPORT double IcsGetSensorNumAperture (ICS const* ics);
/* Get the sensor numerical apperture */
ICSEXPORT Ics_Error IcsSetSensorNumAperture (ICS* ics, double na);
/* Set the sensor numerical apperture */
ICSEXPORT double IcsGetSensorPinholeSpacing (ICS const* ics);
/* Get the sensor Nipkow Disk pinhole spacing. */
ICSEXPORT Ics_Error IcsSetSensorPinholeSpacing (ICS* ics, double spacing);
/* Set the sensor Nipkow Disk pinhole spacing. */
#ifdef __cplusplus
}
#endif
#endif /* LIBICS_INTERN_H */
|