VTK
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
44
45class vtkTextProperty;
46
47class VTKRENDERINGLABEL_EXPORT vtkPointSetToLabelHierarchy : public vtkLabelHierarchyAlgorithm
48{
49public:
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
135protected:
138
140
141 virtual int RequestData(
142 vtkInformation* request,
143 vtkInformationVector** inputVector,
144 vtkInformationVector* outputVector );
145
150
151private:
152 vtkPointSetToLabelHierarchy( const vtkPointSetToLabelHierarchy& ) VTK_DELETE_FUNCTION;
153 void operator = ( const vtkPointSetToLabelHierarchy& ) VTK_DELETE_FUNCTION;
154};
155
156#endif // vtkPointSetToLabelHierarchy_h
a simple class to control print indentation
Definition: vtkIndent.h:40
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.
virtual void SetPriorityArrayName(const char *name)
Set/get the priority array name.
virtual ~vtkPointSetToLabelHierarchy()
virtual const char * GetIconIndexArrayName()
virtual void SetOrientationArrayName(const char *name)
Set/get the text orientation array name.
virtual const char * GetBoundedSizeArrayName()
virtual void SetSizeArrayName(const char *name)
Set/get the priority array name.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual void SetBoundedSizeArrayName(const char *name)
Set/get the maximum text width (in world coordinates) array name.
virtual const char * GetSizeArrayName()
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPointSetToLabelHierarchy * New()
virtual void SetLabelArrayName(const char *name)
Set/get the label array name.
virtual const char * GetPriorityArrayName()
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()
virtual const char * GetLabelArrayName()
represent text properties.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
@ name
Definition: vtkX3D.h:219
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.