VTK: Infovis/Core/vtkTreeLevelsFilter.h Source File

| VTK 9.3.1

vtkTreeLevelsFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
22 #ifndef vtkTreeLevelsFilter_h
23 #define vtkTreeLevelsFilter_h
24
25 #include "vtkInfovisCoreModule.h" // For export macro
26 #include "vtkTreeAlgorithm.h"
27
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKINFOVISCORE_EXPORT vtkTreeLevelsFilter : public vtkTreeAlgorithm
30 {
31 public:
32 static vtkTreeLevelsFilter* New();
33 vtkTypeMacro(vtkTreeLevelsFilter, vtkTreeAlgorithm);
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
36 protected:
37 vtkTreeLevelsFilter();
38 ~vtkTreeLevelsFilter() override = default;
39
40 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
41
42 private:
43 vtkTreeLevelsFilter(const vtkTreeLevelsFilter&) = delete;
44 void operator=(const vtkTreeLevelsFilter&) = delete;
45 };
46
47 VTK_ABI_NAMESPACE_END
48 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkTreeAlgorithm
Superclass for algorithms that produce only Tree as output.
Definition: vtkTreeAlgorithm.h:34
vtkTreeLevelsFilter
adds level and leaf fields to a vtkTree
Definition: vtkTreeLevelsFilter.h:30
vtkTreeLevelsFilter::vtkTreeLevelsFilter
vtkTreeLevelsFilter()
vtkTreeLevelsFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTreeLevelsFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTreeLevelsFilter::~vtkTreeLevelsFilter
~vtkTreeLevelsFilter() override=default
vtkTreeLevelsFilter::New
static vtkTreeLevelsFilter * New()
vtkTreeAlgorithm.h