16 #ifndef vtkPVPlotMatrixView_h 17 #define vtkPVPlotMatrixView_h 25 #define GENERATE_PLOT_TYPE_DECLARATION(name, type) \ 26 void SetScatterPlot##name(type value); \ 27 void SetHistogram##name(type value); \ 28 void SetActivePlot##name(type value); 30 #define GENERATE_PLOT_TYPE_DECLARATION2(name, type1, type2) \ 31 void SetScatterPlot##name(type1 value1, type2 value2); \ 32 void SetHistogram##name(type1 value1, type2 value2); \ 33 void SetActivePlot##name(type1 value1, type2 value2); 35 #define GENERATE_PLOT_TYPE_DECLARATION3(name, type1, type2, type3) \ 36 void SetScatterPlot##name(type1 value1, type2 value2, type3 value3); \ 37 void SetHistogram##name(type1 value1, type2 value2, type3 value3); \ 38 void SetActivePlot##name(type1 value1, type2 value2, type3 value3); 40 #define GENERATE_PLOT_TYPE_DECLARATION4(name, type1, type2, type3, type4) \ 41 void SetScatterPlot##name(type1 value1, type2 value2, type3 value3, type4 value4); \ 42 void SetHistogram##name(type1 value1, type2 value2, type3 value3, type4 value4); \ 43 void SetActivePlot##name(type1 value1, type2 value2, type3 value3, type4 value4); 67 void SetActivePlot(
int i,
int j);
69 int GetActiveColumn();
75 void ClearAnimationPath();
80 void AddAnimationPath(
int i,
int j);
85 void StartAnimationPath();
90 void AdvanceAnimationPath();
99 void SetTitleFont(
const char* family,
int pointSize,
bool bold,
bool italic)
override;
118 void SetTitleColor(
double red,
double green,
double blue)
override;
136 void SetNumberOfAnimationFrames(
int value);
145 virtual void SetGutter(
float x,
float y);
146 void SetGutterX(
float value);
147 void SetGutterY(
float value);
157 virtual void SetBorders(
int left,
int bottom,
int right,
int top);
158 virtual void SetBorderLeft(
int value);
159 virtual void SetBorderBottom(
int value);
160 virtual void SetBorderRight(
int value);
161 virtual void SetBorderTop(
int value);
172 void SetGridVisibility(
int plotType,
bool visible);
174 int GetGridVisibility(
int plotType);
186 void SetBackgroundColor(
int plotType,
double red,
double green,
double blue,
double alpha);
187 bool GetBackgroundColor(
int plotType,
double color[3]);
200 void SetAxisColor(
int plotType,
double red,
double green,
double blue);
201 bool GetAxisColor(
int plotType,
double color[3]);
214 void SetGridColor(
int plotType,
double red,
double green,
double blue);
215 bool GetGridColor(
int plotType,
double color[3]);
227 void SetAxisLabelVisibility(
int plotType,
bool visible);
228 int GetAxisLabelVisibility(
int plotType);
240 void SetAxisLabelFont(
int plotType,
const char* family,
int pointSize,
bool bold,
bool italic);
241 void SetAxisLabelFontFamily(
int plotType,
const char* family);
243 void SetAxisLabelFontFile(
int plotType,
const char* file);
245 void SetAxisLabelFontSize(
int plotType,
int pointSize);
247 void SetAxisLabelBold(
int plotType,
bool bold);
249 void SetAxisLabelItalic(
int plotType,
bool italic);
251 const char* GetAxisLabelFontFamily(
int plotType);
252 int GetAxisLabelFontSize(
int plotType);
253 int GetAxisLabelFontBold(
int plotType);
254 int GetAxisLabelFontItalic(
int plotType);
266 void SetAxisLabelColor(
int plotType,
double red,
double green,
double blue);
268 bool GetAxisLabelColor(
int plotType,
double color[3]);
279 void SetAxisLabelNotation(
int plotType,
int notation);
281 int GetAxisLabelNotation(
int plotType);
292 void SetAxisLabelPrecision(
int plotType,
int precision);
294 int GetAxisLabelPrecision(
int plotType);
305 void SetTooltipNotation(
int plotType,
int notation);
307 void SetTooltipPrecision(
int plotType,
int precision);
309 int GetTooltipNotation(
int plotType);
310 int GetTooltipPrecision(
int plotType);
321 void SetScatterPlotSelectedRowColumnColor(
double red,
double green,
double blue,
double alpha);
322 bool GetScatterPlotSelectedRowColumnColor(
double color[3]);
333 void SetScatterPlotSelectedActiveColor(
double red,
double green,
double blue,
double alpha);
334 bool GetScatterPlotSelectedActiveColor(
double color[3]);
340 void UpdateSettings();
348 double* GetBackgroundColor(
int plotType);
350 double* GetGridColor(
int plotType);
352 double* GetAxisColor(
int plotType);
355 double* GetAxisLabelColor(
int plotType);
358 double* GetScatterPlotSelectedRowColumnColor();
361 double* GetScatterPlotSelectedActiveColor();
366 ~vtkPVPlotMatrixView() override;
371 void Render(
bool interactive) override;
377 void PlotMatrixSelectionCallback(
vtkObject*,
unsigned long,
void*);
380 vtkPVPlotMatrixView(
const vtkPVPlotMatrixView&) = delete;
381 void operator=(
const vtkPVPlotMatrixView&) = delete;
#define GENERATE_PLOT_TYPE_DECLARATION(name, type)
#define PARAVIEW_DEPRECATED_IN_5_10_0(reason)
virtual void SetSelection(vtkChartRepresentation *repr, vtkSelection *selection)=0
Representations can use this method to set the selection for a particular representation.
virtual void SetTitleFontSize(int pointSize)=0
Get/Set the font of the title.
virtual void SetTitleBold(bool bold)=0
Get/Set the font of the title.
#define VTKREMOTINGVIEWS_EXPORT
virtual int GetTitleFontBold()=0
Get/Set the font of the title.
virtual int GetTitleFontItalic()=0
Get/Set the font of the title.
virtual void SetTitleFontFile(const char *file)=0
Get/Set the font of the title.
#define GENERATE_PLOT_TYPE_DECLARATION4(name, type1, type2, type3, type4)
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int GetTitleFontSize()=0
Get/Set the font of the title.
virtual int GetTitleAlignment()=0
Get/Set the alignement of the title.
virtual double * GetTitleColor()=0
Get/Set the color of the title.
virtual const char * GetTitleFontFamily()=0
Get/Set the font of the title.
virtual void SetTitleColor(double red, double green, double blue)=0
Get/Set the color of the title.
virtual void SetTitleAlignment(int alignment)=0
Get/Set the alignement of the title.
virtual void SetTitleFontFamily(const char *family)=0
Get/Set the font of the title.
vtkPVContextView adopts vtkContextView so that it can be used in ParaView configurations.
vtkChartRepresentation is the base representation for charting representations.
virtual void SetTitleFont(const char *family, int pointSize, bool bold, bool italic)=0
Get/Set the font of the title.
virtual void SetTitleItalic(bool italic)=0
Get/Set the font of the title.
#define GENERATE_PLOT_TYPE_DECLARATION3(name, type1, type2, type3)
virtual vtkAbstractContextItem * GetContextItem()=0
Get the context item.