|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   30 #include "vtkChartsCoreModule.h"  
   58   vtkSetMacro(LegendVisibility, 
bool);
 
   59   vtkGetMacro(LegendVisibility, 
bool);
 
   60   vtkBooleanMacro(LegendVisibility, 
bool);
 
   85   virtual void SetTooltipLabelFormat(
const vtkStdString& label);
 
   93   virtual void SetTooltipNotation(
int notation);
 
   94   virtual int GetTooltipNotation();
 
  101   virtual void SetTooltipPrecision(
int precision);
 
  102   virtual int GetTooltipPrecision();
 
  119 #ifndef VTK_LEGACY_REMOVE
 
  123 #endif // VTK_LEGACY_REMOVE 
  125 #ifndef VTK_LEGACY_REMOVE 
  133   VTK_LEGACY(
virtual vtkIdType GetNearestPoint(
 
  135 #endif // VTK_LEGACY_REMOVE 
  151   virtual void SetColor(
unsigned char r, 
unsigned char g, 
unsigned char b, 
unsigned char a);
 
  152   virtual void SetColor(
double r, 
double g, 
double b);
 
  153   virtual void GetColor(
double rgb[3]);
 
  154   void GetColor(
unsigned char rgb[3]);
 
  160   virtual void SetWidth(
float width);
 
  165   virtual float GetWidth();
 
  188   void SetSelectionPen(
vtkPen* pen);
 
  189   vtkPen* GetSelectionPen();
 
  197   void SetSelectionBrush(
vtkBrush* brush);
 
  226   virtual int GetNumberOfLabels();
 
  255   vtkGetMacro(UseIndexForXSeries, 
bool);
 
  263   vtkSetMacro(UseIndexForXSeries, 
bool);
 
  271   virtual void SetInputData(
vtkTable* table);
 
  272   virtual void SetInputData(
 
  296   vtkSetMacro(Selectable, 
bool);
 
  297   vtkGetMacro(Selectable, 
bool);
 
  298   vtkBooleanMacro(Selectable, 
bool);
 
  315   vtkGetObjectMacro(XAxis, 
vtkAxis);
 
  316   virtual void SetXAxis(
vtkAxis* axis);
 
  323   vtkGetObjectMacro(YAxis, 
vtkAxis);
 
  324   virtual void SetYAxis(
vtkAxis* axis);
 
  334   void SetShiftScale(
const vtkRectd& scaling);
 
  343   virtual void GetBounds(
double bounds[4]) { bounds[0] = bounds[1] = bounds[2] = bounds[3] = 0.0; }
 
  373     return this->GetBounds(bounds);
 
  398   static bool ClampPos(
double pos[2], 
double bounds[4]);
 
  399   virtual bool ClampPos(
double pos[2]);
 
  418   virtual void TransformScreenToData(
 
  419     const double inX, 
const double inY, 
double& outX, 
double& outY);
 
  420   virtual void TransformDataToScreen(
 
  421     const double inX, 
const double inY, 
double& outX, 
double& outY);
 
  515 #ifndef VTK_LEGACY_REMOVE 
  520   bool LegacyRecursionFlag = 
false;
 
  521 #endif // VTK_LEGACY_REMOVE 
  525   void operator=(
const vtkPlot&) = 
delete;
 
  
provides a brush that fills shapes drawn by vtkContext2D.
vtkSmartPointer< vtkStringArray > AutoLabels
Holds Labels when they're auto-created.
vtkStdString TooltipLabelFormat
A printf-style string to build custom tooltip labels from.
vtkSmartPointer< vtkStringArray > IndexedLabels
Holds Labels when they're auto-created.
vtkSmartPointer< vtkBrush > Brush
This object stores the vtkBrush that controls how the plot is drawn.
Abstract class for 2D context mappers.
A table, which contains similar-typed columns of data.
vtkSmartPointer< vtkContextMapper2D > Data
This data member contains the data that will be plotted, it inherits from vtkAlgorithm.
bool Selectable
Whether plot points can be selected or not.
Class for drawing 2D primitives to a graphical context.
Abstract class for 2D plots.
vtkSmartPointer< vtkStringArray > Labels
Plot labels, used by legend.
virtual void UpdateCache()
Subclasses that build data caches to speed up painting should override this method to update such cac...
bool UseIndexForXSeries
Use the Y array index for the X value.
a simple class to control print indentation
vtkSmartPointer< vtkBrush > SelectionBrush
This object stores the vtkBrush that controls how the selected elements of the plot are drawn.
vtkStdString TooltipDefaultLabelFormat
The default printf-style string to build custom tooltip labels from.
A atomic type representing the union of many types.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkPen > Pen
This object stores the vtkPen that controls how the plot is drawn.
vtkSmartPointer< vtkPen > SelectionPen
This object stores the vtkPen that controls how the selected elements of the plot are drawn.
vtkIdTypeArray * Selection
Selected indices for the table the plot is rendering.
vtkAxis * XAxis
The X axis associated with this plot.
base class for items that are part of a vtkContextScene.
dynamic, self-adjusting array of vtkIdType
virtual void GetUnscaledInputBounds(double bounds[4])
Provide un-log-scaled bounds for the plot inputs.
takes care of drawing 2D axes
a vtkAbstractArray subclass for strings
vtkRectd ShiftScale
The current shift in origin and scaling factor applied to the plot.
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
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).
vtkAxis * YAxis
The X axis associated with this plot.