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) override;
47 
52 
54 protected:
57 
61  vtkInformationVector*) override;
62 
63  int BuildTree(vtkTree * inputTree, vtkIdTypeArray * list, vtkMutableDirectedGraph * builder);
64 
65 
66 private:
68  void operator=(const vtkExtractSelectedTree&) = delete;
69 };
70 
71 #endif
vtkExtractSelectedTree::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
A convenience method for setting the second input (i.e.
vtkExtractSelectedTree::BuildTree
int BuildTree(vtkTree *inputTree, vtkIdTypeArray *list, vtkMutableDirectedGraph *builder)
vtkMutableDirectedGraph
An editable directed graph.
Definition: vtkMutableDirectedGraph.h:52
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTreeAlgorithm.h
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:61
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExtractSelectedTree::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSelectedTree::New
static vtkExtractSelectedTree * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkExtractSelectedTree::~vtkExtractSelectedTree
~vtkExtractSelectedTree() override
vtkExtractSelectedTree::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTreeAlgorithm
Superclass for algorithms that produce only Tree as output.
Definition: vtkTreeAlgorithm.h:49
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:42
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:40
vtkExtractSelectedTree::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelectedTree::vtkExtractSelectedTree
vtkExtractSelectedTree()
vtkExtractSelectedTree
return a subtree from a vtkTree
Definition: vtkExtractSelectedTree.h:42