00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkCastToConcrete.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00046 #ifndef __vtkCastToConcrete_h 00047 #define __vtkCastToConcrete_h 00048 00049 #include "vtkDataSetAlgorithm.h" 00050 00051 class VTK_FILTERING_EXPORT vtkCastToConcrete : public vtkDataSetAlgorithm 00052 { 00053 00054 public: 00055 static vtkCastToConcrete *New(); 00056 vtkTypeMacro(vtkCastToConcrete,vtkDataSetAlgorithm); 00057 void PrintSelf(ostream& os, vtkIndent indent); 00058 00059 protected: 00060 vtkCastToConcrete() {}; 00061 ~vtkCastToConcrete() {}; 00062 00063 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); //insures compatibility; satisfies abstract api in vtkFilter 00064 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00065 private: 00066 vtkCastToConcrete(const vtkCastToConcrete&); // Not implemented. 00067 void operator=(const vtkCastToConcrete&); // Not implemented. 00068 }; 00069 00070 #endif