00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00035 #ifndef __vtkPointSetToLabelHierarchy_h
00036 #define __vtkPointSetToLabelHierarchy_h
00037
00038 #include "vtkLabelHierarchyAlgorithm.h"
00039
00040 class vtkTextProperty;
00041
00042 class VTK_RENDERING_EXPORT vtkPointSetToLabelHierarchy : public vtkLabelHierarchyAlgorithm
00043 {
00044 public:
00045 static vtkPointSetToLabelHierarchy* New();
00046 vtkTypeRevisionMacro(vtkPointSetToLabelHierarchy,vtkLabelHierarchyAlgorithm);
00047 virtual void PrintSelf( ostream& os, vtkIndent indent );
00048
00050
00052 vtkSetMacro(TargetLabelCount,int);
00053 vtkGetMacro(TargetLabelCount,int);
00055
00057
00058 vtkSetMacro(MaximumDepth,int);
00059 vtkGetMacro(MaximumDepth,int);
00061
00063
00064 vtkSetMacro(UseUnicodeStrings,bool);
00065 vtkGetMacro(UseUnicodeStrings,bool);
00066 vtkBooleanMacro(UseUnicodeStrings,bool);
00068
00070
00071 virtual void SetLabelArrayName(const char* name);
00072 virtual const char* GetLabelArrayName();
00074
00076
00077 virtual void SetSizeArrayName(const char* name);
00078 virtual const char* GetSizeArrayName();
00080
00082
00083 virtual void SetPriorityArrayName(const char* name);
00084 virtual const char* GetPriorityArrayName();
00086
00088
00089 virtual void SetIconIndexArrayName(const char* name);
00090 virtual const char* GetIconIndexArrayName();
00092
00094
00095 virtual void SetOrientationArrayName(const char* name);
00096 virtual const char* GetOrientationArrayName();
00098
00100
00101 virtual void SetBoundedSizeArrayName(const char* name);
00102 virtual const char* GetBoundedSizeArrayName();
00104
00106
00107 virtual void SetTextProperty(vtkTextProperty* tprop);
00108 vtkGetObjectMacro(TextProperty, vtkTextProperty);
00110
00111 protected:
00112 vtkPointSetToLabelHierarchy();
00113 virtual ~vtkPointSetToLabelHierarchy();
00114
00115 virtual int FillInputPortInformation( int port, vtkInformation* info );
00116
00117 virtual int RequestData(
00118 vtkInformation* request,
00119 vtkInformationVector** inputVector,
00120 vtkInformationVector* outputVector );
00121
00122 int TargetLabelCount;
00123 int MaximumDepth;
00124 bool UseUnicodeStrings;
00125 vtkTextProperty* TextProperty;
00126
00127 private:
00128 vtkPointSetToLabelHierarchy( const vtkPointSetToLabelHierarchy& );
00129 void operator = ( const vtkPointSetToLabelHierarchy& );
00130 };
00131
00132 #endif // __vtkPointSetToLabelHierarchy_h