12 #ifndef vtkPlotHistogram2D_h
13 #define vtkPlotHistogram2D_h
15 #include "vtkChartsCoreModule.h"
22 VTK_ABI_NAMESPACE_BEGIN
75 void GetBounds(
double bounds[4])
override;
77 virtual void SetPosition(
const vtkRectf& pos);
151 static inline bool CanComputeMagnitude(
int nbComponents);
165 void* GetInputArrayPointer(
int& nbComponents);
172 double GetInputArrayValue(
int x,
int y,
int z);
178 VTK_ABI_NAMESPACE_END
179 #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.
takes care of drawing 2D axes
a simple class to control print indentation
topologically and geometrically regular array of data
abstract superclass for arrays of numeric 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...