| 24 | this->Buffer->GetBuffer()[valueIdx] = value; |
| 25 | } |
| 26 | void GetTypedTuple(vtkIdType tupleIdx, ValueType* tuple) const |
| 27 | { |
| 28 | const vtkIdType valueIdx = tupleIdx * this->NumberOfComponents; |
| 29 | std::copy(this->Buffer->GetBuffer() + valueIdx, |
| 30 | this->Buffer->GetBuffer() + valueIdx + this->NumberOfComponents, tuple); |
| 31 | } |
| 32 | void SetTypedTuple(vtkIdType tupleIdx, const ValueType* tuple) |
| 33 | { |
| 34 | const vtkIdType valueIdx = tupleIdx * this->NumberOfComponents; |