VTK  9.2.6
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-------------------------------------------------------------------------*/
32#ifndef vtkPruneTreeFilter_h
33#define vtkPruneTreeFilter_h
34
35#include "vtkInfovisCoreModule.h" // For export macro
36#include "vtkTreeAlgorithm.h"
37
38class vtkTree;
39class vtkPVXMLElement;
40
41class VTKINFOVISCORE_EXPORT vtkPruneTreeFilter : public vtkTreeAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
52 vtkGetMacro(ParentVertex, vtkIdType);
53 vtkSetMacro(ParentVertex, vtkIdType);
55
57
61 vtkGetMacro(ShouldPruneParentVertex, bool);
62 vtkSetMacro(ShouldPruneParentVertex, bool);
64
65protected:
68
71
73
74private:
76 void operator=(const vtkPruneTreeFilter&) = delete;
77};
78
79#endif
a simple class to control print indentation
Definition vtkIndent.h:40
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:61
int vtkIdType
Definition vtkType.h:332