------------------------------------------------------------------------------ Description: Dimension of the attribute. (1 for scalar, 3 for velocity) \post positive_result: result>=0
| 44 | // Dimension of the attribute. (1 for scalar, 3 for velocity) |
| 45 | // \post positive_result: result>=0 |
| 46 | int vtkBridgeAttribute::GetNumberOfComponents() |
| 47 | { |
| 48 | int result = this->Data->GetArray(this->AttributeNumber)->GetNumberOfComponents(); |
| 49 | assert("post: positive_result" && result >= 0); |
| 50 | return result; |
| 51 | } |
| 52 | |
| 53 | //------------------------------------------------------------------------------ |
| 54 | // Description: |