Changeset 2173 for GTP/trunk/Lib/Vis


Ignore:
Timestamp:
02/28/07 16:01:10 (18 years ago)
Author:
bittner
Message:

merge

Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Makefile

    r2148 r2173  
    11############################################################################# 
    22# Makefile for building: preprocessor 
    3 # Generated by qmake (2.00a) (Qt 4.1.2) on: út 20. II 20:32:50 2007 
     3# Generated by qmake (2.00a) (Qt 4.1.2) on: st 28. II 15:33:08 2007 
    44# Project:  preprocessor.pro 
    55# Template: app 
     
    6363        $(MAKE) -f $(MAKEFILE).Debug uninstall 
    6464 
    65 Makefile: preprocessor.pro  C:/Qt/4.1.2/mkspecs/win32-msvc.net\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \ 
     65Makefile: preprocessor.pro  C:/Qt/4.1.2/mkspecs/win32-msvc2005\qmake.conf C:/Qt/4.1.2/mkspecs/qconfig.pri \ 
    6666                C:\Qt\4.1.2\mkspecs\features\qt_config.prf \ 
    6767                C:\Qt\4.1.2\mkspecs\features\exclusive_builds.prf \ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp

    r2148 r2173  
    3636 
    3737#define MAX_COLOR_VALUE 1.0f 
     38  int band = (int)(value*4.0f); 
     39  value = value - band; 
    3840   
    39   switch ((int)(value*4.0f)) { 
     41  switch (band) { 
    4042  case 0: 
    4143        color.r = MAX_COLOR_VALUE; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Material.h

    r2148 r2173  
    2626  // (range of hue from 0-240) 
    2727 
    28   friend RgbColor RainbowMapping(const float value); 
     28  friend RgbColor RainbowColorMapping(const float value); 
    2929   
    3030}; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp

    r2148 r2173  
    418418                  //              glColor3f(visibility, 0.0f, 0.0f); 
    419419 
    420                   RgbColor color = RainbowMapping(mTransferFunction*log10(entry.mData.mSumPdf + 1)); 
     420                  RgbColor color = RainbowColorMapping(mTransferFunction*log10(entry.mData.mSumPdf + 1)); 
    421421                  glColor3f(color.r, color.g, color.b); 
    422422                   
     
    10561056                ((float)vc->GetPvs().GetSize() / (float)maxPvs); 
    10571057          //      c = RgbColor(importance, 1.0f - importance, 0.0f); 
    1058           c = RainbowMapping(importance); 
     1058          c = RainbowColorMapping(importance); 
    10591059           
    10601060        } 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssRay.cpp

    r2172 r2173  
    22#include "AxisAlignedBox3.h" 
    33#include "SamplingStrategy.h" 
     4#include "Ray.h" 
    45 
    56namespace GtpVisibilityPreprocessor { 
Note: See TracChangeset for help on using the changeset viewer.