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:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
52 
54 protected:
57 
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
Proxy object to connect input/output ports.
return a subtree from a vtkTree
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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.
Superclass for algorithms that produce only Tree as output.
A rooted tree data structure.
Definition: vtkTree.h:61
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447