VTK
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 
35 class vtkTree;
36 class vtkPVXMLElement;
37 
38 class VTKINFOVISCORE_EXPORT vtkPruneTreeFilter : public vtkTreeAlgorithm
39 {
40 public:
41  static vtkPruneTreeFilter* New();
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 
62 protected:
64  ~vtkPruneTreeFilter() override;
65 
68 
70 
71 private:
72  vtkPruneTreeFilter(const vtkPruneTreeFilter&) = delete;
73  void operator=(const vtkPruneTreeFilter&) = delete;
74 };
75 
76 #endif
vtkIdType
int vtkIdType
Definition: vtkType.h:349
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkTreeAlgorithm.h
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:54
vtkTreeAlgorithm::New
static vtkTreeAlgorithm * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkTreeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTreeAlgorithm
Superclass for algorithms that produce only Tree as output.
Definition: vtkTreeAlgorithm.h:45
vtkPruneTreeFilter
prune a subtree out of a vtkTree
Definition: vtkPruneTreeFilter.h:38
vtkTreeAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:64
vtkPruneTreeFilter::ParentVertex
vtkIdType ParentVertex
Definition: vtkPruneTreeFilter.h:66
vtkPruneTreeFilter::ShouldPruneParentVertex
bool ShouldPruneParentVertex
Definition: vtkPruneTreeFilter.h:67