VTK
dox
Rendering
Label
vtkPointSetToLabelHierarchy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPointSetToLabelHierarchy.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
-------------------------------------------------------------------------*/
39
#ifndef vtkPointSetToLabelHierarchy_h
40
#define vtkPointSetToLabelHierarchy_h
41
42
#include "vtkRenderingLabelModule.h"
// For export macro
43
#include "
vtkLabelHierarchyAlgorithm.h
"
44
45
class
vtkTextProperty
;
46
47
class
VTKRENDERINGLABEL_EXPORT
vtkPointSetToLabelHierarchy
:
public
vtkLabelHierarchyAlgorithm
48
{
49
public
:
50
static
vtkPointSetToLabelHierarchy
*
New
();
51
vtkTypeMacro(
vtkPointSetToLabelHierarchy
,
vtkLabelHierarchyAlgorithm
);
52
virtual
void
PrintSelf
( ostream& os,
vtkIndent
indent );
53
55
58
vtkSetMacro
(TargetLabelCount,
int
);
59
vtkGetMacro(TargetLabelCount,
int
);
61
63
66
vtkSetMacro
(MaximumDepth,
int
);
67
vtkGetMacro(MaximumDepth,
int
);
69
71
74
vtkSetMacro
(UseUnicodeStrings,
bool
);
75
vtkGetMacro(UseUnicodeStrings,
bool
);
76
vtkBooleanMacro
(UseUnicodeStrings,
bool
);
78
80
83
virtual
void
SetLabelArrayName(
const
char
*
name
);
84
virtual
const
char
* GetLabelArrayName();
86
88
91
virtual
void
SetSizeArrayName(
const
char
*
name
);
92
virtual
const
char
* GetSizeArrayName();
94
96
99
virtual
void
SetPriorityArrayName(
const
char
*
name
);
100
virtual
const
char
* GetPriorityArrayName();
102
104
107
virtual
void
SetIconIndexArrayName(
const
char
*
name
);
108
virtual
const
char
* GetIconIndexArrayName();
110
112
115
virtual
void
SetOrientationArrayName(
const
char
*
name
);
116
virtual
const
char
* GetOrientationArrayName();
118
120
123
virtual
void
SetBoundedSizeArrayName(
const
char
*
name
);
124
virtual
const
char
* GetBoundedSizeArrayName();
126
128
131
virtual
void
SetTextProperty(
vtkTextProperty
* tprop);
132
vtkGetObjectMacro(TextProperty,
vtkTextProperty
);
134
135
protected
:
136
vtkPointSetToLabelHierarchy
();
137
virtual
~
vtkPointSetToLabelHierarchy
();
138
139
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
140
141
virtual
int
RequestData
(
142
vtkInformation
* request,
143
vtkInformationVector
** inputVector,
144
vtkInformationVector
* outputVector );
145
146
int
TargetLabelCount
;
147
int
MaximumDepth
;
148
bool
UseUnicodeStrings
;
149
vtkTextProperty
*
TextProperty
;
150
151
private
:
152
vtkPointSetToLabelHierarchy
(
const
vtkPointSetToLabelHierarchy
& ) VTK_DELETE_FUNCTION;
153
void
operator = (
const
vtkPointSetToLabelHierarchy
& ) VTK_DELETE_FUNCTION;
154
};
155
156
#endif // vtkPointSetToLabelHierarchy_h
vtkLabelHierarchyAlgorithm::New
static vtkLabelHierarchyAlgorithm * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkLabelHierarchyAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPointSetToLabelHierarchy::UseUnicodeStrings
bool UseUnicodeStrings
Definition:
vtkPointSetToLabelHierarchy.h:148
vtkLabelHierarchyAlgorithm
Superclass for algorithms that produce only label hierarchies as output.
Definition:
vtkLabelHierarchyAlgorithm.h:43
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkLabelHierarchyAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkPointSetToLabelHierarchy::TargetLabelCount
int TargetLabelCount
Definition:
vtkPointSetToLabelHierarchy.h:146
vtkPointSetToLabelHierarchy::MaximumDepth
int MaximumDepth
Definition:
vtkPointSetToLabelHierarchy.h:147
vtkPointSetToLabelHierarchy
build a label hierarchy for a graph or point set.
Definition:
vtkPointSetToLabelHierarchy.h:47
vtkX3D::name
@ name
Definition:
vtkX3D.h:219
vtkTextProperty
represent text properties.
Definition:
vtkTextProperty.h:39
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkLabelHierarchyAlgorithm.h
vtkLabelHierarchyAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkPointSetToLabelHierarchy::TextProperty
vtkTextProperty * TextProperty
Definition:
vtkPointSetToLabelHierarchy.h:149
Generated by
1.8.17