VTK  9.4.20241226
vtkCastToConcrete.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
32#ifndef vtkCastToConcrete_h
33#define vtkCastToConcrete_h
34
35#include "vtkCommonExecutionModelModule.h" // For export macro
36#include "vtkDataSetAlgorithm.h"
37
38VTK_ABI_NAMESPACE_BEGIN
39class VTKCOMMONEXECUTIONMODEL_EXPORT vtkCastToConcrete : public vtkDataSetAlgorithm
40{
41
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47protected:
48 vtkCastToConcrete() = default;
49 ~vtkCastToConcrete() override = default;
50
52 vtkInformationVector*) override; // insures compatibility; satisfies abstract api in vtkFilter
54
55private:
56 vtkCastToConcrete(const vtkCastToConcrete&) = delete;
57 void operator=(const vtkCastToConcrete&) = delete;
58};
59
60VTK_ABI_NAMESPACE_END
61#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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.