VTK  9.3.20240420
vtkPruneTreeFilter.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
16#ifndef vtkPruneTreeFilter_h
17#define vtkPruneTreeFilter_h
18
19#include "vtkInfovisCoreModule.h" // For export macro
20#include "vtkTreeAlgorithm.h"
21
22VTK_ABI_NAMESPACE_BEGIN
23class vtkTree;
24class vtkPVXMLElement;
25
26class VTKINFOVISCORE_EXPORT vtkPruneTreeFilter : public vtkTreeAlgorithm
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
37 vtkGetMacro(ParentVertex, vtkIdType);
38 vtkSetMacro(ParentVertex, vtkIdType);
40
42
46 vtkGetMacro(ShouldPruneParentVertex, bool);
47 vtkSetMacro(ShouldPruneParentVertex, bool);
49
50protected:
53
56
58
59private:
61 void operator=(const vtkPruneTreeFilter&) = delete;
62};
63
64VTK_ABI_NAMESPACE_END
65#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
prune a subtree out of a vtkTree
~vtkPruneTreeFilter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPruneTreeFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only Tree as output.
A rooted tree data structure.
Definition vtkTree.h:145
int vtkIdType
Definition vtkType.h:315