Commit 7323ba79 authored by George Zagaris's avatar George Zagaris
Browse files

ENH: Legacy classes for backwards compatibility

Adding legacy classes for backwards compatibility.
parent 879f9db4
/*=========================================================================
Program: Visualization Toolkit
Module: vtkHierarchicalBoxDataIterator.cxx
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 notice for more information.
=========================================================================*/
#include "vtkHierarchicalBoxDataIterator.h"
vtkHierarchicalBoxDataIterator::vtkHierarchicalBoxDataIterator()
{
}
//------------------------------------------------------------------------------
vtkHierarchicalBoxDataIterator::~vtkHierarchicalBoxDataIterator()
{
}
//------------------------------------------------------------------------------
void vtkHierarchicalBoxDataIterator::PrintSelf(ostream &os, vtkIndent indent)
{
this->Superclass::PrintSelf(os, indent);
}
/*=========================================================================
Program: Visualization Toolkit
Module: vtkHierarchicalBoxDataIterator.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 notice for more information.
=========================================================================*/
// .NAME vtkHierarchicalBoxDataIterator.h--Empty class for backwards compatibility
//
// .SECTION Description
// Empty class for backwards compatibility.
#ifndef VTKHIERARCHICALBOXDATAITERATOR_H_
#define VTKHIERARCHICALBOXDATAITERATOR_H_
#include "vtkUniformGridAMRDataIterator.h"
class VTK_FILTERING_EXPORT vtkHierarchicalBoxDataIterator :
public vtkUniformGridAMRDataIterator
{
public:
static vtkHierarchicalBoxDataIterator* New();
vtkTypeMacro(vtkHierarchicalBoxDataIterator,vtkUniformGridAMRDataIterator);
void PrintSelf(ostream &os, vtkIndent indent);
protected:
vtkHierarchicalBoxDataIterator();
virtual ~vtkHierarchicalBoxDataIterator();
private:
vtkHierarchicalBoxDataIterator(const vtkHierarchicalBoxDataIterator&); // Not implemented
void operator=(const vtkHierarchicalBoxDataIterator&); // Not implemented
};
#endif /* VTKHIERARCHICALBOXDATAITERATOR_H_ */
/*=========================================================================
Program: Visualization Toolkit
Module: vtkHierarchicalBoxDataSet.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 notice for more information.
=========================================================================*/
#include "vtkHierarchicalBoxDataSet.h"
#include "vtkObjectFactory.h"
vtkStandardNewMacro(vtkHierarchicalBoxDataSet);
//-----------------------------------------------------------------------------
vtkHierarchicalBoxDataSet::vtkHierarchicalBoxDataSet()
{
}
//-----------------------------------------------------------------------------
vtkHierarchicalBoxDataSet::~vtkHierarchicalBoxDataSet()
{
}
//-----------------------------------------------------------------------------
void vtkHierarchicalBoxDataSet::PrintSelf(ostream &os, vtkIndent indent)
{
this->Superclass::PrintSelf(os, indent);
}
/*=========================================================================
Program: Visualization Toolkit
Module: vtkHierarchicalBoxDataSet.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 notice for more information.
=========================================================================*/
// .NAME vtkHierarchicalBoxDataSet - Backwards compatibility class
//
// .SECTION Description
// An empty class for backwards compatiblity
//
// .SECTION See Also
// vtkUniformGridAM vtkOverlappingAMR vtkNonOverlappingAMR
#include "vtkOverlappingAMR.h"
class VTK_FILTERING_EXPORT vtkHierarchicalBoxDataSet:
public vtkOverlappingAMR
{
public:
static vtkHierarchicalBoxDataSet *New();
vtkTypeMacro(vtkHierarchicalBoxDataSet,vtkOverlappingAMR);
void PrintSelf(ostream &os, vtkIndent indent);
protected:
vtkHierarchicalBoxDataSet();
virtual ~vtkHierarchicalBoxDataSet();
private:
vtkHierarchicalBoxDataSet(const vtkHierarchicalBoxDataSet&); // Not implemented
void operator=(const vtkHierarchicalBoxDataSet&); // Not implemented
};
Supports Markdown
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