| 
| virtual int  | IsA (const char *type) | 
|   | 
| vtkCategoryLegend *  | NewInstance () const  | 
|   | 
| virtual bool  | Paint (vtkContext2D *painter) | 
|   | 
| virtual vtkRectf  | GetBoundingRect (vtkContext2D *painter) | 
|   | 
 | 
| virtual void  | SetScalarsToColors (vtkScalarsToColors *stc) | 
|   | 
| virtual vtkScalarsToColors *  | GetScalarsToColors () | 
|   | 
 | 
| virtual vtkVariantArray *  | GetValues () | 
|   | 
| virtual void  | SetValues (vtkVariantArray *) | 
|   | 
 | 
| virtual void  | SetTitle (const vtkStdString &title) | 
|   | 
| virtual vtkStdString  | GetTitle () | 
|   | 
 | 
| virtual vtkStdString  | GetOutlierLabel () | 
|   | 
| virtual void  | SetOutlierLabel (vtkStdString) | 
|   | 
| vtkChartLegend *  | NewInstance () const  | 
|   | 
| virtual void  | PrintSelf (ostream &os, vtkIndent indent) | 
|   | 
| void  | SetPoint (const vtkVector2f &point) | 
|   | 
| const vtkVector2f &  | GetPointVector () | 
|   | 
| virtual void  | SetLabelSize (int size) | 
|   | 
| virtual int  | GetLabelSize () | 
|   | 
| void  | SetChart (vtkChart *chart) | 
|   | 
| vtkChart *  | GetChart () | 
|   | 
| virtual void  | Update () | 
|   | 
| vtkPen *  | GetPen () | 
|   | 
| vtkBrush *  | GetBrush () | 
|   | 
| vtkTextProperty *  | GetLabelProperties () | 
|   | 
| virtual bool  | Hit (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual bool  | MouseMoveEvent (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual bool  | MouseButtonPressEvent (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual bool  | MouseButtonReleaseEvent (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual void  | SetPoint (float, float) | 
|   | 
| void  | SetPoint (float[2]) | 
|   | 
| virtual float *  | GetPoint () | 
|   | 
| virtual void  | GetPoint (float &, float &) | 
|   | 
| virtual void  | GetPoint (float[2]) | 
|   | 
| virtual void  | SetHorizontalAlignment (int) | 
|   | 
| virtual int  | GetHorizontalAlignment () | 
|   | 
| virtual void  | SetVerticalAlignment (int) | 
|   | 
| virtual int  | GetVerticalAlignment () | 
|   | 
| virtual void  | SetPadding (int) | 
|   | 
| virtual int  | GetPadding () | 
|   | 
| virtual void  | SetSymbolWidth (int) | 
|   | 
| virtual int  | GetSymbolWidth () | 
|   | 
| virtual void  | SetInline (bool) | 
|   | 
| virtual bool  | GetInline () | 
|   | 
| virtual void  | SetDragEnabled (bool) | 
|   | 
| virtual bool  | GetDragEnabled () | 
|   | 
| virtual void  | SetCacheBounds (bool) | 
|   | 
| virtual bool  | GetCacheBounds () | 
|   | 
| virtual void  | CacheBoundsOn () | 
|   | 
| virtual void  | CacheBoundsOff () | 
|   | 
| vtkContextItem *  | NewInstance () const  | 
|   | 
| virtual double  | GetOpacity () | 
|   | 
| virtual void  | SetOpacity (double) | 
|   | 
| vtkAbstractContextItem *  | NewInstance () const  | 
|   | 
| virtual bool  | PaintChildren (vtkContext2D *painter) | 
|   | 
| virtual void  | ReleaseGraphicsResources () | 
|   | 
| unsigned int  | AddItem (vtkAbstractContextItem *item) | 
|   | 
| bool  | RemoveItem (vtkAbstractContextItem *item) | 
|   | 
| bool  | RemoveItem (unsigned int index) | 
|   | 
| vtkAbstractContextItem *  | GetItem (unsigned int index) | 
|   | 
| unsigned int  | GetItemIndex (vtkAbstractContextItem *item) | 
|   | 
| unsigned int  | GetNumberOfItems () | 
|   | 
| void  | ClearItems () | 
|   | 
| unsigned int  | Raise (unsigned int index) | 
|   | 
| unsigned int  | Lower (unsigned int index) | 
|   | 
| virtual vtkAbstractContextItem *  | GetPickedItem (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual bool  | MouseEnterEvent (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual bool  | MouseLeaveEvent (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual bool  | MouseDoubleClickEvent (const vtkContextMouseEvent &mouse) | 
|   | 
| virtual bool  | MouseWheelEvent (const vtkContextMouseEvent &mouse, int delta) | 
|   | 
| virtual bool  | KeyPressEvent (const vtkContextKeyEvent &key) | 
|   | 
| virtual void  | SetScene (vtkContextScene *scene) | 
|   | 
| virtual void  | SetParent (vtkAbstractContextItem *parent) | 
|   | 
| virtual vtkVector2f  | MapToParent (const vtkVector2f &point) | 
|   | 
| virtual vtkVector2f  | MapFromParent (const vtkVector2f &point) | 
|   | 
| virtual vtkVector2f  | MapToScene (const vtkVector2f &point) | 
|   | 
| virtual vtkVector2f  | MapFromScene (const vtkVector2f &point) | 
|   | 
| virtual unsigned int  | StackAbove (unsigned int index, unsigned int under) | 
|   | 
| virtual unsigned int  | StackUnder (unsigned int child, unsigned int above) | 
|   | 
| virtual bool  | KeyReleaseEvent (const vtkContextKeyEvent &key) | 
|   | 
| vtkContextScene *  | GetScene () | 
|   | 
| vtkAbstractContextItem *  | GetParent () | 
|   | 
| virtual bool  | GetVisible () | 
|   | 
| virtual void  | SetVisible (bool) | 
|   | 
| virtual bool  | GetInteractive () | 
|   | 
| virtual void  | SetInteractive (bool) | 
|   | 
| vtkObject *  | NewInstance () const  | 
|   | 
| virtual void  | DebugOn () | 
|   | 
| virtual void  | DebugOff () | 
|   | 
| bool  | GetDebug () | 
|   | 
| void  | SetDebug (bool debugFlag) | 
|   | 
| virtual void  | Modified () | 
|   | 
| virtual unsigned long  | GetMTime () | 
|   | 
| unsigned long  | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) | 
|   | 
| unsigned long  | AddObserver (const char *event, vtkCommand *, float priority=0.0f) | 
|   | 
| vtkCommand *  | GetCommand (unsigned long tag) | 
|   | 
| void  | RemoveObserver (vtkCommand *) | 
|   | 
| void  | RemoveObservers (unsigned long event, vtkCommand *) | 
|   | 
| void  | RemoveObservers (const char *event, vtkCommand *) | 
|   | 
| int  | HasObserver (unsigned long event, vtkCommand *) | 
|   | 
| int  | HasObserver (const char *event, vtkCommand *) | 
|   | 
| void  | RemoveObserver (unsigned long tag) | 
|   | 
| void  | RemoveObservers (unsigned long event) | 
|   | 
| void  | RemoveObservers (const char *event) | 
|   | 
| void  | RemoveAllObservers () | 
|   | 
| int  | HasObserver (unsigned long event) | 
|   | 
| int  | HasObserver (const char *event) | 
|   | 
| template<class U , class T >  | 
| unsigned long  | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) | 
|   | 
| template<class U , class T >  | 
| unsigned long  | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) | 
|   | 
| template<class U , class T >  | 
| unsigned long  | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) | 
|   | 
| int  | InvokeEvent (unsigned long event, void *callData) | 
|   | 
| int  | InvokeEvent (const char *event, void *callData) | 
|   | 
| int  | InvokeEvent (unsigned long event) | 
|   | 
| int  | InvokeEvent (const char *event) | 
|   | 
| const char *  | GetClassName () const  | 
|   | 
| virtual void  | Delete () | 
|   | 
| virtual void  | FastDelete () | 
|   | 
| void  | Print (ostream &os) | 
|   | 
| virtual void  | Register (vtkObjectBase *o) | 
|   | 
| virtual void  | UnRegister (vtkObjectBase *o) | 
|   | 
| void  | SetReferenceCount (int) | 
|   | 
| void  | PrintRevisions (ostream &) | 
|   | 
| virtual void  | PrintHeader (ostream &os, vtkIndent indent) | 
|   | 
| virtual void  | PrintTrailer (ostream &os, vtkIndent indent) | 
|   | 
| int  | GetReferenceCount () | 
|   | 
Legend item to display categorical data. 
vtkCategoryLegend will display a label and color patch for each value in a categorical data set. To use this class, you must first populate a vtkScalarsToColors by using the SetAnnotation() method. The other input to this class is a vtkVariantArray. This should contain the annotated values from the vtkScalarsToColors that you wish to include within the legend.
- Tests:
 - vtkCategoryLegend (Tests) 
 
Definition at line 43 of file vtkCategoryLegend.h.