24 #ifndef vtkPlotHistogram2D_h
25 #define vtkPlotHistogram2D_h
27 #include "vtkChartsCoreModule.h"
83 void GetBounds(
double bounds[4])
override;
85 virtual void SetPosition(
const vtkRectf& pos);
143 #endif // vtkPlotHistogram2D_h
Wrapper around std::string to keep symbols short.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
void Update() override
Perform any updates to the item that may be necessary before rendering.
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
void SetInputData(vtkTable *) override
This is a convenience function to set the input table and the x, y column for the plot...
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location, vtkIdType *segmentId)
Function to query a plot for the nearest point to the specified coordinate.
Superclass for mapping scalar values to colors.
void SetInputData(vtkTable *, const vtkStdString &, const vtkStdString &) override
This is a convenience function to set the input table and the x, y column for the plot...
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual bool UpdateCache()
Update the internal cache.
vtkSmartPointer< vtkScalarsToColors > TransferFunction
Abstract class for 2D plots.
A table, which contains similar-typed columns of data.
virtual void SetInputData(vtkTable *table)
This is a convenience function to set the input table and the x, y column for the plot...
vtkSmartPointer< vtkImageData > Input
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkSmartPointer< vtkImageData > Output
virtual vtkStdString GetTooltipLabel(const vtkVector2d &plotPos, vtkIdType seriesIndex, vtkIdType segmentIndex)
Generate and return the tooltip label string for this plot The segmentIndex parameter is ignored...