Rev 209 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 209 | Rev 264 | ||
|---|---|---|---|
| Line 21... | Line 21... | ||
| 21 | #endif | 
            21 | #endif | 
          
| 22 | 22 | ||
| 23 | #include <stdio.h> | 
            23 | #include <stdio.h> | 
          
| 24 | 24 | ||
| 25 | /* 2d histogramming */ | 
            25 | /* 2d histogramming */ | 
          
| - | 26 | #define H3DMAX 500 | 
          |
| 26 | #define H3D_ID 0x12 | 
            27 | #define H3D_ID 0x12 | 
          
| 27 | #pragma pack(4) | 
            28 | #pragma pack(4) | 
          
| 28 | typedef struct  | 
            29 | typedef struct  | 
          
| 29 | { | 
            30 | { | 
          
| 30 | unsigned int id,len;  | 
            31 | unsigned int id,len;  | 
          
| Line 52... | Line 53... | ||
| 52 | 53 | ||
| 53 | 54 | ||
| 54 | 55 | ||
| 55 | int _VI_FUNC H3D_SliXY(int histogram,int slice, int direction);  | 
            56 | int _VI_FUNC H3D_SliXY(int histogram,int slice, int direction);  | 
          
| 56 | 57 | ||
| - | 58 | double _VI_FUNC H3D_GetZBinCenter(int h3d,int zbin);  | 
          |
| 57 | double _VI_FUNC H3D_GetYBinCenter(int h3d,int ybin);  | 
            59 | double _VI_FUNC H3D_GetYBinCenter(int h3d,int ybin);  | 
          
| 58 | double _VI_FUNC  | 
            60 | double _VI_FUNC H3D_GetXBinCenter(int h3d,int xbin);  | 
          
| 59 | 61 | ||
| 60 | int _VI_FUNC H3D_Clear(int h3d);  | 
            62 | int _VI_FUNC H3D_Clear(int h3d);  | 
          
| 61 | int _VI_FUNC H3D_Print(int h3d);  | 
            63 | int _VI_FUNC H3D_Print(int h3d);  | 
          
| 62 | int _VI_FUNC H3D_Exist(int h3d);  | 
            64 | int _VI_FUNC H3D_Exist(int h3d);  | 
          
| 63 | int _VI_FUNC H3D_CalculateBin(int h3d, int axis, double value);  | 
            65 | int _VI_FUNC H3D_CalculateBin(int h3d, int axis, double value);  |