VTK
|
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 "vtkCommonExecutionModelModule.h" // For export macro 00050 #include "vtkDataSetAlgorithm.h" 00051 00052 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCastToConcrete : public vtkDataSetAlgorithm 00053 { 00054 00055 public: 00056 static vtkCastToConcrete *New(); 00057 vtkTypeMacro(vtkCastToConcrete,vtkDataSetAlgorithm); 00058 void PrintSelf(ostream& os, vtkIndent indent); 00059 00060 protected: 00061 vtkCastToConcrete() {} 00062 ~vtkCastToConcrete() {} 00063 00064 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); //insures compatibility; satisfies abstract api in vtkFilter 00065 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00066 private: 00067 vtkCastToConcrete(const vtkCastToConcrete&); // Not implemented. 00068 void operator=(const vtkCastToConcrete&); // Not implemented. 00069 }; 00070 00071 #endif