 |
VTK
9.0.1
|
Go to the documentation of this file.
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);
119 #ifndef VTK_LEGACY_REMOVE
122 vtkIdType* segmentId =
nullptr)
override;
123 #endif // VTK_LEGACY_REMOVE
125 #ifndef VTK_LEGACY_REMOVE
127 #endif // VTK_LEGACY_REMOVE
136 void GenerateHistogram();
148 #endif // vtkPlotHistogram2D_h
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,...
vtkSmartPointer< vtkImageData > Input
vtkSmartPointer< vtkScalarsToColors > TransferFunction
A table, which contains similar-typed columns of data.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
void SetInputData(vtkTable *, const vtkStdString &, const vtkStdString &) override
virtual void SetInputData(vtkTable *table)
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.
Abstract class for 2D plots.
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.
topologically and geometrically regular array of data
a simple class to control print indentation
Superclass for mapping scalar values to colors.
void SetInputData(vtkTable *) override
This is a convenience function to set the input table and the x, y column for the plot.
vtkSmartPointer< vtkImageData > Output
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
Wrapper around std::string to keep symbols short.
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Update()
Perform any updates to the item that may be necessary before rendering.