------------------------------------------------------------------------------
| 427 | |
| 428 | //------------------------------------------------------------------------------ |
| 429 | void vtkAdaptiveDataSetSurfaceFilter::ProcessLeaf2D( |
| 430 | vtkHyperTreeGridNonOrientedGeometryCursor* cursor) |
| 431 | { |
| 432 | // Cell at cursor center is a leaf, retrieve its global index |
| 433 | vtkIdType id = cursor->GetGlobalNodeIndex(); |
| 434 | if (id < 0) |
| 435 | { |
| 436 | return; |
| 437 | } |
| 438 | |
| 439 | // In 2D all unmasked faces are generated |
| 440 | if (!this->Mask || !this->Mask->GetValue(id)) |
| 441 | { |
| 442 | // Insert face into 2D geometry depending on orientation |
| 443 | this->AddFace(id, cursor->GetOrigin(), cursor->GetSize(), 0, this->Orientation); |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | //------------------------------------------------------------------------------ |
| 448 | template <int N> |
no test coverage detected