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