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;
83 
84 protected:
87 
92  void PrepareForRendering() override;
93 
94  bool AddToView(vtkView* view) override;
95 
101  bool RemoveFromView(vtkView* view) override;
102 
105  double Color[3];
106  double Opacity;
107 
108 private:
110  void operator=(const vtkPVParallelCoordinatesRepresentation&) = delete;
111 
112  class vtkInternals;
113  vtkInternals* Internals;
114 };
115 
116 #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.