Changeset 2591 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 01/11/08 02:35:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2588 r2591 205 205 206 206 207 void GlRenderer::RenderRays(const VssRayContainer &rays, int colorType )207 void GlRenderer::RenderRays(const VssRayContainer &rays, int colorType, int showDistribution) 208 208 { 209 209 VssRayContainer::const_iterator it = rays.begin(), it_end = rays.end(); … … 217 217 VssRay *ray = *it; 218 218 219 // only show distributions that were checked 220 if (((ray->mDistribution == SamplingStrategy::DIRECTION_BASED_DISTRIBUTION) && ((showDistribution & 1) == 0)) || 221 ((ray->mDistribution == SamplingStrategy::SPATIAL_BOX_BASED_DISTRIBUTION) && ((showDistribution & 2) == 0)) || 222 ((ray->mDistribution == SamplingStrategy::OBJECT_DIRECTION_BASED_DISTRIBUTION) && ((showDistribution & 4) == 0)) || 223 ((ray->mDistribution == SamplingStrategy::MUTATION_BASED_DISTRIBUTION) && ((showDistribution & 8) == 0))) 224 { 225 continue; 226 } 227 219 228 switch (colorType) 220 229 {
Note: See TracChangeset
for help on using the changeset viewer.