vtkPVParallelCoordinatesRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkPVParallelCoordinatesRepresentation_h
12 #define vtkPVParallelCoordinatesRepresentation_h
13 
14 #include "vtkChartRepresentation.h"
15 #include "vtkParaViewDeprecation.h" // for deprecation
16 #include "vtkRemotingViewsModule.h" //needed for exports
17 
19 
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
30  void SetVisibility(bool visible) override;
31 
33 
38  void SetSeriesVisibility(const char* series, bool visibility);
39  void ClearSeriesVisibilities();
41 
45  vtkChartParallelCoordinates* GetChart();
46 
48 
51  vtkSetMacro(LineThickness, int);
53 
55 
58  vtkSetMacro(LineStyle, int);
60 
62 
65  vtkSetVector3Macro(Color, double);
67 
69 
72  vtkSetMacro(Opacity, double);
74 
76 
81  bool Export(vtkAbstractChartExporter* exporter) override;
82 
83  PARAVIEW_DEPRECATED_IN_5_12_0("Use Export(vtkAbstractChartExporter* exporter) instead")
84  bool Export(vtkCSVExporter* exporter) override;
86 
87 protected:
89  ~vtkPVParallelCoordinatesRepresentation() override;
90 
95  void PrepareForRendering() override;
96 
97  bool AddToView(vtkView* view) override;
98 
104  bool RemoveFromView(vtkView* view) override;
105 
106  int LineThickness;
107  int LineStyle;
108  double Color[3];
109  double Opacity;
110 
111 private:
112  vtkPVParallelCoordinatesRepresentation(const vtkPVParallelCoordinatesRepresentation&) = delete;
113  void operator=(const vtkPVParallelCoordinatesRepresentation&) = delete;
114 
115  class vtkInternals;
116  vtkInternals* Internals;
117 };
118 
119 #endif
#define PARAVIEW_DEPRECATED_IN_5_12_0(reason)
static vtkChartRepresentation * New()
#define VTKREMOTINGVIEWS_EXPORT
void SetVisibility(bool visible) override
Set visibility of the representation.
virtual bool Export(vtkAbstractChartExporter *vtkNotUsed(exporter))
Called by vtkPVContextView::Export() to export the representation's data to a CSV file...
vtkChartRepresentation is the base representation for charting representations.
exporter used by certain views to export data as CSV.
vtkPVParallelCoordinatesRepresentation is the vtkChartParallelCoordinates subclass for parallel coord...
void PrintSelf(ostream &os, vtkIndent indent) override
#define const
Definition: zconf.h:238
exporter used by certain views to export data into a file or stream.