Ignore:
Timestamp:
01/11/08 02:35:42 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2587 r2591  
    717717                if (1 && mShowRays)  
    718718                { 
    719                         RenderRays(mViewCellsManager->mVizBuffer.GetRays(), mRayVisualizationMethod); 
     719                        RenderRays(mViewCellsManager->mVizBuffer.GetRays(), mRayVisualizationMethod, mShowDistribution); 
    720720                } 
    721721        } 
     
    877877        mShowDistanceWeightedTriangles = false; 
    878878        mShowWeightedTriangles = false; 
     879        mShowDistribution = 15; 
    879880 
    880881        mSpatialFilterSize = 0.01; 
     
    931932        connect(mControlWidget, SIGNAL(SetShowDistribution(bool)), this, SLOT(SetShowDistribution(bool))); 
    932933 
    933  
    934         connect(mControlWidget, 
    935                 SIGNAL(SetShowRays(bool)), 
    936                 this, 
    937                 SLOT(SetShowRays(bool))); 
     934        connect(mControlWidget, SIGNAL(SetShowDistribution1(bool)), this, SLOT(SetShowDistribution1(bool))); 
     935        connect(mControlWidget, SIGNAL(SetShowDistribution2(bool)), this, SLOT(SetShowDistribution2(bool))); 
     936        connect(mControlWidget, SIGNAL(SetShowDistribution3(bool)), this, SLOT(SetShowDistribution3(bool))); 
     937        connect(mControlWidget, SIGNAL(SetShowDistribution4(bool)), this, SLOT(SetShowDistribution4(bool))); 
     938 
     939 
     940        connect(mControlWidget, SIGNAL(SetShowRays(bool)), this, SLOT(SetShowRays(bool))); 
    938941 
    939942        resize(1000, 500); 
     
    16481651        connect(rb4, SIGNAL(toggled(bool)), SIGNAL(SetShowDistribution(bool))); 
    16491652 
     1653 
     1654        /////////////////////////// 
     1655 
     1656         
    16501657        QGroupBox *groupBox = new QGroupBox("Ray visualization options"); 
    16511658        QVBoxLayout *vbox2 = new QVBoxLayout; 
     
    16571664         
    16581665        rb1->setChecked(true); 
     1666 
     1667 
     1668        QCheckBox *cb = new QCheckBox("Distribution 1", parent); 
     1669        vbox2->addWidget(cb); 
     1670        cb->setChecked(true); 
     1671        connect(cb, SIGNAL(toggled(bool)), SIGNAL(SetShowDistribution1(bool))); 
     1672 
     1673        cb = new QCheckBox("Distribution 2", parent); 
     1674        vbox2->addWidget(cb); 
     1675        cb->setChecked(true); 
     1676        connect(cb, SIGNAL(toggled(bool)), SIGNAL(SetShowDistribution2(bool))); 
     1677 
     1678        cb = new QCheckBox("Distribution 3", parent); 
     1679        vbox2->addWidget(cb); 
     1680        cb->setChecked(true); 
     1681        connect(cb, SIGNAL(toggled(bool)), SIGNAL(SetShowDistribution3(bool))); 
     1682         
     1683        cb = new QCheckBox("Distribution 4", parent); 
     1684        vbox2->addWidget(cb); 
     1685        cb->setChecked(true); 
     1686        connect(cb, SIGNAL(toggled(bool)), SIGNAL(SetShowDistribution4(bool))); 
     1687 
    16591688 
    16601689        vbox2->addStretch(1); 
Note: See TracChangeset for help on using the changeset viewer.