VTK  9.1.0
vtkPruneTreeFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPruneTreeFilter.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=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
29#ifndef vtkPruneTreeFilter_h
30#define vtkPruneTreeFilter_h
31
32#include "vtkInfovisCoreModule.h" // For export macro
33#include "vtkTreeAlgorithm.h"
34
35class vtkTree;
36class vtkPVXMLElement;
37
38class VTKINFOVISCORE_EXPORT vtkPruneTreeFilter : public vtkTreeAlgorithm
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
49 vtkGetMacro(ParentVertex, vtkIdType);
50 vtkSetMacro(ParentVertex, vtkIdType);
52
54
58 vtkGetMacro(ShouldPruneParentVertex, bool);
59 vtkSetMacro(ShouldPruneParentVertex, bool);
61
62protected:
65
68
70
71private:
73 void operator=(const vtkPruneTreeFilter&) = delete;
74};
75
76#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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:164
int vtkIdType
Definition: vtkType.h:332