16 #ifndef vtkPVPlotMatrixView_h 17 #define vtkPVPlotMatrixView_h 19 #include "vtkPVClientServerCoreRenderingModule.h" 22 class vtkScatterPlotMatrix;
24 #define GENERATE_PLOT_TYPE_DECLARATION(name, type) \ 25 void SetScatterPlot##name(type value); \ 26 void SetHistogram##name(type value); \ 27 void SetActivePlot##name(type value); 29 #define GENERATE_PLOT_TYPE_DECLARATION2(name, type1, type2) \ 30 void SetScatterPlot##name(type1 value1, type2 value2); \ 31 void SetHistogram##name(type1 value1, type2 value2); \ 32 void SetActivePlot##name(type1 value1, type2 value2); 34 #define GENERATE_PLOT_TYPE_DECLARATION3(name, type1, type2, type3) \ 35 void SetScatterPlot##name(type1 value1, type2 value2, type3 value3); \ 36 void SetHistogram##name(type1 value1, type2 value2, type3 value3); \ 37 void SetActivePlot##name(type1 value1, type2 value2, type3 value3); 39 #define GENERATE_PLOT_TYPE_DECLARATION4(name, type1, type2, type3, type4) \ 40 void SetScatterPlot##name(type1 value1, type2 value2, type3 value3, type4 value4); \ 41 void SetHistogram##name(type1 value1, type2 value2, type3 value3, type4 value4); \ 42 void SetActivePlot##name(type1 value1, type2 value2, type3 value3, type4 value4); 49 void PrintSelf(ostream& os, vtkIndent indent);
63 void SetActivePlot(
int i,
int j);
65 int GetActiveColumn();
69 void ClearAnimationPath();
73 void AddAnimationPath(
int i,
int j);
77 void StartAnimationPath();
81 void AdvanceAnimationPath();
88 void SetTitle(
const char* title);
89 const char* GetTitle();
96 void SetTitleFont(
const char* family,
int pointSize,
bool bold,
bool italic);
97 void SetTitleFontFamily(
const char* family);
98 void SetTitleFontSize(
int pointSize);
99 void SetTitleBold(
bool bold);
100 void SetTitleItalic(
bool italic);
101 const char* GetTitleFontFamily();
102 int GetTitleFontSize();
103 int GetTitleFontBold();
104 int GetTitleFontItalic();
111 void SetTitleColor(
double red,
double green,
double blue);
112 double* GetTitleColor();
119 void SetTitleAlignment(
int alignment);
120 int GetTitleAlignment();
125 void SetNumberOfAnimationFrames(
int value);
132 virtual void SetGutter(
float x,
float y);
133 void SetGutterX(
float value);
134 void SetGutterY(
float value);
141 virtual void SetBorders(
int left,
int bottom,
int right,
int top);
142 virtual void SetBorderLeft(
int value);
143 virtual void SetBorderBottom(
int value);
144 virtual void SetBorderRight(
int value);
145 virtual void SetBorderTop(
int value);
153 void SetGridVisibility(
int plotType,
bool visible);
155 int GetGridVisibility(
int plotType);
163 void SetBackgroundColor(
int plotType,
double red,
double green,
double blue,
double alpha);
164 double* GetBackgroundColor(
int plotType);
173 void SetAxisColor(
int plotType,
double red,
double green,
double blue);
174 double* GetAxisColor(
int plotType);
183 void SetGridColor(
int plotType,
double red,
double green,
double blue);
184 double* GetGridColor(
int plotType);
193 void SetAxisLabelVisibility(
int plotType,
bool visible);
194 int GetAxisLabelVisibility(
int plotType);
203 void SetAxisLabelFont(
int plotType,
const char* family,
int pointSize,
bool bold,
bool italic);
204 void SetAxisLabelFontFamily(
int plotType,
const char* family);
206 void SetAxisLabelFontSize(
int plotType,
int pointSize);
208 void SetAxisLabelBold(
int plotType,
bool bold);
210 void SetAxisLabelItalic(
int plotType,
bool italic);
212 const char* GetAxisLabelFontFamily(
int plotType);
213 int GetAxisLabelFontSize(
int plotType);
214 int GetAxisLabelFontBold(
int plotType);
215 int GetAxisLabelFontItalic(
int plotType);
223 void SetAxisLabelColor(
int plotType,
double red,
double green,
double blue);
225 double* GetAxisLabelColor(
int plotType);
233 void SetAxisLabelNotation(
int plotType,
int notation);
235 int GetAxisLabelNotation(
int plotType);
243 void SetAxisLabelPrecision(
int plotType,
int precision);
245 int GetAxisLabelPrecision(
int plotType);
253 void SetTooltipNotation(
int plotType,
int notation);
255 void SetTooltipPrecision(
int plotType,
int precision);
257 int GetTooltipNotation(
int plotType);
258 int GetTooltipPrecision(
int plotType);
265 void SetScatterPlotSelectedRowColumnColor(
double red,
double green,
double blue,
double alpha);
266 double* GetScatterPlotSelectedRowColumnColor();
273 void SetScatterPlotSelectedActiveColor(
double red,
double green,
double blue,
double alpha);
274 double* GetScatterPlotSelectedActiveColor();
278 void UpdateSettings();
287 void PlotMatrixSelectionCallback(vtkObject*,
unsigned long,
void*);
293 vtkScatterPlotMatrix* PlotMatrix;
#define GENERATE_PLOT_TYPE_DECLARATION(name, type)
virtual void SetSelection(vtkChartRepresentation *repr, vtkSelection *selection)=0
Representations can use this method to set the selection for a particular representation.
#define GENERATE_PLOT_TYPE_DECLARATION4(name, type1, type2, type3, type4)
void PrintSelf(ostream &os, vtkIndent indent)
vtkPVContextView adopts vtkContextView so that it can be used in ParaView configurations.
vtkChartRepresentation is the base representation for charting representations.
#define GENERATE_PLOT_TYPE_DECLARATION3(name, type1, type2, type3)
virtual vtkAbstractContextItem * GetContextItem()=0
Get the context item.