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 
42 
43 class vtkTextProperty;
44 
46 {
47 public:
50  virtual void PrintSelf( ostream& os, vtkIndent indent );
51 
53 
55  vtkSetMacro(TargetLabelCount,int);
56  vtkGetMacro(TargetLabelCount,int);
58 
60 
61  vtkSetMacro(MaximumDepth,int);
62  vtkGetMacro(MaximumDepth,int);
64 
66 
67  vtkSetMacro(UseUnicodeStrings,bool);
68  vtkGetMacro(UseUnicodeStrings,bool);
69  vtkBooleanMacro(UseUnicodeStrings,bool);
71 
73 
74  virtual void SetLabelArrayName(const char* name);
75  virtual const char* GetLabelArrayName();
77 
79 
80  virtual void SetSizeArrayName(const char* name);
81  virtual const char* GetSizeArrayName();
83 
85 
86  virtual void SetPriorityArrayName(const char* name);
87  virtual const char* GetPriorityArrayName();
89 
91 
92  virtual void SetIconIndexArrayName(const char* name);
93  virtual const char* GetIconIndexArrayName();
95 
97 
98  virtual void SetOrientationArrayName(const char* name);
99  virtual const char* GetOrientationArrayName();
101 
103 
104  virtual void SetBoundedSizeArrayName(const char* name);
105  virtual const char* GetBoundedSizeArrayName();
107 
109 
110  virtual void SetTextProperty(vtkTextProperty* tprop);
111  vtkGetObjectMacro(TextProperty, vtkTextProperty);
113 
114 protected:
116  virtual ~vtkPointSetToLabelHierarchy();
117 
118  virtual int FillInputPortInformation( int port, vtkInformation* info );
119 
120  virtual int RequestData(
121  vtkInformation* request,
122  vtkInformationVector** inputVector,
123  vtkInformationVector* outputVector );
124 
129 
130 private:
131  vtkPointSetToLabelHierarchy( const vtkPointSetToLabelHierarchy& ); // Not implemented.
132  void operator = ( const vtkPointSetToLabelHierarchy& ); // Not implemented.
133 };
134 
135 #endif // __vtkPointSetToLabelHierarchy_h