------------------------------------------------------------------------------
| 171 | |
| 172 | //------------------------------------------------------------------------------ |
| 173 | void vtkMolecule::SetAtomAtomicNumber(vtkIdType id, unsigned short atomicNum) |
| 174 | { |
| 175 | assert(id >= 0 && id < this->GetNumberOfAtoms()); |
| 176 | |
| 177 | vtkUnsignedShortArray* atomicNums = this->GetAtomicNumberArray(); |
| 178 | |
| 179 | atomicNums->SetValue(id, atomicNum); |
| 180 | this->Modified(); |
| 181 | } |
| 182 | |
| 183 | //------------------------------------------------------------------------------ |
| 184 | void vtkMolecule::SetAtomPosition(vtkIdType id, const vtkVector3f& pos) |
no test coverage detected