Ignore:
Timestamp:
01/10/08 02:43:33 (16 years ago)
Author:
mattausch
Message:

worked on ray viz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.h

    r2584 r2587  
    9898   
    9999  QGroupBox *CreateRenderCostPanel(QWidget *parent); 
     100  QGroupBox *CreateRayVisualizationPanel(QWidget *parent); 
    100101 
    101102 
     
    141142  void SetShowWeightedTriangles(bool); 
    142143  void SetShowDistanceWeightedPvs(bool); 
     144 
     145  void UseConstColorForRayViz(bool); 
     146  void UseRayLengthForRayViz(bool); 
     147  void SetShowContribution(bool); 
     148  void SetShowDistribution(bool); 
    143149}; 
    144150 
     
    195201        Vector3 mDummyViewPoint; 
    196202 
     203        int mRayVisualizationMethod; 
     204 
    197205        QtRendererControlWidget *mControlWidget; 
    198206 
     
    430438                mShowWeightedTriangles = b; 
    431439                updateGL(); 
     440        } 
     441 
     442        void UseConstColorForRayViz(bool b) 
     443        { 
     444                mRayVisualizationMethod = 0; 
     445        } 
     446     
     447        void UseRayLengthForRayViz(bool b) 
     448        { 
     449                mRayVisualizationMethod = 1; 
     450        } 
     451 
     452        void SetShowContribution(bool b) 
     453        { 
     454                mRayVisualizationMethod = 2; 
     455        } 
     456     
     457        void SetShowDistribution(bool b) 
     458        { 
     459                mRayVisualizationMethod = 3; 
    432460        } 
    433461 
Note: See TracChangeset for help on using the changeset viewer.