VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Core
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 "vtkInfovisCoreModule.h"
// For export macro
37
#include "
vtkTreeAlgorithm.h
"
38
39
class
vtkStdString
;
40
41
class
VTKINFOVISCORE_EXPORT
vtkNetworkHierarchy
:
public
vtkTreeAlgorithm
42
{
43
public
:
44
static
vtkNetworkHierarchy
*
New
();
45
vtkTypeMacro(
vtkNetworkHierarchy
,
vtkTreeAlgorithm
);
46
48
49
vtkGetStringMacro
(IPArrayName);
50
vtkSetStringMacro(IPArrayName);
52
53
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
55
protected
:
56
vtkNetworkHierarchy
();
57
~
vtkNetworkHierarchy
();
58
59
int
RequestData
(
60
vtkInformation
*,
61
vtkInformationVector
**,
62
vtkInformationVector
*);
63
64
int
FillOutputPortInformation
(
65
int
vtkNotUsed(
port
),
vtkInformation
*
info
);
66
int
FillInputPortInformation
(
67
int
vtkNotUsed(
port
),
vtkInformation
*
info
);
68
69
private
:
70
vtkNetworkHierarchy
(
const
vtkNetworkHierarchy
&);
// Not implemented
71
void
operator=(
const
vtkNetworkHierarchy
&);
// Not implemented
72
73
// Internal helper functions
74
unsigned
int
ITON(
vtkStdString
ip);
75
void
GetSubnets(
unsigned
int
packedIP,
int
*subnets);
76
77
char
*IPArrayName;
78
79
};
80
81
#endif
82
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1