vtkPVParallelCoordinatesRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVParallelCoordinatesRepresentation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
23 #ifndef vtkPVParallelCoordinatesRepresentation_h
24 #define vtkPVParallelCoordinatesRepresentation_h
25 
26 #include "vtkChartRepresentation.h"
27 #include "vtkRemotingViewsModule.h" //needed for exports
28 
30 
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
41  void SetVisibility(bool visible) override;
42 
44 
49  void SetSeriesVisibility(const char* series, bool visibility);
50  void ClearSeriesVisibilities();
52 
56  vtkChartParallelCoordinates* GetChart();
57 
59 
62  vtkSetMacro(LineThickness, int);
64 
66 
69  vtkSetMacro(LineStyle, int);
71 
73 
76  vtkSetVector3Macro(Color, double);
78 
80 
83  vtkSetMacro(Opacity, double);
85 
91  bool Export(vtkCSVExporter* exporter) override;
92 
93 protected:
96 
101  void PrepareForRendering() override;
102 
103  bool AddToView(vtkView* view) override;
104 
110  bool RemoveFromView(vtkView* view) override;
111 
114  double Color[3];
115  double Opacity;
116 
117 private:
119  void operator=(const vtkPVParallelCoordinatesRepresentation&) = delete;
120 
121  class vtkInternals;
122  vtkInternals* Internals;
123 };
124 
125 #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
virtual bool Export(vtkCSVExporter *vtkNotUsed(exporter))
Called by vtkPVContextView::Export() to export the representation's data to a CSV file...
void SetVisibility(bool visible) override
Set visibility of the representation.
Color
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...
bool AddToView(vtkView *view) override
Adds the representation to the view.
void PrintSelf(ostream &os, vtkIndent indent) override
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.