ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapio.h
Revision: 2.3
Committed: Fri May 22 14:09:01 2015 UTC (8 years, 11 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.2: +2 -2 lines
Log Message:
Removed redundant photon map type parameter

File Contents

# User Rev Content
1 greg 2.1 /*
2     ==================================================================
3     Photon map file I/O
4    
5     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
6     (c) Fraunhofer Institute for Solar Energy Systems,
7 rschregle 2.2 (c) Lucerne University of Applied Sciences and Arts,
8     supported by the Swiss National Science Foundation (SNSF, #147053)
9 greg 2.1 ==================================================================
10    
11 greg 2.3 $Id: pmapio.h,v 2.2 2015/05/08 13:20:22 rschregle Exp $
12 greg 2.1 */
13    
14    
15     #ifndef PMAPIO_H
16     #define PMAPIO_H
17    
18     #include "pmapdata.h"
19    
20     #define PMAP_FILEVER 160u /* File format version */
21    
22     void savePhotonMap (const PhotonMap *pmap, const char *fname,
23 greg 2.3 int argc, char **argv);
24 greg 2.1 /* Save portable photon map of specified type to filename,
25     along with the corresponding command line. */
26    
27     PhotonMapType loadPhotonMap (PhotonMap *pmap, const char* fname);
28     /* Load portable photon map from specified filename, and return photon
29     * map type as identified from file header. */
30    
31     #endif