VTK
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 =========================================================================*/
31 #ifndef vtkExtractSelectedTree_h
32 #define vtkExtractSelectedTree_h
33 
34 #include "vtkInfovisCoreModule.h" // For export macro
35 #include "vtkTreeAlgorithm.h"
36 
37 class vtkTree;
38 class vtkIdTypeArray;
40 
41 class VTKINFOVISCORE_EXPORT vtkExtractSelectedTree : public vtkTreeAlgorithm
42 {
43 public:
44  static vtkExtractSelectedTree* New();
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
51  void SetSelectionConnection(vtkAlgorithmOutput* in);
52 
54 protected:
57 
58  int RequestData(
62 
63  int BuildTree(vtkTree * inputTree, vtkIdTypeArray * list, vtkMutableDirectedGraph * builder);
64 
65 
66 private:
67  vtkExtractSelectedTree(const vtkExtractSelectedTree&) VTK_DELETE_FUNCTION;
68  void operator=(const vtkExtractSelectedTree&) VTK_DELETE_FUNCTION;
69 };
70 
71 #endif
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Superclass for algorithms that produce only Tree as output.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
dynamic, self-adjusting array of vtkIdType
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:39
An editable directed graph.
return a subtree from a vtkTree
Store zero or more vtkInformation instances.
static vtkTreeAlgorithm * New()
A rooted tree data structure.
Definition: vtkTree.h:60
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.