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 =========================================================================*/
41 #ifndef vtkCastToConcrete_h
42 #define vtkCastToConcrete_h
43 
44 #include "vtkCommonExecutionModelModule.h" // For export macro
45 #include "vtkDataSetAlgorithm.h"
46 
47 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCastToConcrete : public vtkDataSetAlgorithm
48 {
49 
50 public:
51  static vtkCastToConcrete *New();
53  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
54 
55 protected:
57  ~vtkCastToConcrete() VTK_OVERRIDE {}
58 
59  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE; //insures compatibility; satisfies abstract api in vtkFilter
61 private:
62  vtkCastToConcrete(const vtkCastToConcrete&) VTK_DELETE_FUNCTION;
63  void operator=(const vtkCastToConcrete&) VTK_DELETE_FUNCTION;
64 };
65 
66 #endif
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkCastToConcrete() override
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
works around type-checking limitations
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()