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.
69 lines
2.0 KiB
C++
69 lines
2.0 KiB
C++
/*=========================================================================
|
|
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.
|
|
|
|
=========================================================================*/
|
|
/**
|
|
* @class vtkHierarchicalBoxDataSet
|
|
* @brief Backwards compatibility class
|
|
*
|
|
*
|
|
* An empty class for backwards compatibility
|
|
*
|
|
* @sa
|
|
* vtkUniformGridAM vtkOverlappingAMR vtkNonOverlappingAMR
|
|
*/
|
|
|
|
#ifndef vtkHierarchicalBoxDataSet_h
|
|
#define vtkHierarchicalBoxDataSet_h
|
|
|
|
#include "vtkCommonDataModelModule.h" // For export macro
|
|
#include "vtkOverlappingAMR.h"
|
|
|
|
class vtkInformation;
|
|
class vtkInformationVector;
|
|
|
|
class VTKCOMMONDATAMODEL_EXPORT vtkHierarchicalBoxDataSet : public vtkOverlappingAMR
|
|
{
|
|
public:
|
|
static vtkHierarchicalBoxDataSet* New();
|
|
vtkTypeMacro(vtkHierarchicalBoxDataSet, vtkOverlappingAMR);
|
|
void PrintSelf(ostream& os, vtkIndent indent) override;
|
|
|
|
/**
|
|
* Return a new iterator (the iterator has to be deleted by user).
|
|
*/
|
|
VTK_NEWINSTANCE vtkCompositeDataIterator* NewIterator() override;
|
|
|
|
/**
|
|
* Return class name of data type (see vtkType.h for definitions).
|
|
*/
|
|
int GetDataObjectType() override { return VTK_HIERARCHICAL_BOX_DATA_SET; }
|
|
|
|
//@{
|
|
/**
|
|
* Retrieve an instance of this class from an information object.
|
|
*/
|
|
static vtkHierarchicalBoxDataSet* GetData(vtkInformation* info);
|
|
static vtkHierarchicalBoxDataSet* GetData(vtkInformationVector* v, int i = 0);
|
|
//@}
|
|
|
|
protected:
|
|
vtkHierarchicalBoxDataSet();
|
|
~vtkHierarchicalBoxDataSet() override;
|
|
|
|
private:
|
|
vtkHierarchicalBoxDataSet(const vtkHierarchicalBoxDataSet&) = delete;
|
|
void operator=(const vtkHierarchicalBoxDataSet&) = delete;
|
|
};
|
|
|
|
#endif
|