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

File Contents

# Content
1 /* RCSid $Id: pmaptype.h,v 2.3 2015/08/18 18:45:55 greg Exp $ */
2 /*
3 ==================================================================
4 Photon map types and corresponding file format strings
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 PMAPTYPE_H
16 #define PMAPTYPE_H
17
18 /* Photon map types */
19 typedef enum {
20 PMAP_TYPE_NONE = -1, PMAP_TYPE_GLOBAL, PMAP_TYPE_PRECOMP,
21 PMAP_TYPE_CAUSTIC, PMAP_TYPE_VOLUME, PMAP_TYPE_DIRECT,
22 PMAP_TYPE_CONTRIB, NUM_PMAP_TYPES
23 } PhotonMapType;
24
25 /* Check for valid photon map type */
26 #define validPmapType(t) ((t) >= 0 && (t) < NUM_PMAP_TYPES)
27
28 /* Glob string for extracting photon map format from file header */
29 #define PMAP_FORMAT_GLOB "Radiance_*_Photon_Map"
30
31 /* Format strings for photon map files corresponding to PhotonMapType */
32 extern const char *pmapFormat [];
33
34 /* Photon map names per type */
35 extern const char *pmapName [];
36 #endif