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 
45 class vtkTextProperty;
46 
47 class VTKRENDERINGLABEL_EXPORT vtkPointSetToLabelHierarchy : public vtkLabelHierarchyAlgorithm
48 {
49 public:
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:
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 
150 
151 private:
152  vtkPointSetToLabelHierarchy( const vtkPointSetToLabelHierarchy& ) VTK_DELETE_FUNCTION;
153  void operator = ( const vtkPointSetToLabelHierarchy& ) VTK_DELETE_FUNCTION;
154 };
155 
156 #endif // vtkPointSetToLabelHierarchy_h
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
represent text properties.
build a label hierarchy for a graph or point set.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkLabelHierarchyAlgorithm * New()
Superclass for algorithms that produce only label hierarchies as output.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.