Go to the documentation of this file.
28 #ifndef vtkHeatmapItem_h
29 #define vtkHeatmapItem_h
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;
data structure to represent mouse events.
std::string GetTooltipText(float x, float y)
#define vtkSetVector2Macro(name, type)
void PositionLegends(int orientation)
#define vtkGetVector2Macro(name, type)
void GenerateContinuousDataLookupTable()
void MarkRowAsBlank(std::string rowName)
vtkStringArray * GetRowNames()
A table, which contains similar-typed columns of data.
vtkVector2f PositionVector
#define VTKVIEWSINFOVIS_EXPORT
static vtkHeatmapItem * New()
virtual void SetTable(vtkTable *table)
#define vtkTypeMacro(thisClass, superclass)
void GenerateCategoricalDataLookupTable()
GLint GLint GLint GLint GLint x
An array holding vtkVariants.
GLenum GLsizei GLenum GLenum const GLvoid * table
Class for drawing 2D primitives to a graphical context.
void ComputeLabelWidth(vtkContext2D *painter)
virtual void GetBounds(double bounds[4])
void UpdateVisibleSceneExtent(vtkContext2D *painter)
void SetOrientation(int orientation)
vtkStringArray * RowNames
virtual void PrintSelf(ostream &os, vtkIndent indent)
GLenum GLenum GLvoid GLvoid * column
a simple class to control print indentation
virtual void PaintBuffers(vtkContext2D *painter)
virtual bool MouseMoveEvent(const vtkContextMouseEvent &event)
void InitializeLookupTables()
#define vtkGetMacro(name, type)
virtual bool Hit(const vtkContextMouseEvent &mouse)
double GetTextAngleForOrientation(int orientation)
virtual bool Paint(vtkContext2D *painter)
base class for items that are part of a vtkContextScene.
vtkSetMacro(IgnoreDriverBugs, bool)
map scalar values into colors via a lookup table
Legend item to display vtkScalarsToColors.
GLint GLint GLint GLint GLint GLint y
virtual bool MouseDoubleClickEvent(const vtkContextMouseEvent &event)
vtkVector2f GetPositionVector()
void AccumulateProminentCategoricalDataValues(vtkIdType column)
a vtkAbstractArray subclass for strings
Legend item to display categorical data.
vtkSmartPointer< vtkTable > Table
dynamic, self-adjusting array of bits
A 2D graphics item for rendering a heatmap.
void SetPosition(const vtkVector2f &pos)
Wrapper around std::string to keep symbols short.
virtual void RebuildBuffers()
void PositionColorLegend(int orientation)
bool LineIsVisible(double x0, double y0, double x1, double y1)
GLsizei const GLchar ** string