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 =========================================================================*/
47 #ifndef vtkCastToConcrete_h
48 #define vtkCastToConcrete_h
49 
50 #include "vtkCommonExecutionModelModule.h" // For export macro
51 #include "vtkDataSetAlgorithm.h"
52 
53 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCastToConcrete : public vtkDataSetAlgorithm
54 {
55 
56 public:
57  static vtkCastToConcrete *New();
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
61 protected:
63  ~vtkCastToConcrete() override {}
64 
65  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override; //insures compatibility; satisfies abstract api in vtkFilter
67 private:
68  vtkCastToConcrete(const vtkCastToConcrete&) = delete;
69  void operator=(const vtkCastToConcrete&) = delete;
70 };
71 
72 #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:39
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()