VTK
vtkXYPlotActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXYPlotActor.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
94 #ifndef vtkXYPlotActor_h
95 #define vtkXYPlotActor_h
96 
97 #define VTK_XYPLOT_INDEX 0
98 #define VTK_XYPLOT_ARC_LENGTH 1
99 #define VTK_XYPLOT_NORMALIZED_ARC_LENGTH 2
100 #define VTK_XYPLOT_VALUE 3
101 
102 #define VTK_XYPLOT_ROW 0
103 #define VTK_XYPLOT_COLUMN 1
104 
105 #define VTK_XYPLOT_Y_AXIS_TOP 0
106 #define VTK_XYPLOT_Y_AXIS_HCENTER 1
107 #define VTK_XYPLOT_Y_AXIS_VCENTER 2 // rotate by 90 degrees (y-axis aligned)
108 
109 #include "vtkRenderingAnnotationModule.h" // For export macro
110 #include "vtkActor2D.h"
111 #include "vtkSmartPointer.h" // For SP
112 
113 class vtkXYPlotActorConnections;
114 class vtkAlgorithmOutput;
115 class vtkAppendPolyData;
116 class vtkAxisActor2D;
117 class vtkDataObject;
119 class vtkDataSet;
121 class vtkDoubleArray;
122 class vtkGlyph2D;
123 class vtkGlyphSource2D;
124 class vtkIntArray;
125 class vtkLegendBoxActor;
126 class vtkPlanes;
127 class vtkPolyData;
128 class vtkPolyDataMapper2D;
129 class vtkTextActor;
130 class vtkTextMapper;
131 class vtkTextProperty;
132 
133 class VTKRENDERINGANNOTATION_EXPORT vtkXYPlotActor : public vtkActor2D
134 {
135 public:
136  vtkTypeMacro(vtkXYPlotActor,vtkActor2D);
137  void PrintSelf(ostream& os, vtkIndent indent) override;
138 
145  static vtkXYPlotActor *New();
146 
147  //---Data Set Input----------------------------------------------------------
148  // The following methods are used to plot input datasets. Datasets
149  // will be plotted if set as input; otherwise the input data objects
150  // will be plotted (if defined).
151 
153 
161  void AddDataSetInput(vtkDataSet *ds, const char* arrayName, int component);
162  void AddDataSetInput(vtkDataSet *ds) {this->AddDataSetInput(ds, nullptr, 0);}
163  void AddDataSetInputConnection(vtkAlgorithmOutput *in, const char* arrayName, int component);
166 
168 
171  void RemoveDataSetInput(vtkDataSet *ds, const char* arrayName, int component);
172  void RemoveDataSetInput(vtkDataSet *ds) {this->RemoveDataSetInput(ds, nullptr, 0);}
173  void RemoveDataSetInputConnection(vtkAlgorithmOutput *in, const char* arrayName, int component);
175  {
176  this->RemoveDataSetInputConnection(in, nullptr, 0);
177  }
179 
184  void RemoveAllDataSetInputConnections();
185 
187 
191  void SetPointComponent(int i, int comp);
192  int GetPointComponent(int i);
193  //---end Data Set Input-----------------------------------------------------
195 
197 
207  vtkSetClampMacro(XValues,int,VTK_XYPLOT_INDEX,VTK_XYPLOT_VALUE);
208  vtkGetMacro(XValues,int);
209  void SetXValuesToIndex(){this->SetXValues(VTK_XYPLOT_INDEX);};
210  void SetXValuesToArcLength() {this->SetXValues(VTK_XYPLOT_ARC_LENGTH);};
212  {this->SetXValues(VTK_XYPLOT_NORMALIZED_ARC_LENGTH);};
213  void SetXValuesToValue() {this->SetXValues(VTK_XYPLOT_VALUE);};
214  const char *GetXValuesAsString();
216 
217  //---Data Object Input------------------------------------------------------
218  // The following methods are used to plot input data objects. Datasets will
219  // be plotted in preference to data objects if set as input; otherwise the
220  // input data objects will be plotted (if defined).
221 
223 
226  void AddDataObjectInput(vtkDataObject *in);
227  void AddDataObjectInputConnection(vtkAlgorithmOutput *alg);
229 
231 
234  void RemoveDataObjectInputConnection(vtkAlgorithmOutput *aout);
235  void RemoveDataObjectInput(vtkDataObject *in);
237 
239 
244  vtkSetClampMacro(DataObjectPlotMode,int,VTK_XYPLOT_ROW,VTK_XYPLOT_COLUMN);
245  vtkGetMacro(DataObjectPlotMode,int);
247  {this->SetDataObjectPlotMode(VTK_XYPLOT_ROW);}
249  {this->SetDataObjectPlotMode(VTK_XYPLOT_COLUMN);}
250  const char *GetDataObjectPlotModeAsString();
252 
254 
262  void SetDataObjectXComponent(int i, int comp);
263  int GetDataObjectXComponent(int i);
265 
267 
275  void SetDataObjectYComponent(int i, int comp);
276  int GetDataObjectYComponent(int i);
277  //---end Data Object Input--------------------------------------------------
279 
280  //---Per Curve Properties---------------------------------------------------
281  // The following methods are used to set properties on each curve that is
282  // plotted. Each input dataset (or data object) results in one curve. The
283  // methods that follow have an index i that corresponds to the input dataset
284  // or data object.
285  void SetPlotColor(int i, double r, double g, double b);
286  void SetPlotColor(int i, const double color[3]) {
287  this->SetPlotColor(i, color[0], color[1], color[2]); };
288  double *GetPlotColor(int i) VTK_SIZEHINT(3);
289  void SetPlotSymbol(int i,vtkPolyData *input);
290  vtkPolyData *GetPlotSymbol(int i);
291  void SetPlotLabel(int i, const char *label);
292  const char *GetPlotLabel(int i);
293 
294  // Allow per-curve specification of line and point rendering. These override
295  // global settings PlotPoints and PlotLines. If not on, the default behavior
296  // is governed by PlotPoints and PlotLines ivars.
297  vtkGetMacro(PlotCurvePoints, vtkTypeBool);
298  vtkSetMacro(PlotCurvePoints, vtkTypeBool);
299  vtkBooleanMacro(PlotCurvePoints, vtkTypeBool);
300 
301  vtkGetMacro(PlotCurveLines, vtkTypeBool);
302  vtkSetMacro(PlotCurveLines, vtkTypeBool);
303  vtkBooleanMacro(PlotCurveLines, vtkTypeBool);
304 
305  void SetPlotLines(int i, int);
306  int GetPlotLines(int i);
307 
308  void SetPlotPoints(int i, int);
309  int GetPlotPoints(int i);
310  //---end Per Curve Properties-----------------------------------------------
311 
313 
317  vtkSetMacro(ExchangeAxes, vtkTypeBool);
318  vtkGetMacro(ExchangeAxes, vtkTypeBool);
319  vtkBooleanMacro(ExchangeAxes, vtkTypeBool);
321 
323 
328  vtkSetMacro(ReverseXAxis, vtkTypeBool);
329  vtkGetMacro(ReverseXAxis, vtkTypeBool);
330  vtkBooleanMacro(ReverseXAxis, vtkTypeBool);
332 
334 
339  vtkSetMacro(ReverseYAxis, vtkTypeBool);
340  vtkGetMacro(ReverseYAxis, vtkTypeBool);
341  vtkBooleanMacro(ReverseYAxis, vtkTypeBool);
343 
345 
351  vtkGetObjectMacro(LegendActor,vtkLegendBoxActor);
352  vtkGetObjectMacro(GlyphSource,vtkGlyphSource2D);
354 
356 
359  vtkSetStringMacro(Title);
360  vtkGetStringMacro(Title);
362 
364 
367  vtkSetStringMacro(XTitle);
368  vtkGetStringMacro(XTitle);
370 
372 
375  virtual void SetYTitle( const char* );
376  char* GetYTitle();
378 
380 
385  {
386  return this->XAxis;
387  }
389  {
390  return this->YAxis;
391  }
393 
395 
403  vtkSetVector2Macro(XRange,double);
404  vtkGetVectorMacro(XRange,double,2);
405  vtkSetVector2Macro(YRange,double);
406  vtkGetVectorMacro(YRange,double,2);
407  void SetPlotRange(double xmin, double ymin, double xmax, double ymax)
408  {this->SetXRange(xmin,xmax); this->SetYRange(ymin,ymax);}
410 
412 
418  vtkSetClampMacro(NumberOfXLabels, int, 0, 50);
419  vtkGetMacro(NumberOfXLabels, int);
420  vtkSetClampMacro(NumberOfYLabels, int, 0, 50);
421  vtkGetMacro(NumberOfYLabels, int);
422  void SetNumberOfLabels(int num)
423  {this->SetNumberOfXLabels(num); this->SetNumberOfYLabels(num);}
425 
427 
434  void SetAdjustXLabels(int adjust);
435  vtkGetMacro( AdjustXLabels, int );
436  void SetAdjustYLabels(int adjust);
437  vtkGetMacro( AdjustYLabels, int );
439 
441 
444  void SetNumberOfXMinorTicks(int num);
445  int GetNumberOfXMinorTicks();
446  void SetNumberOfYMinorTicks(int num);
447  int GetNumberOfYMinorTicks();
449 
451 
456  vtkSetMacro(Legend, vtkTypeBool);
457  vtkGetMacro(Legend, vtkTypeBool);
458  vtkBooleanMacro(Legend, vtkTypeBool);
460 
462 
466  vtkSetVector2Macro(TitlePosition,double);
467  vtkGetVector2Macro(TitlePosition,double);
469 
471 
475  vtkSetMacro(AdjustTitlePosition, vtkTypeBool);
476  vtkGetMacro(AdjustTitlePosition, vtkTypeBool);
477  vtkBooleanMacro(AdjustTitlePosition, vtkTypeBool);
479 
480 enum Alignment {
481  AlignLeft = 0x1,
482  AlignRight = 0x2,
483  AlignHCenter = 0x4,
484  AlignTop = 0x10,
485  AlignBottom = 0x20,
486  AlignVCenter = 0x40,
487  AlignAxisLeft = 0x100,
488  AlignAxisRight = 0x200,
489  AlignAxisHCenter = 0x400,
490  AlignAxisTop = 0x1000,
491  AlignAxisBottom = 0x2000,
492  AlignAxisVCenter = 0x4000
493 };
494 
496 
503  vtkSetMacro(AdjustTitlePositionMode, int);
504  vtkGetMacro(AdjustTitlePositionMode, int);
506 
508 
516  vtkSetVector2Macro(LegendPosition,double);
517  vtkGetVector2Macro(LegendPosition,double);
518  vtkSetVector2Macro(LegendPosition2,double);
519  vtkGetVector2Macro(LegendPosition2,double);
521 
523 
526  virtual void SetTitleTextProperty(vtkTextProperty *p);
527  vtkGetObjectMacro(TitleTextProperty,vtkTextProperty);
529 
531 
535  virtual void SetAxisTitleTextProperty(vtkTextProperty *p);
536  vtkGetObjectMacro(AxisTitleTextProperty,vtkTextProperty);
538 
540 
544  virtual void SetAxisLabelTextProperty(vtkTextProperty *p);
545  vtkGetObjectMacro(AxisLabelTextProperty,vtkTextProperty);
547 
549 
552  vtkSetMacro(Logx, vtkTypeBool);
553  vtkGetMacro(Logx, vtkTypeBool);
554  vtkBooleanMacro(Logx, vtkTypeBool);
556 
558 
562  virtual void SetLabelFormat ( const char* );
563  const char* GetLabelFormat()
564  {
565  return this->GetXLabelFormat();
566  }
568 
570 
573  virtual void SetXLabelFormat ( const char* );
574  vtkGetStringMacro(XLabelFormat);
576 
578 
581  virtual void SetYLabelFormat ( const char* );
582  vtkGetStringMacro(YLabelFormat);
584 
586 
590  vtkSetClampMacro(Border, int, 0, 50);
591  vtkGetMacro(Border, int);
593 
595 
600  vtkGetMacro(PlotPoints, vtkTypeBool);
601  vtkSetMacro(PlotPoints, vtkTypeBool);
602  vtkBooleanMacro(PlotPoints, vtkTypeBool);
604 
606 
610  vtkGetMacro(PlotLines, vtkTypeBool);
611  vtkSetMacro(PlotLines, vtkTypeBool);
612  vtkBooleanMacro(PlotLines, vtkTypeBool);
614 
616 
621  vtkSetClampMacro(GlyphSize, double, 0.0, 0.2);
622  vtkGetMacro(GlyphSize, double);
624 
629  void ViewportToPlotCoordinate(vtkViewport *viewport, double &u, double &v);
630 
632 
637  void ViewportToPlotCoordinate(vtkViewport *viewport);
638  vtkSetVector2Macro(PlotCoordinate,double);
639  vtkGetVector2Macro(PlotCoordinate,double);
641 
645  void PlotToViewportCoordinate(vtkViewport *viewport, double &u, double &v);
646 
648 
654  void PlotToViewportCoordinate(vtkViewport *viewport);
655  vtkSetVector2Macro(ViewportCoordinate,double);
656  vtkGetVector2Macro(ViewportCoordinate,double);
658 
663  int IsInPlot(vtkViewport *viewport, double u, double v);
664 
666 
670  vtkSetMacro(ChartBox, vtkTypeBool);
671  vtkGetMacro(ChartBox, vtkTypeBool);
672  vtkBooleanMacro(ChartBox, vtkTypeBool);
674 
676 
680  vtkSetMacro(ChartBorder, vtkTypeBool);
681  vtkGetMacro(ChartBorder, vtkTypeBool);
682  vtkBooleanMacro(ChartBorder, vtkTypeBool);
684 
688  vtkProperty2D* GetChartBoxProperty() { return this->ChartBoxActor->GetProperty(); };
689 
691 
694  vtkSetMacro(ShowReferenceXLine, vtkTypeBool);
695  vtkGetMacro(ShowReferenceXLine, vtkTypeBool);
696  vtkBooleanMacro(ShowReferenceXLine, vtkTypeBool);
698 
700 
703  vtkSetMacro(ReferenceXValue, double);
704  vtkGetMacro(ReferenceXValue, double);
706 
708 
711  vtkSetMacro(ShowReferenceYLine, vtkTypeBool);
712  vtkGetMacro(ShowReferenceYLine, vtkTypeBool);
713  vtkBooleanMacro(ShowReferenceYLine, vtkTypeBool);
715 
717 
720  vtkSetMacro(ReferenceYValue, double);
721  vtkGetMacro(ReferenceYValue, double);
723 
727  vtkMTimeType GetMTime() override;
728 
732  void PrintAsCSV(ostream &os);
733 
735 
740  int RenderOpaqueGeometry(vtkViewport*) override;
741  int RenderOverlay(vtkViewport*) override;
744 
749 
755  void ReleaseGraphicsResources(vtkWindow *) override;
756 
758 
761  void SetXTitlePosition(double position);
762  double GetXTitlePosition();
764 
766 
769  vtkSetMacro(YTitlePosition,int);
770  vtkGetMacro(YTitlePosition,int);
772  {
773  this->SetYTitlePosition( VTK_XYPLOT_Y_AXIS_TOP );
774  }
776  {
777  this->SetYTitlePosition( VTK_XYPLOT_Y_AXIS_HCENTER );
778  }
780  {
781  this->SetYTitlePosition( VTK_XYPLOT_Y_AXIS_VCENTER );
782  }
784 
786 
789  virtual void SetPlotGlyphType( int, int );
790  virtual void SetLineWidth( double );
791  virtual void AddUserCurvesPoint( double, double, double );
792  virtual void RemoveAllActiveCurves();
794 
796 
799  virtual void SetLegendBorder( int );
800  virtual void SetLegendBox( int );
801  virtual void SetLegendUseBackground( int );
802  virtual void SetLegendBackgroundColor( double, double, double );
804 
806 
809  virtual void SetTitleColor( double, double, double );
810  virtual void SetTitleFontFamily( int );
811  virtual void SetTitleBold( int );
812  virtual void SetTitleItalic( int );
813  virtual void SetTitleShadow( int );
814  virtual void SetTitleFontSize( int );
815  virtual void SetTitleJustification( int );
816  virtual void SetTitleVerticalJustification( int );
818 
820 
823  virtual void SetXAxisColor( double, double, double );
824  virtual void SetYAxisColor( double, double, double );
826 
828 
831  virtual void SetAxisTitleColor( double, double, double );
832  virtual void SetAxisTitleFontFamily( int );
833  virtual void SetAxisTitleBold( int );
834  virtual void SetAxisTitleItalic( int );
835  virtual void SetAxisTitleShadow( int );
836  virtual void SetAxisTitleFontSize( int );
837  virtual void SetAxisTitleJustification( int );
838  virtual void SetAxisTitleVerticalJustification( int );
840 
842 
845  virtual void SetAxisLabelColor( double, double, double );
846  virtual void SetAxisLabelFontFamily( int );
847  virtual void SetAxisLabelBold( int );
848  virtual void SetAxisLabelItalic( int );
849  virtual void SetAxisLabelShadow( int );
850  virtual void SetAxisLabelFontSize( int );
851  virtual void SetAxisLabelJustification( int );
852  virtual void SetAxisLabelVerticalJustification( int );
854 
855 protected:
856  vtkXYPlotActor();
857  ~vtkXYPlotActor() override;
858 
859  vtkXYPlotActorConnections* InputConnectionHolder;
860  char** SelectedInputScalars; // list of data set arrays to plot
862  vtkXYPlotActorConnections *DataObjectInputConnectionHolder; //list of data objects to plot
863  char* Title;
864  char* XTitle;
866  int XValues;
872  double XRange[2];
873  double YRange[2];
874  double XComputedRange[2]; //range actually used by plot
875  double YComputedRange[2]; //range actually used by plot
876  int Border;
887  double TitlePosition[2];
889 
893 
896 
899 
900  double ViewportCoordinate[2];
901  double PlotCoordinate[2];
902 
903  //Handle data objects and datasets
909 
910  //The data drawn within the axes. Each curve is one polydata.
911  //color is controlled by scalar data. The curves are appended
912  //together, possibly glyphed with point symbols.
919  void InitializeEntries();
920 
921  // Legends and plot symbols. The legend also keeps track of
922  // the symbols and such.
924  double LegendPosition[2];
925  double LegendPosition2[2];
929  double GlyphSize;
930 
931  // Background box
940 
941  // Reference lines
946 
950 
951  // Keep track of changes.
952  int CachedSize[2];
954 
955  void ComputeXRange(double range[2], double *lengths);
956  void ComputeYRange(double range[2]);
957  void ComputeDORange(double xrange[2], double yrange[2], double *lengths);
958 
959  virtual void CreatePlotData(int *pos, int *pos2, double xRange[2],
960  double yRange[2], double *norms,
961  int numDS, int numDO);
962  void PlaceAxes(vtkViewport *viewport, int *size, int pos[2], int pos2[2]);
963  void GenerateClipPlanes(int *pos, int *pos2);
964  double ComputeGlyphScale(int i, int *pos, int *pos2);
965  void ClipPlotData(int *pos, int *pos2, vtkPolyData *pd);
966  double *TransformPoint(int pos[2], int pos2[2], double x[3], double xNew[3]);
967 
969 
973 
974 private:
975  vtkXYPlotActor(const vtkXYPlotActor&) = delete;
976  void operator=(const vtkXYPlotActor&) = delete;
977 
978  bool DoesConnectionMatch(int i, vtkAlgorithmOutput* in);
979 
980  int IsInputPresent(vtkAlgorithmOutput* in,
981  const char* arrayName,
982  int component);
983 
987  int YTitleSize[2];
988 
992  int YTitlePosition;
993 
995 
998  int YTitleDelta;
999 };
1001 
1002 
1003 #endif
vtkXYPlotActor::PlotData
vtkPolyData ** PlotData
Definition: vtkXYPlotActor.h:914
vtkActor2D::RenderOpaqueGeometry
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
VTK_XYPLOT_VALUE
#define VTK_XYPLOT_VALUE
Definition: vtkXYPlotActor.h:100
vtkGlyphSource2D
create 2D glyphs represented by vtkPolyData
Definition: vtkGlyphSource2D.h:62
vtkXYPlotActor::XAxis
vtkAxisActor2D * XAxis
Definition: vtkXYPlotActor.h:894
vtkPolyDataMapper2D
draw vtkPolyData onto the image plane
Definition: vtkPolyDataMapper2D.h:51
vtkXYPlotActor::XTitle
char * XTitle
Definition: vtkXYPlotActor.h:864
vtkXYPlotActor::Legend
vtkTypeBool Legend
Definition: vtkXYPlotActor.h:923
vtkX3D::component
Definition: vtkX3D.h:175
vtkXYPlotActor::BuildTime
vtkTimeStamp BuildTime
Definition: vtkXYPlotActor.h:953
vtkXYPlotActor::GetYAxisActor2D
vtkAxisActor2D * GetYAxisActor2D()
Definition: vtkXYPlotActor.h:388
vtkXYPlotActor::AddDataSetInput
void AddDataSetInput(vtkDataSet *ds)
Definition: vtkXYPlotActor.h:162
vtkDataObjectCollection
maintain an unordered list of data objects
Definition: vtkDataObjectCollection.h:34
vtkXYPlotActor::ShowReferenceYLine
vtkTypeBool ShowReferenceYLine
Definition: vtkXYPlotActor.h:943
vtkLegendBoxActor
draw symbols with text
Definition: vtkLegendBoxActor.h:61
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:35
vtkXYPlotActor::PlotActor
vtkActor2D ** PlotActor
Definition: vtkXYPlotActor.h:918
vtkXYPlotActor::TitleMapper
vtkTextMapper * TitleMapper
Definition: vtkXYPlotActor.h:890
vtkXYPlotActor::XValues
int XValues
Definition: vtkXYPlotActor.h:866
vtkXYPlotActor::SetXValuesToArcLength
void SetXValuesToArcLength()
Definition: vtkXYPlotActor.h:210
vtkXYPlotActor::XLabelFormat
char * XLabelFormat
Definition: vtkXYPlotActor.h:870
vtkXYPlotActor::NumberOfXLabels
int NumberOfXLabels
Definition: vtkXYPlotActor.h:867
vtkXYPlotActor::Title
char * Title
Definition: vtkXYPlotActor.h:863
vtkActor2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGlyph2D
copy oriented and scaled glyph geometry to every input point (2D specialization)
Definition: vtkGlyph2D.h:39
vtkX3D::range
Definition: vtkX3D.h:238
vtkXYPlotActor::SetXValuesToValue
void SetXValuesToValue()
Definition: vtkXYPlotActor.h:213
vtkSmartPointer< vtkDoubleArray >
vtkXYPlotActor::GlyphSource
vtkGlyphSource2D * GlyphSource
Definition: vtkXYPlotActor.h:927
vtkXYPlotActor::ReferenceLinesPolyData
vtkPolyData * ReferenceLinesPolyData
Definition: vtkXYPlotActor.h:947
vtkXYPlotActor::ChartBorderActor
vtkActor2D * ChartBorderActor
Definition: vtkXYPlotActor.h:939
vtkXYPlotActor::SetYTitlePositionToVCenter
void SetYTitlePositionToVCenter()
Definition: vtkXYPlotActor.h:779
vtkXYPlotActor::XComponent
vtkIntArray * XComponent
Definition: vtkXYPlotActor.h:905
vtkXYPlotActor::SetYTitlePositionToTop
void SetYTitlePositionToTop()
Definition: vtkXYPlotActor.h:771
VTK_XYPLOT_Y_AXIS_TOP
#define VTK_XYPLOT_Y_AXIS_TOP
Definition: vtkXYPlotActor.h:105
vtkPlanes
implicit function for convex set of planes
Definition: vtkPlanes.h:55
VTK_XYPLOT_INDEX
#define VTK_XYPLOT_INDEX
Definition: vtkXYPlotActor.h:97
vtkActor2D::GetMTime
vtkMTimeType GetMTime() override
Return this objects MTime.
vtkXYPlotActor::TitleTextProperty
vtkTextProperty * TitleTextProperty
Definition: vtkXYPlotActor.h:892
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
vtkXYPlotActor::ShowReferenceXLine
vtkTypeBool ShowReferenceXLine
Definition: vtkXYPlotActor.h:942
vtkXYPlotActor::SetXValuesToNormalizedArcLength
void SetXValuesToNormalizedArcLength()
Definition: vtkXYPlotActor.h:211
vtkXYPlotActor::YAxis
vtkAxisActor2D * YAxis
Definition: vtkXYPlotActor.h:895
vtkXYPlotActor::RemoveDataSetInputConnection
void RemoveDataSetInputConnection(vtkAlgorithmOutput *in)
Definition: vtkXYPlotActor.h:174
vtkXYPlotActor::PlotAppend
vtkAppendPolyData ** PlotAppend
Definition: vtkXYPlotActor.h:916
vtkAppendPolyData
appends one or more polygonal datasets together
Definition: vtkAppendPolyData.h:48
vtkX3D::position
Definition: vtkX3D.h:261
vtkX3D::color
Definition: vtkX3D.h:221
vtkActor2D::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
vtkXYPlotActor::TitleActor
vtkActor2D * TitleActor
Definition: vtkXYPlotActor.h:891
vtkTextMapper
2D text annotation
Definition: vtkTextMapper.h:53
vtkXYPlotActor::ExchangeAxes
vtkTypeBool ExchangeAxes
Definition: vtkXYPlotActor.h:881
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition: vtkWrappingHints.h:42
vtkXYPlotActor::PlotGlyph
vtkGlyph2D ** PlotGlyph
Definition: vtkXYPlotActor.h:915
vtkXYPlotActor::ActiveCurveIndex
int ActiveCurveIndex
Definition: vtkXYPlotActor.h:971
vtkXYPlotActor::ChartBoxMapper
vtkPolyDataMapper2D * ChartBoxMapper
Definition: vtkXYPlotActor.h:934
vtkXYPlotActor::DataObjectInputConnectionHolder
vtkXYPlotActorConnections * DataObjectInputConnectionHolder
Definition: vtkXYPlotActor.h:862
vtkXYPlotActor::AdjustYLabels
int AdjustYLabels
Definition: vtkXYPlotActor.h:885
vtkXYPlotActor::GlyphSize
double GlyphSize
Definition: vtkXYPlotActor.h:929
vtkXYPlotActor::AdjustTitlePosition
vtkTypeBool AdjustTitlePosition
Definition: vtkXYPlotActor.h:886
vtkXYPlotActor::RenderTranslucentPolygonalGeometry
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Definition: vtkXYPlotActor.h:742
VTK_XYPLOT_ARC_LENGTH
#define VTK_XYPLOT_ARC_LENGTH
Definition: vtkXYPlotActor.h:98
vtkXYPlotActor::ChartBorder
vtkTypeBool ChartBorder
Definition: vtkXYPlotActor.h:936
vtkXYPlotActor::AxisTitleTextProperty
vtkTextProperty * AxisTitleTextProperty
Definition: vtkXYPlotActor.h:897
vtkActor2D::RenderOverlay
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
vtkXYPlotActor::ReferenceYValue
double ReferenceYValue
Definition: vtkXYPlotActor.h:945
vtkTextActor
An actor that displays text. Scaled or unscaled.
Definition: vtkTextActor.h:56
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:45
vtkSmartPointer.h
vtkXYPlotActor::ChartBoxPolyData
vtkPolyData * ChartBoxPolyData
Definition: vtkXYPlotActor.h:933
vtkXYPlotActor::SelectedInputScalars
char ** SelectedInputScalars
Definition: vtkXYPlotActor.h:860
vtkX3D::size
Definition: vtkX3D.h:253
vtkXYPlotActor::LinesOn
vtkIntArray * LinesOn
Definition: vtkXYPlotActor.h:907
vtkXYPlotActor::ReferenceLinesActor
vtkActor2D * ReferenceLinesActor
Definition: vtkXYPlotActor.h:949
vtkXYPlotActor::ReferenceXValue
double ReferenceXValue
Definition: vtkXYPlotActor.h:944
vtkXYPlotActor::PlotColorIndex
int PlotColorIndex
Definition: vtkXYPlotActor.h:972
vtkXYPlotActor::AddDataSetInputConnection
void AddDataSetInputConnection(vtkAlgorithmOutput *in)
Definition: vtkXYPlotActor.h:164
vtkXYPlotActor::PlotCurveLines
vtkTypeBool PlotCurveLines
Definition: vtkXYPlotActor.h:879
vtkXYPlotActor::NumberOfInputs
int NumberOfInputs
Definition: vtkXYPlotActor.h:913
vtkXYPlotActor::Logx
vtkTypeBool Logx
Definition: vtkXYPlotActor.h:869
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkXYPlotActor::PointsOn
vtkIntArray * PointsOn
Definition: vtkXYPlotActor.h:908
VTK_XYPLOT_Y_AXIS_HCENTER
#define VTK_XYPLOT_Y_AXIS_HCENTER
Definition: vtkXYPlotActor.h:106
vtkXYPlotActor::GetChartBoxProperty
vtkProperty2D * GetChartBoxProperty()
Get the box vtkProperty2D.
Definition: vtkXYPlotActor.h:688
vtkXYPlotActor::YLabelFormat
char * YLabelFormat
Definition: vtkXYPlotActor.h:871
VTK_XYPLOT_ROW
#define VTK_XYPLOT_ROW
Definition: vtkXYPlotActor.h:102
vtkXYPlotActor::ChartBorderPolyData
vtkPolyData * ChartBorderPolyData
Definition: vtkXYPlotActor.h:937
vtkXYPlotActor::LegendActor
vtkLegendBoxActor * LegendActor
Definition: vtkXYPlotActor.h:926
vtkXYPlotActor::ReverseXAxis
vtkTypeBool ReverseXAxis
Definition: vtkXYPlotActor.h:882
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkTextProperty
represent text properties.
Definition: vtkTextProperty.h:39
vtkXYPlotActor
generate an x-y plot from input dataset(s) or field data
Definition: vtkXYPlotActor.h:133
vtkXYPlotActor::ChartBoxActor
vtkActor2D * ChartBoxActor
Definition: vtkXYPlotActor.h:935
vtkXYPlotActor::SetXValuesToIndex
void SetXValuesToIndex()
Definition: vtkXYPlotActor.h:209
vtkProperty2D
represent surface properties of a 2D image
Definition: vtkProperty2D.h:40
vtkXYPlotActor::ReferenceLinesMapper
vtkPolyDataMapper2D * ReferenceLinesMapper
Definition: vtkXYPlotActor.h:948
vtkActor2D
a actor that draws 2D data
Definition: vtkActor2D.h:45
vtkActor2D.h
vtkXYPlotActor::SetDataObjectPlotModeToColumns
void SetDataObjectPlotModeToColumns()
Definition: vtkXYPlotActor.h:248
vtkActor2D::New
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
vtkXYPlotActor::DataObjectPlotMode
int DataObjectPlotMode
Definition: vtkXYPlotActor.h:904
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkXYPlotActor::GetLabelFormat
const char * GetLabelFormat()
Definition: vtkXYPlotActor.h:563
VTK_XYPLOT_COLUMN
#define VTK_XYPLOT_COLUMN
Definition: vtkXYPlotActor.h:103
VTK_XYPLOT_Y_AXIS_VCENTER
#define VTK_XYPLOT_Y_AXIS_VCENTER
Definition: vtkXYPlotActor.h:107
vtkXYPlotActor::RemoveDataSetInput
void RemoveDataSetInput(vtkDataSet *ds)
Definition: vtkXYPlotActor.h:172
vtkXYPlotActor::YTitleActor
vtkTextActor * YTitleActor
Definition: vtkXYPlotActor.h:865
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
vtkAxisActor2D
Create an axis with tick marks and labels.
Definition: vtkAxisActor2D.h:72
vtkXYPlotActor::GetXAxisActor2D
vtkAxisActor2D * GetXAxisActor2D()
Retrieve handles to the X and Y axis (so that you can set their text properties for example)
Definition: vtkXYPlotActor.h:384
vtkDataSetCollection
maintain an unordered list of dataset objects
Definition: vtkDataSetCollection.h:31
vtkXYPlotActor::YAxisTitleSize
int YAxisTitleSize
Definition: vtkXYPlotActor.h:970
vtkXYPlotActor::SetPlotColor
void SetPlotColor(int i, const double color[3])
Definition: vtkXYPlotActor.h:286
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:41
vtkXYPlotActor::InputConnectionHolder
vtkXYPlotActorConnections * InputConnectionHolder
Definition: vtkXYPlotActor.h:859
vtkXYPlotActor::AxisLabelTextProperty
vtkTextProperty * AxisLabelTextProperty
Definition: vtkXYPlotActor.h:898
vtkXYPlotActor::PlotPoints
vtkTypeBool PlotPoints
Definition: vtkXYPlotActor.h:878
vtkXYPlotActor::PlotMapper
vtkPolyDataMapper2D ** PlotMapper
Definition: vtkXYPlotActor.h:917
vtkXYPlotActor::AdjustXLabels
int AdjustXLabels
Definition: vtkXYPlotActor.h:884
vtkXYPlotActor::NumberOfYLabels
int NumberOfYLabels
Definition: vtkXYPlotActor.h:868
vtkXYPlotActor::ChartBox
vtkTypeBool ChartBox
Definition: vtkXYPlotActor.h:932
vtkXYPlotActor::Border
int Border
Definition: vtkXYPlotActor.h:876
vtkXYPlotActor::AdjustTitlePositionMode
int AdjustTitlePositionMode
Definition: vtkXYPlotActor.h:888
vtkXYPlotActor::PlotLines
vtkTypeBool PlotLines
Definition: vtkXYPlotActor.h:877
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:64
vtkActor2D::HasTranslucentPolygonalGeometry
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
vtkXYPlotActor::ActiveCurve
vtkSmartPointer< vtkDoubleArray > ActiveCurve
Definition: vtkXYPlotActor.h:968
vtkXYPlotActor::SetNumberOfLabels
void SetNumberOfLabels(int num)
Definition: vtkXYPlotActor.h:422
vtkXYPlotActor::YComponent
vtkIntArray * YComponent
Definition: vtkXYPlotActor.h:906
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkXYPlotActor::SetYTitlePositionToHCenter
void SetYTitlePositionToHCenter()
Definition: vtkXYPlotActor.h:775
VTK_XYPLOT_NORMALIZED_ARC_LENGTH
#define VTK_XYPLOT_NORMALIZED_ARC_LENGTH
Definition: vtkXYPlotActor.h:99
vtkXYPlotActor::Alignment
Alignment
Definition: vtkXYPlotActor.h:480
vtkXYPlotActor::SetDataObjectPlotModeToRows
void SetDataObjectPlotModeToRows()
Definition: vtkXYPlotActor.h:246
vtkXYPlotActor::ClipPlanes
vtkPlanes * ClipPlanes
Definition: vtkXYPlotActor.h:928
vtkXYPlotActor::SetPlotRange
void SetPlotRange(double xmin, double ymin, double xmax, double ymax)
Definition: vtkXYPlotActor.h:407
vtkXYPlotActor::PlotCurvePoints
vtkTypeBool PlotCurvePoints
Definition: vtkXYPlotActor.h:880
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
vtkXYPlotActor::SelectedInputScalarsComponent
vtkIntArray * SelectedInputScalarsComponent
Definition: vtkXYPlotActor.h:861
vtkXYPlotActor::ChartBorderMapper
vtkPolyDataMapper2D * ChartBorderMapper
Definition: vtkXYPlotActor.h:938
vtkXYPlotActor::ReverseYAxis
vtkTypeBool ReverseYAxis
Definition: vtkXYPlotActor.h:883