------------------------------------------------------------------------------
| 318 | |
| 319 | //------------------------------------------------------------------------------ |
| 320 | void 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 | //------------------------------------------------------------------------------ |
| 345 | void vtkUniformHyperTreeGrid::GetLevelZeroOriginFromIndex(vtkIdType treeindex, double* m_Origin) |
no outgoing calls
no test coverage detected