| 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; |
| 35 | std::copy(tuple, tuple + this->NumberOfComponents, this->Buffer->GetBuffer() + valueIdx); |
| 36 | } |
| 37 | ValueType GetTypedComponent(vtkIdType tupleIdx, int compIdx) const |
| 38 | { |
| 39 | return this->Buffer->GetBuffer()[this->NumberOfComponents * tupleIdx + compIdx]; |