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
vtkPolyDataMapper2D * ChartBorderMapper
vtkTypeBool ReverseYAxis
const char * GetLabelFormat()
Set/Get the format with which to print the labels .
draw symbols with text
vtkTypeBool ExchangeAxes
generate an x-y plot from input dataset(s) or field data
vtkLegendBoxActor * LegendActor
maintain an unordered list of dataset objects
copy oriented and scaled glyph geometry to every input point (2D specialization)
Definition: vtkGlyph2D.h:39
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
vtkXYPlotActorConnections * InputConnectionHolder
double ReferenceXValue
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkPolyData ** PlotData
vtkPolyDataMapper2D * ReferenceLinesMapper
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
void AddDataSetInputConnection(vtkAlgorithmOutput *in)
Add a dataset to the list of data to append.
vtkMTimeType GetMTime() override
Return this objects MTime.
vtkActor2D ** PlotActor
vtkTypeBool PlotLines
maintain an unordered list of data objects
a actor that draws 2D data
Definition: vtkActor2D.h:45
vtkAxisActor2D * GetXAxisActor2D()
Retrieve handles to the X and Y axis (so that you can set their text properties for example) ...
record modification and/or execution time
Definition: vtkTimeStamp.h:35
vtkTextProperty * AxisTitleTextProperty
#define VTK_XYPLOT_Y_AXIS_TOP
implicit function for convex set of planes
Definition: vtkPlanes.h:55
Create an axis with tick marks and labels.
vtkTypeBool PlotPoints
vtkTypeBool ChartBorder
vtkIntArray * PointsOn
void SetPlotRange(double xmin, double ymin, double xmax, double ymax)
Set the plot range (range of independent and dependent variables) to plot.
char ** SelectedInputScalars
#define VTK_XYPLOT_VALUE
vtkTypeBool ChartBox
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
#define VTK_XYPLOT_INDEX
vtkSmartPointer< vtkDoubleArray > ActiveCurve
vtkAxisActor2D * XAxis
vtkProperty2D * GetChartBoxProperty()
Get the box vtkProperty2D.
2D text annotation
Definition: vtkTextMapper.h:53
Proxy object to connect input/output ports.
vtkPolyData * ChartBorderPolyData
vtkTimeStamp BuildTime
dynamic, self-adjusting array of double
vtkTypeBool PlotCurveLines
#define VTK_XYPLOT_Y_AXIS_HCENTER
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeBool ShowReferenceYLine
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
vtkAxisActor2D * GetYAxisActor2D()
Retrieve handles to the X and Y axis (so that you can set their text properties for example) ...
An actor that displays text.
Definition: vtkTextActor.h:56
#define VTK_XYPLOT_ARC_LENGTH
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:45
vtkPolyDataMapper2D ** PlotMapper
vtkActor2D * ChartBoxActor
vtkIntArray * LinesOn
vtkXYPlotActorConnections * DataObjectInputConnectionHolder
vtkTypeBool AdjustTitlePosition
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
vtkAppendPolyData ** PlotAppend
vtkIntArray * XComponent
void SetPlotColor(int i, const double color[3])
appends one or more polygonal datasets together
vtkGlyphSource2D * GlyphSource
vtkActor2D * TitleActor
vtkTextMapper * TitleMapper
vtkTextProperty * AxisLabelTextProperty
vtkGlyph2D ** PlotGlyph
#define VTK_SIZEHINT(...)
vtkTypeBool Logx
represent text properties.
vtkAxisActor2D * YAxis
void AddDataSetInput(vtkDataSet *ds)
Add a dataset to the list of data to append.
void SetNumberOfLabels(int num)
Set/Get the number of annotation labels to show along the x and y axes.
vtkTypeBool PlotCurvePoints
void SetXValuesToArcLength()
Specify how the independent (x) variable is computed from the points.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
void SetXValuesToValue()
Specify how the independent (x) variable is computed from the points.
vtkTextProperty * TitleTextProperty
#define VTK_XYPLOT_ROW
vtkActor2D * ChartBorderActor
#define VTK_XYPLOT_NORMALIZED_ARC_LENGTH
void SetYTitlePositionToVCenter()
Set/Get the position of the title of Y axis.
#define VTK_XYPLOT_COLUMN
vtkTypeBool ShowReferenceXLine
void SetXValuesToNormalizedArcLength()
Specify how the independent (x) variable is computed from the points.
vtkIntArray * YComponent
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
void SetDataObjectPlotModeToRows()
Indicate whether to plot rows or columns.
vtkPlanes * ClipPlanes
vtkTextActor * YTitleActor
vtkTypeBool Legend
void SetYTitlePositionToHCenter()
Set/Get the position of the title of Y axis.
represent surface properties of a 2D image
Definition: vtkProperty2D.h:40
create 2D glyphs represented by vtkPolyData
vtkPolyDataMapper2D * ChartBoxMapper
void SetXValuesToIndex()
Specify how the independent (x) variable is computed from the points.
void RemoveDataSetInputConnection(vtkAlgorithmOutput *in)
Remove a dataset from the list of data to append.
vtkIntArray * SelectedInputScalarsComponent
vtkPolyData * ReferenceLinesPolyData
vtkActor2D * ReferenceLinesActor
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
general representation of visualization data
Definition: vtkDataObject.h:64
void RemoveDataSetInput(vtkDataSet *ds)
Remove a dataset from the list of data to append.
double ReferenceYValue
draw vtkPolyData onto the image plane
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyData * ChartBoxPolyData
vtkTypeBool ReverseXAxis
void SetDataObjectPlotModeToColumns()
Indicate whether to plot rows or columns.
#define VTK_XYPLOT_Y_AXIS_VCENTER
void SetYTitlePositionToTop()
Set/Get the position of the title of Y axis.