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:
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 
71 
72 private:
73  vtkPruneTreeFilter(const vtkPruneTreeFilter&); // Not implemented
74  void operator=(const vtkPruneTreeFilter&); // Not implemented
75 };
76 
77 #endif
78 
VTKINFOVISCORE_EXPORT
#define VTKINFOVISCORE_EXPORT
Definition: vtkInfovisCoreModule.h:15
vtkPruneTreeFilter::~vtkPruneTreeFilter
~vtkPruneTreeFilter()
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPruneTreeFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTreeAlgorithm.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:60
vtkPruneTreeFilter::vtkPruneTreeFilter
vtkPruneTreeFilter()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkTreeAlgorithm
Superclass for algorithms that produce only Tree as output.
Definition: vtkTreeAlgorithm.h:48
vtkInfovisCoreModule.h
vtkPruneTreeFilter
prune a subtree out of a vtkTree
Definition: vtkPruneTreeFilter.h:41
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkPruneTreeFilter::ParentVertex
vtkIdType ParentVertex
Definition: vtkPruneTreeFilter.h:64
vtkPruneTreeFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPruneTreeFilter::New
static vtkPruneTreeFilter * New()
vtkPruneTreeFilter::ShouldPruneParentVertex
bool ShouldPruneParentVertex
Definition: vtkPruneTreeFilter.h:65