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 -------------------------------------------------------------------------*/
38 #ifndef vtkPointSetToLabelHierarchy_h
39 #define vtkPointSetToLabelHierarchy_h
40 
41 #include "vtkRenderingLabelModule.h" // For export macro
43 
44 class vtkTextProperty;
45 
47 {
48 public:
51  virtual void PrintSelf( ostream& os, vtkIndent indent );
52 
54 
56  vtkSetMacro(TargetLabelCount,int);
57  vtkGetMacro(TargetLabelCount,int);
59 
61 
62  vtkSetMacro(MaximumDepth,int);
63  vtkGetMacro(MaximumDepth,int);
65 
67 
68  vtkSetMacro(UseUnicodeStrings,bool);
69  vtkGetMacro(UseUnicodeStrings,bool);
70  vtkBooleanMacro(UseUnicodeStrings,bool);
72 
74 
75  virtual void SetLabelArrayName(const char* name);
76  virtual const char* GetLabelArrayName();
78 
80 
81  virtual void SetSizeArrayName(const char* name);
82  virtual const char* GetSizeArrayName();
84 
86 
87  virtual void SetPriorityArrayName(const char* name);
88  virtual const char* GetPriorityArrayName();
90 
92 
93  virtual void SetIconIndexArrayName(const char* name);
94  virtual const char* GetIconIndexArrayName();
96 
98 
99  virtual void SetOrientationArrayName(const char* name);
100  virtual const char* GetOrientationArrayName();
102 
104 
105  virtual void SetBoundedSizeArrayName(const char* name);
106  virtual const char* GetBoundedSizeArrayName();
108 
110 
111  virtual void SetTextProperty(vtkTextProperty* tprop);
112  vtkGetObjectMacro(TextProperty, vtkTextProperty);
114 
115 protected:
117  virtual ~vtkPointSetToLabelHierarchy();
118 
119  virtual int FillInputPortInformation( int port, vtkInformation* info );
120 
121  virtual int RequestData(
122  vtkInformation* request,
123  vtkInformationVector** inputVector,
124  vtkInformationVector* outputVector );
125 
130 
131 private:
132  vtkPointSetToLabelHierarchy( const vtkPointSetToLabelHierarchy& ); // Not implemented.
133  void operator = ( const vtkPointSetToLabelHierarchy& ); // Not implemented.
134 };
135 
136 #endif // vtkPointSetToLabelHierarchy_h
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGLABEL_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
represent text properties.
build a label hierarchy for a graph or point set.
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkLabelHierarchyAlgorithm * New()
Superclass for algorithms that produce only label hierarchies as output.
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)