Commit 97502f2b authored by George Zagaris's avatar George Zagaris
Browse files

ENH: vtkLevelIdScalars for backwards compatibility

Added vtkLevelIdScalars filter, an empty class that inherits
from vtkOverlappingAMRLevelIdScalars for backwards compatibility.

Change-Id: I0ac7426ea2fff014ca2c78a57aa04c8db1bbe32e
parent c7687a46
/*=========================================================================
Program: Visualization Toolkit
Module: vtkLevelIdScalars.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 "vtkLevelIdScalars.h"
#include "vtkObjectFactory.h"
vtkStandardNewMacro(vtkLevelIdScalars);
//------------------------------------------------------------------------------
vtkLevelIdScalars::vtkLevelIdScalars()
{
}
//------------------------------------------------------------------------------
vtkLevelIdScalars::~vtkLevelIdScalars()
{
}
//------------------------------------------------------------------------------
void vtkLevelIdScalars::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os,indent);
}
/*=========================================================================
Program: Visualization Toolkit
Module: vtkLevelIdScalars.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 vtkLevelIdScalars.h -- Empty class for backwards compatibility
//
// .SECTION Description
// Empty class for backwards compatibility.
#ifndef VTKLEVELIDSCALARS_H_
#define VTKLEVELIDSCALARS_H_
#include "vtkOverlappingAMRLevelIdScalars.h"
class VTK_GRAPHICS_EXPORT vtkLevelIdScalars :
public vtkOverlappingAMRLevelIdScalars
{
public:
static vtkLevelIdScalars* New();
vtkTypeMacro(vtkLevelIdScalars,vtkOverlappingAMRLevelIdScalars);
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkLevelIdScalars();
virtual ~vtkLevelIdScalars();
private:
vtkLevelIdScalars(const vtkLevelIdScalars&); // Not implemented
void operator=(const vtkLevelIdScalars&); // Not implemented
};
#endif /* VTKLEVELIDSCALARS_H_ */
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