ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapio.h
Revision: 2.5
Committed: Tue Sep 1 16:27:52 2015 UTC (8 years, 9 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.4: +1 -2 lines
Log Message:
Removed redundant $Id: in file

File Contents

# Content
1 /* RCSid $Id: pmapio.h,v 2.4 2015/08/18 18:45:55 greg Exp $ */
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 */
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 int argc, char **argv);
24 /* 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