VTK  9.1.0
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-------------------------------------------------------------------------*/
52#ifndef vtkPointSetToLabelHierarchy_h
53#define vtkPointSetToLabelHierarchy_h
54
56#include "vtkRenderingLabelModule.h" // For export macro
57
58class vtkTextProperty;
59
60class VTKRENDERINGLABEL_EXPORT vtkPointSetToLabelHierarchy : public vtkLabelHierarchyAlgorithm
61{
62public:
65 void PrintSelf(ostream& os, vtkIndent indent) override;
66
68
71 vtkSetMacro(TargetLabelCount, int);
72 vtkGetMacro(TargetLabelCount, int);
74
76
79 vtkSetMacro(MaximumDepth, int);
80 vtkGetMacro(MaximumDepth, int);
82
84
87 vtkSetMacro(UseUnicodeStrings, bool);
88 vtkGetMacro(UseUnicodeStrings, bool);
89 vtkBooleanMacro(UseUnicodeStrings, bool);
91
93
96 virtual void SetLabelArrayName(const char* name);
97 virtual const char* GetLabelArrayName();
99
101
104 virtual void SetSizeArrayName(const char* name);
105 virtual const char* GetSizeArrayName();
107
109
112 virtual void SetPriorityArrayName(const char* name);
113 virtual const char* GetPriorityArrayName();
115
117
120 virtual void SetIconIndexArrayName(const char* name);
121 virtual const char* GetIconIndexArrayName();
123
125
128 virtual void SetOrientationArrayName(const char* name);
129 virtual const char* GetOrientationArrayName();
131
133
136 virtual void SetBoundedSizeArrayName(const char* name);
137 virtual const char* GetBoundedSizeArrayName();
139
141
144 virtual void SetTextProperty(vtkTextProperty* tprop);
145 vtkGetObjectMacro(TextProperty, vtkTextProperty);
147
148protected:
151
153
155 vtkInformationVector* outputVector) override;
156
161
162private:
164 void operator=(const vtkPointSetToLabelHierarchy&) = delete;
165};
166
167#endif // vtkPointSetToLabelHierarchy_h
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only label hierarchies as output.
build a label hierarchy for a graph or point set.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetPriorityArrayName(const char *name)
Set/get the priority array name.
virtual const char * GetIconIndexArrayName()
Set/get the icon index array name.
virtual void SetOrientationArrayName(const char *name)
Set/get the text orientation array name.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual const char * GetBoundedSizeArrayName()
Set/get the maximum text width (in world coordinates) array name.
~vtkPointSetToLabelHierarchy() override
virtual void SetSizeArrayName(const char *name)
Set/get the priority array name.
virtual void SetBoundedSizeArrayName(const char *name)
Set/get the maximum text width (in world coordinates) array name.
virtual const char * GetSizeArrayName()
Set/get the priority array name.
static vtkPointSetToLabelHierarchy * New()
virtual void SetLabelArrayName(const char *name)
Set/get the label array name.
virtual const char * GetPriorityArrayName()
Set/get the priority array name.
virtual void SetTextProperty(vtkTextProperty *tprop)
Set/get the text property assigned to the hierarchy.
virtual void SetIconIndexArrayName(const char *name)
Set/get the icon index array name.
virtual const char * GetOrientationArrayName()
Set/get the text orientation array name.
virtual const char * GetLabelArrayName()
Set/get the label array name.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
represent text properties.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
@ name
Definition: vtkX3D.h:225