ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/falsecolor.h
(Generate patch)

Comparing ray/src/common/falsecolor.h (file contents):
Revision 3.1 by greg, Mon Nov 14 22:18:18 2005 UTC vs.
Revision 3.3 by greg, Tue Nov 15 20:04:50 2005 UTC

# Line 53 | Line 53 | fcFixedLog(FCstruct *fcs, double Lwmin, double Lwmax);
53   */
54  
55   extern int
56 < fcLinearMapping(FCstruct *fcs, TMstruct *tms, int pctile);
56 > fcLinearMapping(FCstruct *fcs, TMstruct *tms, double pctile);
57   /*
58          Compute linear false color map.
59          
# Line 65 | Line 65 | fcLinearMapping(FCstruct *fcs, TMstruct *tms, int pcti
65   */
66  
67   extern int
68 < fcLogMapping(FCstruct *fcs, TMstruct *tms, int pctile);
68 > fcLogMapping(FCstruct *fcs, TMstruct *tms, double pctile);
69   /*
70          Compute logarithmic false color map.
71          
# Line 88 | Line 88 | fcMapPixels(FCstruct *fcs, BYTE *ps, TMbright *ls, int
88          
89          returns -       0 on success, TM_E_* on failure.
90   */
91 +
92 + extern int
93 + fcIsLogMap(FCstruct *fcs);
94 + /*
95 +        Determine if false color mapping is logarithmic.
96 +
97 +        fcs     -       false color structure pointer.
98 +
99 +        returns -       1 if map follows logarithmic mapping, -1 on error.
100 + */
101 +
102 + extern FCstruct *
103 + fcDup(FCstruct *fcs);
104 + /*
105 +        Duplicate a false color structure.
106 +
107 +        fcs     -       false color structure pointer.
108 +
109 +        returns -       duplicate structure, or NULL if no memory.
110 + */
111  
112   extern void
113   fcDone(FCstruct *fcs);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines