- Timestamp:
- Feb 9, 2014, 11:29:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/RendererGraphicsObjs.h
r3774 r4174 1097 1097 for (itr = hashmap.begin(); itr != hashmap.end(); ++itr) { 1098 1098 if ((!onlyVisible || itr->second->getVisibility()) && 1099 itr->second->getProp() != NULL) 1099 itr->second->getProp() != NULL) { 1100 1100 mergeBounds(bounds, bounds, itr->second->getBounds()); 1101 1101 #ifdef DEBUG 1102 double *bPtr = itr->second->getBounds();1103 assert(bPtr != NULL);1104 GO_TRACE(T,1105 "%s bounds: %g %g %g %g %g %g",1106 itr->first.c_str(),1107 bPtr[0], bPtr[1], bPtr[2], bPtr[3], bPtr[4], bPtr[5]);1102 double *bPtr = itr->second->getBounds(); 1103 assert(bPtr != NULL); 1104 GO_TRACE(T, 1105 "%s bounds: %g %g %g %g %g %g", 1106 itr->first.c_str(), 1107 bPtr[0], bPtr[1], bPtr[2], bPtr[3], bPtr[4], bPtr[5]); 1108 1108 #endif 1109 } 1109 1110 } 1110 1111 } … … 1125 1126 for (itr = hashmap.begin(); itr != hashmap.end(); ++itr) { 1126 1127 if ((!onlyVisible || itr->second->getVisibility()) && 1127 itr->second->getProp() != NULL) 1128 itr->second->getProp() != NULL) { 1128 1129 mergeBounds(bounds, bounds, itr->second->getUnscaledBounds()); 1129 1130 #ifdef DEBUG 1130 double *bPtr = itr->second->getUnscaledBounds();1131 assert(bPtr != NULL);1132 GO_TRACE(T,1133 "%s bounds: %g %g %g %g %g %g",1134 itr->first.c_str(),1135 bPtr[0], bPtr[1], bPtr[2], bPtr[3], bPtr[4], bPtr[5]);1131 double *bPtr = itr->second->getUnscaledBounds(); 1132 assert(bPtr != NULL); 1133 GO_TRACE(T, 1134 "%s bounds: %g %g %g %g %g %g", 1135 itr->first.c_str(), 1136 bPtr[0], bPtr[1], bPtr[2], bPtr[3], bPtr[4], bPtr[5]); 1136 1137 #endif 1138 } 1137 1139 } 1138 1140 }
Note: See TracChangeset
for help on using the changeset viewer.