VTK  9.1.0
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
47class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCastToConcrete : public vtkDataSetAlgorithm
48{
49
50public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
55protected:
56 vtkCastToConcrete() = default;
57 ~vtkCastToConcrete() override = default;
58
60 vtkInformationVector*) override; // insures compatibility; satisfies abstract api in vtkFilter
62
63private:
64 vtkCastToConcrete(const vtkCastToConcrete&) = delete;
65 void operator=(const vtkCastToConcrete&) = delete;
66};
67
68#endif
works around type-checking limitations
~vtkCastToConcrete() override=default
vtkCastToConcrete()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCastToConcrete * New()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.