Changeset 2173 for GTP/trunk/Lib/Vis
- Timestamp:
- 02/28/07 16:01:10 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Makefile
r2148 r2173 1 1 ############################################################################# 2 2 # Makefile for building: preprocessor 3 # Generated by qmake (2.00a) (Qt 4.1.2) on: út 20. II 20:32:5020073 # Generated by qmake (2.00a) (Qt 4.1.2) on: st 28. II 15:33:08 2007 4 4 # Project: preprocessor.pro 5 5 # Template: app … … 63 63 $(MAKE) -f $(MAKEFILE).Debug uninstall 64 64 65 Makefile: preprocessor.pro C:/Qt/4.1.2/mkspecs/win32-msvc .net\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \65 Makefile: preprocessor.pro C:/Qt/4.1.2/mkspecs/win32-msvc2005\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \ 66 66 C:\Qt\4.1.2\mkspecs\features\qt_config.prf \ 67 67 C:\Qt\4.1.2\mkspecs\features\exclusive_builds.prf \ -
GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp
r2148 r2173 36 36 37 37 #define MAX_COLOR_VALUE 1.0f 38 int band = (int)(value*4.0f); 39 value = value - band; 38 40 39 switch ( (int)(value*4.0f)) {41 switch (band) { 40 42 case 0: 41 43 color.r = MAX_COLOR_VALUE; -
GTP/trunk/Lib/Vis/Preprocessing/src/Material.h
r2148 r2173 26 26 // (range of hue from 0-240) 27 27 28 friend RgbColor Rainbow Mapping(const float value);28 friend RgbColor RainbowColorMapping(const float value); 29 29 30 30 }; -
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2148 r2173 418 418 // glColor3f(visibility, 0.0f, 0.0f); 419 419 420 RgbColor color = Rainbow Mapping(mTransferFunction*log10(entry.mData.mSumPdf + 1));420 RgbColor color = RainbowColorMapping(mTransferFunction*log10(entry.mData.mSumPdf + 1)); 421 421 glColor3f(color.r, color.g, color.b); 422 422 … … 1056 1056 ((float)vc->GetPvs().GetSize() / (float)maxPvs); 1057 1057 // c = RgbColor(importance, 1.0f - importance, 0.0f); 1058 c = Rainbow Mapping(importance);1058 c = RainbowColorMapping(importance); 1059 1059 1060 1060 } -
GTP/trunk/Lib/Vis/Preprocessing/src/VssRay.cpp
r2172 r2173 2 2 #include "AxisAlignedBox3.h" 3 3 #include "SamplingStrategy.h" 4 #include "Ray.h" 4 5 5 6 namespace GtpVisibilityPreprocessor {
Note: See TracChangeset
for help on using the changeset viewer.