- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/Atoms/NotAllAtomsInsideCuboidAction.cpp
rf10b0c rbe21fa 46 46 Action::state_ptr SelectionNotAllAtomsInsideCuboidAction::performCall() { 47 47 RealSpaceMatrix RotationMatrix; 48 RotationMatrix.setRotation(params.Xangle .get(), params.Yangle.get(), params.Zangle.get());48 RotationMatrix.setRotation(params.Xangle, params.Yangle, params.Zangle); 49 49 50 LOG(1, "Unselecting all atoms inside a rotated " << RotationMatrix << " cuboid at " << params.position .get() << " and extension of " << params.extension.get()<< ".");51 Shape s = translate(transform(stretch(Cuboid(),params.extension .get()),RotationMatrix),params.position.get());50 LOG(1, "Unselecting all atoms inside a rotated " << RotationMatrix << " cuboid at " << params.position << " and extension of " << params.extension << "."); 51 Shape s = translate(transform(stretch(Cuboid(),params.extension),RotationMatrix),params.position); 52 52 std::vector<atom *> unselectedAtoms = World::getInstance().getAllAtoms((!AtomsBySelection()) && AtomsByShape(s)); 53 53 World::getInstance().unselectAllAtoms(AtomsByShape(s));
Note:
See TracChangeset
for help on using the changeset viewer.