VTK
vtkCastToConcrete.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCastToConcrete.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
46 #ifndef vtkCastToConcrete_h
47 #define vtkCastToConcrete_h
48 
49 #include "vtkCommonExecutionModelModule.h" // For export macro
50 #include "vtkDataSetAlgorithm.h"
51 
53 {
54 
55 public:
56  static vtkCastToConcrete *New();
58  void PrintSelf(ostream& os, vtkIndent indent);
59 
60 protected:
63 
64  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); //insures compatibility; satisfies abstract api in vtkFilter
66 private:
67  vtkCastToConcrete(const vtkCastToConcrete&); // Not implemented.
68  void operator=(const vtkCastToConcrete&); // Not implemented.
69 };
70 
71 #endif
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
works around type-checking limitations
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()