- Timestamp:
- 01/23/05 19:24:00 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMathWrapper.cc
r262 r268 228 228 } 229 229 230 void SDMathWrapper::velocityAlignmentInSitu (SDMemTableWrapper& in) 231 { 232 SDMemTable* pIn = in.getPtr(); 233 SDMath sdm; 234 SDMemTable* pOut = sdm.velocityAlignment(*pIn); 235 *pIn = *pOut; 236 delete pOut; 237 } 238 239 230 240 SDMemTableWrapper SDMathWrapper::velocityAlignment (const SDMemTableWrapper& in) 231 241 { -
trunk/src/SDMathWrapper.h
r262 r268 85 85 86 86 // Apply velocity alignment 87 void velocityAlignmentInSitu (SDMemTableWrapper& in); 87 88 SDMemTableWrapper velocityAlignment(const SDMemTableWrapper& in); 88 89 -
trunk/src/python_SDMath.cc
r264 r268 84 84 // 85 85 def("align", &SDMathWrapper::velocityAlignment); 86 def("align_insitu", &SDMathWrapper::velocityAlignmentInSitu); 86 87 // 87 88 def("opacity", &SDMathWrapper::opacity);
Note:
See TracChangeset
for help on using the changeset viewer.