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 "vtkRemotingViewsModule.h" //needed for exports
16 
18 
20 {
21 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
29  void SetVisibility(bool visible) override;
30 
32 
37  void SetSeriesVisibility(const char* series, bool visibility);
38  void ClearSeriesVisibilities();
40 
44  vtkChartParallelCoordinates* GetChart();
45 
47 
50  vtkSetMacro(LineThickness, int);
52 
54 
57  vtkSetMacro(LineStyle, int);
59 
61 
64  vtkSetVector3Macro(Color, double);
66 
68 
71  vtkSetMacro(Opacity, double);
73 
79  bool Export(vtkAbstractChartExporter* exporter) override;
80 
81 protected:
84 
89  void PrepareForRendering() override;
90 
91  bool AddToView(vtkView* view) override;
92 
98  bool RemoveFromView(vtkView* view) override;
99 
102  double Color[3];
103  double Opacity;
104 
105 private:
107  void operator=(const vtkPVParallelCoordinatesRepresentation&) = delete;
108 
109  class vtkInternals;
110  vtkInternals* Internals;
111 };
112 
113 #endif
static vtkChartRepresentation * New()
virtual void PrepareForRendering()
This method is called before actual render if this->MTime was modified since the last time this metho...
#define VTKREMOTINGVIEWS_EXPORT
void SetVisibility(bool visible) override
Set visibility of the representation.
Color
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.
vtkPVParallelCoordinatesRepresentation is the vtkChartParallelCoordinates subclass for parallel coord...
bool AddToView(vtkView *view) override
Adds the representation to the view.
void PrintSelf(ostream &os, vtkIndent indent) override
exporter used by certain views to export data into a file or stream.
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.