| 39 | return this->Buffer->GetBuffer()[this->NumberOfComponents * tupleIdx + compIdx]; |
| 40 | } |
| 41 | void SetTypedComponent(vtkIdType tupleIdx, int compIdx, ValueType value) |
| 42 | { |
| 43 | const vtkIdType valueIdx = tupleIdx * this->NumberOfComponents + compIdx; |
| 44 | this->SetValue(valueIdx, value); |
| 45 | } |
| 46 | |
| 47 | protected: |
| 48 | vtkNew<vtkBuffer<ValueT>> Buffer; |