• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

libfli-camera.h

Go to the documentation of this file.
00001 /*
00002 
00003   Copyright (c) 2002 Finger Lakes Instrumentation (FLI), L.L.C.
00004   All rights reserved.
00005 
00006   Redistribution and use in source and binary forms, with or without
00007   modification, are permitted provided that the following conditions
00008   are met:
00009 
00010         Redistributions of source code must retain the above copyright
00011         notice, this list of conditions and the following disclaimer.
00012 
00013         Redistributions in binary form must reproduce the above
00014         copyright notice, this list of conditions and the following
00015         disclaimer in the documentation and/or other materials
00016         provided with the distribution.
00017 
00018         Neither the name of Finger Lakes Instrumentation (FLI), LLC
00019         nor the names of its contributors may be used to endorse or
00020         promote products derived from this software without specific
00021         prior written permission.
00022 
00023   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00024   ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00025   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00026   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00027   REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00028   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00029   BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00030   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00031   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00032   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00033   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00034   POSSIBILITY OF SUCH DAMAGE.
00035 
00036   ======================================================================
00037 
00038   Finger Lakes Instrumentation, L.L.C. (FLI)
00039   web: http://www.fli-cam.com
00040   email: support@fli-cam.com
00041 
00042 */
00043 
00044 #ifndef _LIBFLI_CAMERA_H_
00045 #define _LIBFLI_CAMERA_H_
00046 
00047 typedef struct {
00048   int x;                        /* X coordinate */
00049   int y;                        /* Y coordinate */
00050 } point_t;
00051 
00052 typedef struct {
00053   point_t ul;                  /* Upper-left */
00054   point_t lr;                  /* Lower-right */
00055 } area_t;
00056 
00057 /* CCD Parameter list */
00058 typedef struct
00059 {
00060   short index;
00061   const char *model;
00062   area_t array_area;
00063   area_t visible_area;
00064   double fillfactor;
00065   double pixelwidth;
00066   double pixelheight;
00067 } fliccdinfo_t;
00068 
00069 typedef struct {
00070   long readto;
00071   long writeto;
00072   long dirto;
00073   fliccdinfo_t ccd;
00074 
00075   /* Acquisistion parameters */
00076   area_t image_area;
00077   long vbin;
00078   long hbin;
00079   long vflushbin;
00080   long hflushbin;
00081   long exposure;
00082   long expdur;
00083   long expmul;
00084   long frametype;
00085   long flushes;
00086   long bitdepth;
00087   long exttrigger;
00088   long exttriggerpol;
00089 
00090   double tempslope;
00091   double tempintercept;
00092 
00093   long grabrowcount;
00094   long grabrowcounttot;
00095   long grabrowindex;
00096   long grabrowwidth;
00097   long grabrowbatchsize;
00098   long grabrowbufferindex;
00099   long flushcountbeforefirstrow;
00100   long flushcountafterlastrow;
00101 
00102   unsigned short *gbuf;
00103 } flicamdata_t;
00104 
00105 extern const fliccdinfo_t knowndev[];
00106 
00107 long fli_camera_open(flidev_t dev);
00108 long fli_camera_close(flidev_t dev);
00109 long fli_camera_command(flidev_t dev, int cmd, int argc, ...);
00110 
00111 #endif /* _LIBFLI_CAMERA_H_ */

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal