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, 9 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

# Content
1 /* RCSid $Id$ */
2 /*
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 (c) Lucerne University of Applied Sciences and Arts,
9 supported by the Swiss National Science Foundation (SNSF, #147053)
10 ==================================================================
11
12 $Id: pmapio.h,v 2.3 2015/05/22 14:09:01 greg Exp $
13 */
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 int argc, char **argv);
25 /* 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