23 #ifndef __vtkColorLegend_h
24 #define __vtkColorLegend_h
54 virtual void GetBounds(
double bounds[4]);
77 virtual void SetTextureSize(
float w,
float h);
84 virtual void SetPosition(
const vtkRectf& pos);
128 virtual void ComputeTexture();
133 virtual void ScalarsToColorsModified(
vtkObject* caller,
unsigned long eid,
135 static void OnScalarsToColorsModified(
vtkObject* caller,
unsigned long eid,
136 void *clientdata,
void* calldata);
140 void UpdateAxisPosition();
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
virtual vtkRectf GetBoundingRect(vtkContext2D *painter)
#define vtkGetMacro(name, type)
Legend item to display vtkScalarsToColors.
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
vtkSmartPointer< vtkCallbackCommand > Callback
Superclass for mapping scalar values to colors.
GLint GLint GLint GLint GLint x
Class for drawing 2D primitives to a graphical context.
supports function callbacks
GLubyte GLubyte GLubyte GLubyte w
takes care of drawing 2D axes
data structure to represent mouse events.
a simple class to control print indentation
static vtkChartLegend * New()
topologically and geometrically regular array of data
virtual void SetPoint(float, float)
vtkScalarsToColors * TransferFunction
vtkSmartPointer< vtkImageData > ImageData
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual bool Paint(vtkContext2D *painter)
#define vtkBooleanMacro(name, type)
vtkSmartPointer< vtkAxis > Axis
GLfloat GLfloat GLfloat GLfloat h
#define VTKCHARTSCORE_EXPORT
#define vtkSetMacro(name, type)