28 #ifndef __vtkHeatmapItem_h
29 #define __vtkHeatmapItem_h
100 virtual void GetBounds(
double bounds[4]);
149 virtual void RebuildBuffers();
157 virtual bool IsDirty();
160 void InitializeLookupTables();
170 void GenerateContinuousDataLookupTable();
174 void GenerateCategoricalDataLookupTable();
190 bool LineIsVisible(
double x0,
double y0,
double x1,
double y1);
194 void ComputeBounds();
214 unsigned long HeatmapBuildTime;
226 std::map< vtkIdType, std::pair< double, double > > ColumnRanges;
227 std::vector< vtkIdType > SceneRowToTableRowMap;
228 std::vector< vtkIdType > SceneColumnToTableColumnMap;
229 std::set<std::string> BlankRows;
235 double SceneBottomLeft[3];
236 double SceneTopRight[3];
238 float ColumnLabelWidth;
242 bool LegendPositionSet;
GLenum GLenum GLvoid GLvoid * column
An array holding vtkVariants.
base class for items that are part of a vtkContextScene.
virtual bool Paint(vtkContext2D *painter)
#define vtkGetMacro(name, type)
map scalar values into colors via a lookup table
Legend item to display vtkScalarsToColors.
a vtkAbstractArray subclass for strings
A 2D graphics item for rendering a heatmap.
GLenum GLsizei GLenum GLenum const GLvoid * table
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
Class for drawing 2D primitives to a graphical context.
data structure to represent mouse events.
a simple class to control print indentation
vtkVector2f PositionVector
Legend item to display categorical data.
vtkSmartPointer< vtkTable > Table
A table, which contains similar-typed columns of data.
#define vtkGetVector2Macro(name, type)
dynamic, self-adjusting array of bits
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
virtual bool Hit(const vtkContextMouseEvent &mouse)
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual bool MouseDoubleClickEvent(const vtkContextMouseEvent &mouse)
GLsizei const GLchar ** string
#define vtkSetVector2Macro(name, type)
#define VTKVIEWSINFOVIS_EXPORT
#define vtkSetMacro(name, type)