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