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 -------------------------------------------------------------------------*/
31 #ifndef vtkPruneTreeFilter_h
32 #define vtkPruneTreeFilter_h
33 
34 #include "vtkInfovisCoreModule.h" // For export macro
35 #include "vtkTreeAlgorithm.h"
36 
37 class vtkTree;
38 class vtkPVXMLElement;
39 
41 {
42 public:
43  static vtkPruneTreeFilter* New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
49  vtkGetMacro(ParentVertex, vtkIdType);
50  vtkSetMacro(ParentVertex, vtkIdType);
52 
54 
56  vtkGetMacro(ShouldPruneParentVertex, bool);
57  vtkSetMacro(ShouldPruneParentVertex, bool);
59 
60 protected:
63 
66 
67  int RequestData(
71 
72 private:
73  vtkPruneTreeFilter(const vtkPruneTreeFilter&); // Not implemented
74  void operator=(const vtkPruneTreeFilter&); // Not implemented
75 };
76 
77 #endif
78 
Superclass for algorithms that produce only Tree as output.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int vtkIdType
Definition: vtkType.h:275
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKINFOVISCORE_EXPORT
Store zero or more vtkInformation instances.
prune a subtree out of a vtkTree
static vtkTreeAlgorithm * New()
A rooted tree data structure.
Definition: vtkTree.h:59