------------------------------------------------------------------------------
| 358 | |
| 359 | //------------------------------------------------------------------------------ |
| 360 | void vtkUniformHyperTreeGrid::CopyStructure(vtkDataObject* ds) |
| 361 | { |
| 362 | assert("pre: ds_exists" && ds != nullptr); |
| 363 | vtkUniformHyperTreeGrid* uhtg = vtkUniformHyperTreeGrid::SafeDownCast(ds); |
| 364 | assert("pre: same_type" && uhtg != nullptr); |
| 365 | |
| 366 | // Call superclass |
| 367 | this->Superclass::CopyStructure(ds); |
| 368 | |
| 369 | // Copy uniform grid parameters |
| 370 | memcpy(this->Origin, uhtg->GetOrigin(), 3 * sizeof(double)); |
| 371 | memcpy(this->GridScale, uhtg->GetGridScale(), 3 * sizeof(double)); |
| 372 | } |
| 373 | |
| 374 | //------------------------------------------------------------------------------ |
| 375 | void vtkUniformHyperTreeGrid::GetGridBounds(double* bounds) |
no test coverage detected