You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.6 KiB
C
78 lines
2.6 KiB
C
3 weeks ago
|
/*=========================================================================
|
||
|
|
||
|
Program: Visualization Toolkit
|
||
|
Module: vtkHyperTreeGridNonOrientedVonNeumannSuperCursor.h
|
||
|
|
||
|
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
|
||
|
All rights reserved.
|
||
|
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
|
||
|
|
||
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
||
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||
|
PURPOSE. See the above copyright Nonice for more information.
|
||
|
|
||
|
=========================================================================*/
|
||
|
/**
|
||
|
* @class vtkHyperTreeGridNonOrientedVonNeumannSuperCursor
|
||
|
* @brief Objects for traversal a HyperTreeGrid.
|
||
|
*
|
||
|
* JB A REVOIR
|
||
|
* Objects that can perform depth traversal of a hyper tree grid,
|
||
|
* take into account more parameters (related to the grid structure) than
|
||
|
* the compact hyper tree cursor implemented in vtkHyperTree can.
|
||
|
* This is an abstract class.
|
||
|
* Cursors are created by the HyperTreeGrid implementation.
|
||
|
*
|
||
|
* @sa
|
||
|
* vtkHyperTreeCursor vtkHyperTree vtkHyperTreeGrid
|
||
|
*
|
||
|
* @par Thanks:
|
||
|
* This class was written by Guenole Harel and Jacques-Bernard Lekien, 2014.
|
||
|
* This class was re-written by Philippe Pebay, 2016.
|
||
|
* This class was re-written and optimized by Jacques-Bernard Lekien,
|
||
|
* Guenole Harel and Jerome Dubois, 2018.
|
||
|
* This work was supported by Commissariat a l'Energie Atomique
|
||
|
* CEA, DAM, DIF, F-91297 Arpajon, France.
|
||
|
*/
|
||
|
|
||
|
#ifndef vtkHyperTreeGridNonOrientedVonNeumannSuperCursor_h
|
||
|
#define vtkHyperTreeGridNonOrientedVonNeumannSuperCursor_h
|
||
|
|
||
|
#include "vtkHyperTreeGridNonOrientedSuperCursor.h"
|
||
|
|
||
|
class vtkHyperTreeGrid;
|
||
|
|
||
|
class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeGridNonOrientedVonNeumannSuperCursor
|
||
|
: public vtkHyperTreeGridNonOrientedSuperCursor
|
||
|
{
|
||
|
public:
|
||
|
vtkTypeMacro(
|
||
|
vtkHyperTreeGridNonOrientedVonNeumannSuperCursor, vtkHyperTreeGridNonOrientedSuperCursor);
|
||
|
void PrintSelf(ostream& os, vtkIndent indent) override;
|
||
|
static vtkHyperTreeGridNonOrientedVonNeumannSuperCursor* New();
|
||
|
|
||
|
/**
|
||
|
* Initialize cursor at root of given tree index in grid.
|
||
|
* JB Le create ne s'applique que sur le HT central.
|
||
|
*/
|
||
|
void Initialize(vtkHyperTreeGrid* grid, vtkIdType treeIndex, bool create = false) override;
|
||
|
|
||
|
protected:
|
||
|
/**
|
||
|
* Constructor
|
||
|
*/
|
||
|
vtkHyperTreeGridNonOrientedVonNeumannSuperCursor() {}
|
||
|
|
||
|
/**
|
||
|
* Destructor
|
||
|
*/
|
||
|
~vtkHyperTreeGridNonOrientedVonNeumannSuperCursor() override;
|
||
|
|
||
|
private:
|
||
|
vtkHyperTreeGridNonOrientedVonNeumannSuperCursor(
|
||
|
const vtkHyperTreeGridNonOrientedVonNeumannSuperCursor&) = delete;
|
||
|
void operator=(const vtkHyperTreeGridNonOrientedVonNeumannSuperCursor&) = delete;
|
||
|
};
|
||
|
|
||
|
#endif
|