Commit ef08edf1 authored by David E. DeMarle's avatar David E. DeMarle Committed by Kitware Robot

Merge topic 'htg-clean-up-unused'

91be857b Remove unused the code in HTG (dead code)
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5010
parents c49c2f4f 91be857b
......@@ -51,7 +51,6 @@
#include <memory> // std::shared_ptr
class vtkHyperTree;
class vtkBitArray;
class vtkBoundingBox;
......@@ -79,9 +78,6 @@ class vtkHyperTreeGridNonOrientedMooreSuperCursorLight ;
class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeGrid : public vtkDataSet
{
public:
class vtkHyperTreeSimpleCursor;
class vtkHyperTreePositionCursor;
struct vtkHyperTreeGridSuperCursor;
static vtkInformationIntegerKey* LEVELS();
static vtkInformationIntegerKey* DIMENSION();
......@@ -631,56 +627,6 @@ public:
*/
void InitializeLocalIndexNode();
//@{
/**
* A simplified hyper tree cursor, to be used by the hyper tree.
* grid supercursor.
*/
class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeSimpleCursor
{
public:
vtkHyperTreeSimpleCursor();
~vtkHyperTreeSimpleCursor();
//@}
//@{
/**
* Methods that belong to the vtkHyperTreeCursor API.
*/
vtkHyperTree* GetTree() { return this->Tree; }
//@}
/**
* Only valid for leaves.
*/
vtkIdType GetLeafIndex() { return this->Index; }
/**
* Return level at which cursor is positioned.
*/
unsigned short GetLevel() { return this->Level; }
private:
vtkHyperTree* Tree;
vtkIdType Index;
unsigned short Level;
};
/**
* Public structure used by filters to move around the hyper
* tree grid and easily access neighbors to leaves.
* The super cursor is 'const'. Methods in vtkHyperTreeGrid
* initialize and compute children for moving toward leaves.
*/
struct vtkHyperTreeGridSuperCursor
{
double Origin[3];
double Size[3];
int NumberOfCursors;
int MiddleCursorId;
vtkHyperTreeSimpleCursor Cursors[3*3*3];
vtkHyperTreeSimpleCursor* GetCursor( int );
};
/**
* An iterator object to iteratively access trees in the grid.
......@@ -866,10 +812,6 @@ protected:
double*,
double* );
#if !defined(__VTK_WRAP__) && !defined(__WRAP_GCCXML__)
void EvaluateDualCorner( vtkHyperTreeSimpleCursor* );
#endif
//@{
/**
* These are needed by the GetCell() method.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment