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

Method Initialize

Common/DataModel/vtkUniformHyperTreeGrid.cxx:320–342  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

318
319//------------------------------------------------------------------------------
320void vtkUniformHyperTreeGrid::Initialize()
321{
322 this->Superclass::Initialize();
323 // Default dimension
324 this->Dimension = 3;
325
326 // Default grid origin
327 this->Origin[0] = 0.;
328 this->Origin[1] = 0.;
329 this->Origin[2] = 0.;
330
331 // Default element sizes
332 this->GridScale[0] = 1.;
333 this->GridScale[1] = 1.;
334 this->GridScale[2] = 1.;
335
336 this->WithCoordinates = false;
337
338 // Coordinates have not been computed yet
339 this->ComputedXCoordinates = false;
340 this->ComputedYCoordinates = false;
341 this->ComputedZCoordinates = false;
342}
343
344//------------------------------------------------------------------------------
345void vtkUniformHyperTreeGrid::GetLevelZeroOriginFromIndex(vtkIdType treeindex, double* m_Origin)

Callers 2

GetTreeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected