- Timestamp:
- 01/11/08 02:35:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2587 r2591 717 717 if (1 && mShowRays) 718 718 { 719 RenderRays(mViewCellsManager->mVizBuffer.GetRays(), mRayVisualizationMethod );719 RenderRays(mViewCellsManager->mVizBuffer.GetRays(), mRayVisualizationMethod, mShowDistribution); 720 720 } 721 721 } … … 877 877 mShowDistanceWeightedTriangles = false; 878 878 mShowWeightedTriangles = false; 879 mShowDistribution = 15; 879 880 880 881 mSpatialFilterSize = 0.01; … … 931 932 connect(mControlWidget, SIGNAL(SetShowDistribution(bool)), this, SLOT(SetShowDistribution(bool))); 932 933 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))); 938 941 939 942 resize(1000, 500); … … 1648 1651 connect(rb4, SIGNAL(toggled(bool)), SIGNAL(SetShowDistribution(bool))); 1649 1652 1653 1654 /////////////////////////// 1655 1656 1650 1657 QGroupBox *groupBox = new QGroupBox("Ray visualization options"); 1651 1658 QVBoxLayout *vbox2 = new QVBoxLayout; … … 1657 1664 1658 1665 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 1659 1688 1660 1689 vbox2->addStretch(1);
Note: See TracChangeset
for help on using the changeset viewer.