|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   30 #ifndef vtkPlotPoints_h 
   31 #define vtkPlotPoints_h 
   33 #include "vtkChartsCoreModule.h"  
   84   void GetBounds(
double bounds[4]) 
override;
 
  103   virtual void CreateDefaultLookupTable();
 
  120   void SelectColorArray(
vtkIdType arrayNum);
 
  136 #ifndef VTK_LEGACY_REMOVE
 
  139     vtkIdType* segmentId = 
nullptr) 
override;
 
  140 #endif // VTK_LEGACY_REMOVE 
  142 #ifndef VTK_LEGACY_REMOVE 
  144 #endif // VTK_LEGACY_REMOVE 
  174   vtkGetMacro(MarkerStyle, 
int);
 
  175   vtkSetMacro(MarkerStyle, 
int);
 
  183   vtkGetMacro(MarkerSize, 
float);
 
  184   vtkSetMacro(MarkerSize, 
float);
 
  207   bool UpdateTableCache(
vtkTable* table);
 
  212   void CalculateUnscaledInputBounds();
 
  218   void CalculateLogSeries();
 
  225   void FindBadPoints();
 
  230   void CalculateBounds(
double bounds[4]);
 
  235   void CreateSortedPoints();
 
  298   double UnscaledInputBounds[4];
 
  305 #endif // vtkPlotPoints_h 
  
represent and manipulate 2D points
vtkCharArray * ValidPointMask
Array which marks valid points in the array.
int MarkerStyle
The marker style that should be used.
dynamic, self-adjusting array of float
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.
record modification and/or execution time
dynamic, self-adjusting array of unsigned char
vtkPoints2D * Points
Store a well packed set of XY coordinates for this data series.
vtkIdTypeArray * BadPoints
An array containing the indices of all the "bad points", meaning any x, y pair that has an infinity,...
vtkTypeBool ScalarVisibility
Class for drawing 2D primitives to a graphical context.
abstract superclass for arrays of numeric data
Abstract class for 2D plots.
vtkScalarsToColors * LookupTable
Lookup Table for coloring points by scalar value.
dynamic, self-adjusting array of char
vtkNew< vtkFloatArray > SelectedPoints
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.
virtual bool SelectPoints(const vtkVector2f &min, const vtkVector2f &max)
Select all points in the specified rectangle.
topologically and geometrically regular array of data
a simple class to control print indentation
Superclass for mapping scalar values to colors.
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
Paint legend event for the plot, called whenever the legend needs the plot items symbol/mark/line dra...
Class for drawing an points given two columns from a vtkTable.
dynamic, self-adjusting array of vtkIdType
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
virtual void GetUnscaledInputBounds(double bounds[4])
Provide un-log-scaled bounds for the plot inputs.
vtkUnsignedCharArray * Colors
vtkStdString ValidPointMaskName
Name of the valid point mask array.
Wrapper around std::string to keep symbols short.
virtual bool SelectPointsInPolygon(const vtkContextPolygon &polygon)
Select all points in the specified polygon.
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.
vtkStdString ColorArrayName