16 #ifndef vtkPVPlotMatrixView_h 17 #define vtkPVPlotMatrixView_h 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); 66 void SetActivePlot(
int i,
int j);
68 int GetActiveColumn();
74 void ClearAnimationPath();
79 void AddAnimationPath(
int i,
int j);
84 void StartAnimationPath();
89 void AdvanceAnimationPath();
98 void SetTitleFont(
const char* family,
int pointSize,
bool bold,
bool italic)
override;
117 void SetTitleColor(
double red,
double green,
double blue)
override;
135 void SetNumberOfAnimationFrames(
int value);
144 virtual void SetGutter(
float x,
float y);
145 void SetGutterX(
float value);
146 void SetGutterY(
float value);
156 virtual void SetBorders(
int left,
int bottom,
int right,
int top);
157 virtual void SetBorderLeft(
int value);
158 virtual void SetBorderBottom(
int value);
159 virtual void SetBorderRight(
int value);
160 virtual void SetBorderTop(
int value);
171 void SetGridVisibility(
int plotType,
bool visible);
173 int GetGridVisibility(
int plotType);
184 void SetBackgroundColor(
int plotType,
double red,
double green,
double blue,
double alpha);
185 double* GetBackgroundColor(
int plotType);
197 void SetAxisColor(
int plotType,
double red,
double green,
double blue);
198 double* GetAxisColor(
int plotType);
210 void SetGridColor(
int plotType,
double red,
double green,
double blue);
211 double* GetGridColor(
int plotType);
223 void SetAxisLabelVisibility(
int plotType,
bool visible);
224 int GetAxisLabelVisibility(
int plotType);
236 void SetAxisLabelFont(
int plotType,
const char* family,
int pointSize,
bool bold,
bool italic);
237 void SetAxisLabelFontFamily(
int plotType,
const char* family);
239 void SetAxisLabelFontFile(
int plotType,
const char* file);
241 void SetAxisLabelFontSize(
int plotType,
int pointSize);
243 void SetAxisLabelBold(
int plotType,
bool bold);
245 void SetAxisLabelItalic(
int plotType,
bool italic);
247 const char* GetAxisLabelFontFamily(
int plotType);
248 int GetAxisLabelFontSize(
int plotType);
249 int GetAxisLabelFontBold(
int plotType);
250 int GetAxisLabelFontItalic(
int plotType);
261 void SetAxisLabelColor(
int plotType,
double red,
double green,
double blue);
263 double* GetAxisLabelColor(
int plotType);
274 void SetAxisLabelNotation(
int plotType,
int notation);
276 int GetAxisLabelNotation(
int plotType);
287 void SetAxisLabelPrecision(
int plotType,
int precision);
289 int GetAxisLabelPrecision(
int plotType);
300 void SetTooltipNotation(
int plotType,
int notation);
302 void SetTooltipPrecision(
int plotType,
int precision);
304 int GetTooltipNotation(
int plotType);
305 int GetTooltipPrecision(
int plotType);
315 void SetScatterPlotSelectedRowColumnColor(
double red,
double green,
double blue,
double alpha);
316 double* GetScatterPlotSelectedRowColumnColor();
326 void SetScatterPlotSelectedActiveColor(
double red,
double green,
double blue,
double alpha);
327 double* GetScatterPlotSelectedActiveColor();
333 void UpdateSettings();
342 void Render(
bool interactive)
override;
348 void PlotMatrixSelectionCallback(
vtkObject*,
unsigned long,
void*);
#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.
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.
virtual void Render(bool interactive)
Actual rendering implementation.
#define GENERATE_PLOT_TYPE_DECLARATION3(name, type1, type2, type3)
virtual vtkAbstractContextItem * GetContextItem()=0
Get the context item.