------------------------------------------------------------------------------ Description: Attribute at all points of cell `c'. \pre c_exists: c!=0 \pre c_valid: !c->IsAtEnd() \post result_exists: result!=0 \post valid_result: sizeof(result)==GetNumberOfComponents()*c->GetCell()->GetNumberOfPoints()
| 183 | // \post result_exists: result!=0 |
| 184 | // \post valid_result: sizeof(result)==GetNumberOfComponents()*c->GetCell()->GetNumberOfPoints() |
| 185 | double* vtkBridgeAttribute::GetTuple(vtkGenericAdaptorCell* c) |
| 186 | { |
| 187 | assert("pre: c_exists" && c != nullptr); |
| 188 | |
| 189 | this->AllocateInternalTuple(c->GetNumberOfPoints() * this->GetNumberOfComponents()); |
| 190 | this->GetTuple(c, this->InternalTuple); |
| 191 | |
| 192 | assert("post: result_exists" && this->InternalTuple != nullptr); |
| 193 | return this->InternalTuple; |
| 194 | } |
| 195 | |
| 196 | //------------------------------------------------------------------------------ |
| 197 | // Description: |