42 #ifndef SVK_PLOT_LINE_H
43 #define SVK_PLOT_LINE_H
45 #include <vtkObjectFactory.h>
46 #include <vtkPoints.h>
47 #include <vtkDataArray.h>
48 #include <vtkPolyLine.h>
54 using namespace vtkstd;
91 void SetData( vtkDataArray* plotData );
93 void SetPointRange(
int startPt,
int endPt );
94 void SetValueRange(
double minValue,
double maxValue );
96 void SetComponent( PlotComponent component );
97 float* GetDataPoints();
98 void SetDataPoints(
float* polyLinePoints);
100 void SetOrigin(
double* origin );
101 double* GetSpacing();
102 void SetSpacing(
double* spacing );
103 void GetDcos(
double dcos[3][3] );
104 void SetInvertPlots(
bool invertPlots );
105 void SetMirrorPlots(
bool mirrorPlots );
106 void SetPlotDirection(
int amplitudeDirection,
int plotDirection );
109 void SetDcos(vector< vector<double> >* dcos);
112 void SetGeneratePolyData(
bool generatePolyData );
113 bool GetGeneratePolyData( );
116 void GeneratePolyDataTemplated( T* castDataPtr );
126 double plotAreaBounds[6];
166 void GeneratePolyData();
188 vector< vector<double> >*
dcos;
190 void RecalculateScale();
191 void RecalculatePlotAreaBounds();
199 #endif //SVK_PLOT_LINE_H
vector< vector< double > > * dcos
The dcos of the dataset.
Definition: svkPlotLine.h:188
Definition: svkPlotLine.h:79
int numComponents
The number of components.
Definition: svkPlotLine.h:138
int startPt
The index of the first point in the plotData to be plotted.
Definition: svkPlotLine.h:129
vtkDataArray * plotData
The data to be plotted.
Definition: svkPlotLine.h:149
int dataType
Definition: svkPlotLine.h:153
double minValue
The minimum value to be plotted.
Definition: svkPlotLine.h:143
Definition: svkPlotLine.h:78
Definition: svkPlotLine.h:62
Definition: svkPlotLineGrid.h:84
void * dataPtr
Definition: svkPlotLine.h:151
Definition: svkPlotLine.h:70
float * polyLinePoints
The points that make up the line.
Definition: svkPlotLine.h:156
Definition: svkPlotLine.h:76
Definition: svkPlotLine.h:77
int endPt
The index of the last point in the plotData to be plotted.
Definition: svkPlotLine.h:132
int pointIndex
Which index should map to frequency/points.
Definition: svkPlotLine.h:173
bool invertPlots
Should the plots be inverted?
Definition: svkPlotLine.h:159
PlotComponent
Definition: svkPlotLine.h:68
PlotDirection
Definition: svkPlotLine.h:74
int numPoints
The number of points in the plotData.
Definition: svkPlotLine.h:135
bool mirrorPlots
Should the plots be flipped Left-Right?
Definition: svkPlotLine.h:162
int componentOffset
Definition: svkPlotLine.h:140
PlotDirection plotDirection
Definition: svkPlotLine.h:164
int amplitudeIndex
Which index should map to amplitude.
Definition: svkPlotLine.h:170
double maxValue
The maximum value to be plotted.
Definition: svkPlotLine.h:146
PlotComponent plotComponent
Which component should we plot?
Definition: svkPlotLine.h:179
bool generatePolyData
when modified should this object regenerate the poly data.
Definition: svkPlotLine.h:123