MCPcopy Create free account
hub / github.com/Kitware/VTK / InitializeScales

Method InitializeScales

Common/DataModel/vtkHyperTree.cxx:125–133  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

123
124//------------------------------------------------------------------------------
125std::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//------------------------------------------------------------------------------
136void vtkHyperTree::GetScale(double s[3]) const

Callers 1

ApplyCellScaleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected