28 #include "vtkChartsCoreModule.h" 40 class vtkPlotBarPrivate;
64 void Update() VTK_OVERRIDE;
78 int legendIndex) VTK_OVERRIDE;
84 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
85 unsigned char a) VTK_OVERRIDE;
86 void SetColor(
double r,
double g,
double b) VTK_OVERRIDE;
87 void GetColor(
double rgb[3]) VTK_OVERRIDE;
94 void SetWidth(
float _arg) VTK_OVERRIDE
96 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): setting Width to " << _arg);
97 if (this->Width != _arg)
111 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): returning Width of " << this->Width );
124 vtkGetMacro(Offset,
float);
133 vtkGetMacro(Orientation,
int);
139 virtual void GetBounds(
double bounds[4],
bool unscaled);
144 void GetBounds(
double bounds[4]) VTK_OVERRIDE;
178 virtual void CreateDefaultLookupTable();
185 vtkGetMacro(ScalarVisibility,
bool);
195 void SelectColorArray(
vtkIdType arrayNum);
261 void GetDataBounds(
double bounds[2]);
270 bool UpdateTableCache(
vtkTable *table);
307 void operator=(
const vtkPlotBar &) VTK_DELETE_FUNCTION;
309 vtkPlotBarPrivate *Private;
313 #endif //vtkPlotBar_h Wrapper around std::string to keep symbols short.
vtkSmartPointer< vtkUnsignedCharArray > Colors
Lookup Table for coloring bars by scalar value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
record modification and/or execution time
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
a vtkAbstractArray subclass for strings
Superclass for mapping scalar values to colors.
Class for drawing 2D primitives to a graphical context.
const char * GetClassName() const
Return the class name as a string.
virtual bool SelectPoints(const vtkVector2f &min, const vtkVector2f &max)
Select all points in the specified rectangle.
bool ScalarVisibility
Lookup Table for coloring bars by scalar value.
a simple class to control print indentation
represent and manipulate 2D points
virtual vtkStringArray * GetLabels()
Get the plot labels.
virtual void Modified()
Update the modification time for this object.
Abstract class for 2D plots.
Class for drawing an XY plot given two columns from a vtkTable.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dynamic, self-adjusting array of unsigned char
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location)
Function to query a plot for the nearest point to the specified coordinate.
virtual void SetInputArray(int index, const vtkStdString &name)
Convenience function to set the input arrays.
A table, which contains similar-typed columns of data.
virtual void GetUnscaledInputBounds(double bounds[4])
Provide un-log-scaled bounds for the plot inputs.
vtkSmartPointer< vtkScalarsToColors > LookupTable
Lookup Table for coloring bars by scalar value.
vtkPoints2D * Points
Store a well packed set of XY coordinates for this data series.
float GetWidth() override
Get the width of the line.
vtkSmartPointer< vtkColorSeries > ColorSeries
The color series to use if this becomes a stacked bar.
vtkStdString ColorArrayName
Lookup Table for coloring bars by scalar value.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void Update()
Perform any updates to the item that may be necessary before rendering.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
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...