24 #ifndef vtkColorLegend_h 
   25 #define vtkColorLegend_h 
   27 #include "vtkChartsCoreModule.h"  
   57   virtual void GetBounds(
double bounds[4]);
 
   85   virtual void SetPoint(
float x, 
float y);
 
   90   virtual void SetTextureSize(
float w, 
float h);
 
   98   virtual void SetPosition(
const vtkRectf& pos);
 
  120   vtkGetMacro(Orientation, 
int);
 
  137   vtkGetMacro(DrawBorder, 
bool);
 
  154   virtual void ComputeTexture();
 
  161   virtual void ScalarsToColorsModified(
vtkObject* caller, 
unsigned long eid,
 
  163   static void OnScalarsToColorsModified(
vtkObject* caller, 
unsigned long eid,
 
  164                                         void *clientdata, 
void* calldata);
 
  170   void UpdateAxisPosition();
 
Wrapper around std::string to keep symbols short. 
 
abstract base class for most VTK objects 
 
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
Mouse move event. 
 
virtual vtkRectf GetBoundingRect(vtkContext2D *painter)
Request the space the legend requires to be drawn. 
 
Legend item to display vtkScalarsToColors. 
 
virtual void Update()
Update the geometry of the axis. 
 
vtkSmartPointer< vtkCallbackCommand > Callback
 
Superclass for mapping scalar values to colors. 
 
Class for drawing 2D primitives to a graphical context. 
 
supports function callbacks 
 
takes care of drawing 2D axes 
 
data structure to represent mouse events. 
 
a simple class to control print indentation 
 
static vtkChartLegend * New()
Creates a 2D Chart object. 
 
topologically and geometrically regular array of data 
 
virtual void SetPoint(float, float)
Set point the legend box is anchored to. 
 
vtkScalarsToColors * TransferFunction
 
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
vtkSmartPointer< vtkImageData > ImageData
 
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses. 
 
virtual bool Paint(vtkContext2D *painter)
Paint event for the axis, called whenever the axis needs to be drawn. 
 
vtkSmartPointer< vtkAxis > Axis
 
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.