VTK  9.2.6
vtkExtractSelectedTree.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkExtractSelectedTree.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=========================================================================*/
30
31#ifndef vtkExtractSelectedTree_h
32#define vtkExtractSelectedTree_h
33
34#include "vtkInfovisCoreModule.h" // For export macro
35#include "vtkTreeAlgorithm.h"
36
37class vtkTree;
38class vtkIdTypeArray;
40
41class VTKINFOVISCORE_EXPORT vtkExtractSelectedTree : public vtkTreeAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
52
53 int FillInputPortInformation(int port, vtkInformation* info) override;
54
55protected:
58
60
61 int BuildTree(vtkTree* inputTree, vtkIdTypeArray* list, vtkMutableDirectedGraph* builder);
62
63private:
65 void operator=(const vtkExtractSelectedTree&) = delete;
66};
67
68#endif
Proxy object to connect input/output ports.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
~vtkExtractSelectedTree() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkExtractSelectedTree * New()
int BuildTree(vtkTree *inputTree, vtkIdTypeArray *list, vtkMutableDirectedGraph *builder)
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
An editable directed graph.
A rooted tree data structure.
Definition vtkTree.h:61