28 #ifndef vtkHeatmapItem_h 29 #define vtkHeatmapItem_h 113 virtual void GetBounds(
double bounds[4]);
162 virtual void RebuildBuffers();
170 virtual bool IsDirty();
173 void InitializeLookupTables();
183 void GenerateContinuousDataLookupTable();
187 void GenerateCategoricalDataLookupTable();
203 bool LineIsVisible(
double x0,
double y0,
double x1,
double y1);
207 void ComputeBounds();
229 unsigned long HeatmapBuildTime;
241 std::map< vtkIdType, std::pair< double, double > > ColumnRanges;
242 std::vector< vtkIdType > SceneRowToTableRowMap;
243 std::vector< vtkIdType > SceneColumnToTableColumnMap;
244 std::set<std::string> BlankRows;
250 double SceneBottomLeft[3];
251 double SceneTopRight[3];
253 float ColumnLabelWidth;
257 bool LegendPositionSet;
Wrapper around std::string to keep symbols short.
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
vtkStringArray * RowNames
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)