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

Comparing ray/src/common/interp2d.h (file contents):
Revision 2.1 by greg, Sat Feb 9 00:55:40 2013 UTC vs.
Revision 2.2 by greg, Sat Feb 9 17:39:21 2013 UTC

# Line 21 | Line 21 | typedef struct {
21   /* Allocate a new set of interpolation samples (caller assigns spt[] array) */
22   extern INTERP2  *interp2_alloc(int nsamps);
23  
24 + /* Resize interpolation array (caller must assign any new values) */
25 + extern INTERP2  *interp2_realloc(INTERP2 *ip, int nsamps);
26 +
27   /* Assign full set of normalized weights to interpolate the given location */
28   extern int      interp2_weights(float wtv[], INTERP2 *ip, double x, double y);
29  
30   /* Get normalized weights and indexes for n best samples in descending order */
31   extern int      interp2_topsamp(float wt[], int si[], const int n,
32                                          INTERP2 *ip, double x, double y);
30
33   /* Free interpolant */
34   extern void     interp2_free(INTERP2 *ip);
35 +
36 + /* (Re)compute anisotropic basis function interpolant (normally automatic) */
37 + extern int      interp2_analyze(INTERP2 *ip);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines