apps/ccam/vrml303.h

Go to the documentation of this file.
00001 // lvrml303.h.h
00002 #ifndef MAP_OPTIONS                     
00003 #ifndef MAP_FILE                        
00004   #define MAP_OPTIONS MAP_PRIVATE               /* Sun */
00005 #else
00006   #define MAP_OPTIONS MAP_FILE|MAP_PRIVATE      /* Linux */
00007 #endif
00008 #endif
00009 
00010 // maximal number of vrml grid vertexes i n x in y directions (=maximal image/8)
00011 #define MAX_VERTEX_X 161
00012 #define MAX_VERTEX_Y 129
00013 #ifndef MAX_IMAGE_WIDTH
00014  #define MAX_IMAGE_WIDTH  1288
00015  #define MAX_IMAGE_HEIGHT 1032
00016 #endif
00017 
00018 //#define MD(x) fprintf(stderr,"%s:%d:",__FILE__,__LINE__);x
00019 //#define MD(x)
00020 
00021 // <0 - error, 0 - OK
00022 
00023 // outputs VRML97 file built from 10-bit camera data
00024 int export_vrml     (const char * dmaFileName,
00025                 int     width,
00026                 int height,
00027                 int maxpixel,       // maximal pixel (full scale -= 1024, 0 - auto normalize)
00028                 int decimate_x,     // rectangle width to be combined in one vertex
00029                 int decimate_y,     // rectangle height to be combined in one vertex
00030                 int blocks_x,       // number of separate blocks in x direction
00031                 int blocks_y,       // number of separate blocks in y direction
00032                 int indent,         // VRML text indentation (0/1)
00033                 int dcp,            // number of coordinate digits after "." - 0,1,2,3
00034                 int nIsolines,      // number of isolines to build
00035                 int genFlatIso,     // 0/1, generate flat isolines with Z=0
00036                 int genElevIso,     // 0/1, generate elevated isolines with Z matching intensity
00037                 const char * colors, // string of pseudocolors, i.e "BR" or "mbcgyr" or "546231" 
00038         int compressionLevel // gzip compression level for VRML file (0 - plain text out)
00039                 );

Generated on Thu Aug 7 16:18:59 2008 for elphel by  doxygen 1.5.1