VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkNetworkHierarchy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkNetworkHierarchy.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
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
33
#ifndef __vtkNetworkHierarchy_h
34
#define __vtkNetworkHierarchy_h
35
36
#include "
vtkTreeAlgorithm.h
"
37
38
class
vtkStdString
;
39
40
class
VTK_INFOVIS_EXPORT
vtkNetworkHierarchy
:
public
vtkTreeAlgorithm
41
{
42
public
:
43
static
vtkNetworkHierarchy
*
New
();
44
vtkTypeMacro(
vtkNetworkHierarchy
,
vtkTreeAlgorithm
);
45
47
48
vtkGetStringMacro(IPArrayName);
49
vtkSetStringMacro(IPArrayName);
51
52
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
54
protected
:
55
vtkNetworkHierarchy
();
56
~
vtkNetworkHierarchy
();
57
58
int
RequestData
(
59
vtkInformation
*,
60
vtkInformationVector
**,
61
vtkInformationVector
*);
62
63
int
FillOutputPortInformation
(
64
int
vtkNotUsed(
port
),
vtkInformation
*
info
);
65
int
FillInputPortInformation
(
66
int
vtkNotUsed(
port
),
vtkInformation
*
info
);
67
68
private
:
69
vtkNetworkHierarchy
(
const
vtkNetworkHierarchy
&);
// Not implemented
70
void
operator=(
const
vtkNetworkHierarchy
&);
// Not implemented
71
72
// Internal helper functions
73
unsigned
int
ITON(
vtkStdString
ip);
74
void
GetSubnets(
unsigned
int
packedIP,
int
*subnets);
75
76
char
*IPArrayName;
77
78
};
79
80
#endif
81
Generated on Wed May 30 2012 13:22:15 for VTK by
1.8.1