------------------------------------------------------------------------------
| 123 | |
| 124 | //------------------------------------------------------------------------------ |
| 125 | std::shared_ptr<vtkHyperTreeGridScales> vtkHyperTree::InitializeScales( |
| 126 | const double* scales, bool reinitialize) |
| 127 | { |
| 128 | if (this->Scales == nullptr || reinitialize) |
| 129 | { |
| 130 | this->SetScales(std::make_shared<vtkHyperTreeGridScales>(this->BranchFactor, scales)); |
| 131 | } |
| 132 | return this->Scales; |
| 133 | } |
| 134 | |
| 135 | //------------------------------------------------------------------------------ |
| 136 | void vtkHyperTree::GetScale(double s[3]) const |