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 =========================================================================*/
30 #ifndef vtkExtractSelectedTree_h
31 #define vtkExtractSelectedTree_h
32 
33 #include "vtkInfovisCoreModule.h" // For export macro
34 #include "vtkTreeAlgorithm.h"
35 
36 class vtkTree;
37 class vtkIdTypeArray;
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
50 
52 protected:
55 
60 
61  int BuildTree(vtkTree * inputTree, vtkIdTypeArray * list, vtkMutableDirectedGraph * builder);
62 
63 
64 private:
65  vtkExtractSelectedTree(const vtkExtractSelectedTree&); // Not implemented
66  void operator=(const vtkExtractSelectedTree&); // Not implemented
67 };
68 
69 #endif
vtkExtractSelectedTree::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *in)
VTKINFOVISCORE_EXPORT
#define VTKINFOVISCORE_EXPORT
Definition: vtkInfovisCoreModule.h:15
vtkExtractSelectedTree::BuildTree
int BuildTree(vtkTree *inputTree, vtkIdTypeArray *list, vtkMutableDirectedGraph *builder)
vtkExtractSelectedTree::~vtkExtractSelectedTree
~vtkExtractSelectedTree()
vtkMutableDirectedGraph
An editable directed graph.
Definition: vtkMutableDirectedGraph.h:51
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTreeAlgorithm.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::in
GLuint in
Definition: vtkgl.h:16905
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:60
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkExtractSelectedTree::New
static vtkExtractSelectedTree * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkExtractSelectedTree::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
vtkTreeAlgorithm
Superclass for algorithms that produce only Tree as output.
Definition: vtkTreeAlgorithm.h:48
vtkInfovisCoreModule.h
vtkExtractSelectedTree::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:49
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkExtractSelectedTree::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkExtractSelectedTree::vtkExtractSelectedTree
vtkExtractSelectedTree()
vtkExtractSelectedTree
return a subtree from a vtkTree
Definition: vtkExtractSelectedTree.h:41