ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapio.h
Revision: 2.4
Committed: Tue Aug 18 18:45:55 2015 UTC (8 years, 8 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.3: +2 -1 lines
Log Message:
Added missing RCSid forgotten during initial check-in

File Contents

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