VTK
dox
Infovis
Core
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
38
class
vtkTree
;
39
class
vtkPVXMLElement;
40
41
class
VTKINFOVISCORE_EXPORT
vtkPruneTreeFilter
:
public
vtkTreeAlgorithm
42
{
43
public
:
44
static
vtkPruneTreeFilter
*
New
();
45
vtkTypeMacro(
vtkPruneTreeFilter
,
vtkTreeAlgorithm
);
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
65
protected
:
66
vtkPruneTreeFilter
();
67
~
vtkPruneTreeFilter
()
override
;
68
69
vtkIdType
ParentVertex
;
70
bool
ShouldPruneParentVertex
;
71
72
int
RequestData
(
73
vtkInformation
*,
74
vtkInformationVector
**,
75
vtkInformationVector
*)
override
;
76
77
private
:
78
vtkPruneTreeFilter
(
const
vtkPruneTreeFilter
&) =
delete
;
79
void
operator=(
const
vtkPruneTreeFilter
&) =
delete
;
80
};
81
82
#endif
83
vtkIdType
int vtkIdType
Definition:
vtkType.h:347
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkTreeAlgorithm.h
vtkTree
A rooted tree data structure.
Definition:
vtkTree.h:60
vtkTreeAlgorithm::New
static vtkTreeAlgorithm * New()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
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:48
vtkPruneTreeFilter
prune a subtree out of a vtkTree
Definition:
vtkPruneTreeFilter.h:41
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:86
vtkPruneTreeFilter::ParentVertex
vtkIdType ParentVertex
Definition:
vtkPruneTreeFilter.h:69
vtkPruneTreeFilter::ShouldPruneParentVertex
bool ShouldPruneParentVertex
Definition:
vtkPruneTreeFilter.h:70
Generated by
1.8.16