| 45 |
|
* |
| 46 |
|
* Created by Charles F. Vardeman II on 14 Dec 2006. |
| 47 |
|
* @author Charles F. Vardeman II |
| 48 |
< |
* @version $Id: NanoVolume.cpp,v 1.7 2008-09-14 01:32:23 chuckv Exp $ |
| 48 |
> |
* @version $Id: NanoVolume.cpp,v 1.8 2008-10-15 18:26:01 chuckv Exp $ |
| 49 |
|
* |
| 50 |
|
*/ |
| 51 |
|
|
| 123 |
|
} |
| 124 |
|
|
| 125 |
|
// outer loop is over the selected StuntDoubles: |
| 126 |
< |
/* |
| 126 |
> |
|
| 127 |
|
for (sd = seleMan_.beginSelected(i); sd != NULL; |
| 128 |
|
sd = seleMan_.nextSelected(i)) { |
| 129 |
|
|
| 130 |
< |
pos_.push_back(sd->getPos()); |
| 130 |
> |
theAtoms_.push_back(sd); |
| 131 |
|
myIndex = sd->getGlobalIndex(); |
| 132 |
|
|
| 133 |
|
} |
| 134 |
< |
*/ |
| 134 |
> |
|
| 135 |
> |
/* |
| 136 |
|
for (mol = info_->beginMolecule(mi); mol != NULL; |
| 137 |
|
mol = info_->nextMolecule(mi)) { |
| 138 |
|
for (atom = mol->beginAtom(ai); atom != NULL; |
| 140 |
|
theAtoms_.push_back(atom); |
| 141 |
|
} |
| 142 |
|
} |
| 143 |
< |
|
| 143 |
> |
*/ |
| 144 |
|
// Generate convex hull for this frame. |
| 145 |
|
thishull->computeHull(theAtoms_); |
| 146 |
|
// totalVolume_ += hull->getVolume(); |