ParaView
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 "vtkPVClientServerCoreRenderingModule.h" //needed for exports
28 
29 class vtkChartParallelCoordinates;
30 
31 class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkPVParallelCoordinatesRepresentation
32  : public vtkChartRepresentation
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
42  virtual void SetVisibility(bool visible);
43 
45 
50  void SetSeriesVisibility(const char* series, bool visibility);
51  void ClearSeriesVisibilities();
53 
57  vtkChartParallelCoordinates* GetChart();
58 
60 
63  vtkSetMacro(LineThickness, int);
65 
67 
70  vtkSetMacro(LineStyle, int);
72 
74 
77  vtkSetVector3Macro(Color, double);
79 
81 
84  vtkSetMacro(Opacity, double);
86 
92  virtual bool Export(vtkCSVExporter* exporter);
93 
94 protected:
97 
102  virtual void PrepareForRendering();
103 
104  virtual bool AddToView(vtkView* view);
105 
111  virtual bool RemoveFromView(vtkView* view);
112 
115  double Color[3];
116  double Opacity;
117 
118 private:
120  const vtkPVParallelCoordinatesRepresentation&) VTK_DELETE_FUNCTION;
121  void operator=(const vtkPVParallelCoordinatesRepresentation&) VTK_DELETE_FUNCTION;
122 
123  class vtkInternals;
124  vtkInternals* Internals;
125 };
126 
127 #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...
virtual bool Export(vtkCSVExporter *vtkNotUsed(exporter))
Called by vtkPVContextView::Export() to export the representation's data to a CSV file...
virtual void SetVisibility(bool visible)
Set visibility of the representation.
virtual bool AddToView(vtkView *view)
Adds the representation to the view.
vtkChartRepresentation is the base representation for charting representations.
exporter used by certain views to export data as a CSV file.
vtkPVParallelCoordinatesRepresentation is the vtkChartParallelCoordinates subclass for parallel coord...
void PrintSelf(ostream &os, vtkIndent indent)
virtual bool RemoveFromView(vtkView *view)
Removes the representation to the view.