4 #ifndef vtkPVPlotMatrixView_h 5 #define vtkPVPlotMatrixView_h 12 #define GENERATE_PLOT_TYPE_DECLARATION(name, type) \ 13 void SetScatterPlot##name(type value); \ 14 void SetHistogram##name(type value); \ 15 void SetActivePlot##name(type value); 17 #define GENERATE_PLOT_TYPE_DECLARATION2(name, type1, type2) \ 18 void SetScatterPlot##name(type1 value1, type2 value2); \ 19 void SetHistogram##name(type1 value1, type2 value2); \ 20 void SetActivePlot##name(type1 value1, type2 value2); 22 #define GENERATE_PLOT_TYPE_DECLARATION3(name, type1, type2, type3) \ 23 void SetScatterPlot##name(type1 value1, type2 value2, type3 value3); \ 24 void SetHistogram##name(type1 value1, type2 value2, type3 value3); \ 25 void SetActivePlot##name(type1 value1, type2 value2, type3 value3); 27 #define GENERATE_PLOT_TYPE_DECLARATION4(name, type1, type2, type3, type4) \ 28 void SetScatterPlot##name(type1 value1, type2 value2, type3 value3, type4 value4); \ 29 void SetHistogram##name(type1 value1, type2 value2, type3 value3, type4 value4); \ 30 void SetActivePlot##name(type1 value1, type2 value2, type3 value3, type4 value4); 54 void SetActivePlot(
int i,
int j);
56 int GetActiveColumn();
62 void ClearAnimationPath();
67 void AddAnimationPath(
int i,
int j);
72 void StartAnimationPath();
77 void AdvanceAnimationPath();
86 void SetTitleFont(
const char* family,
int pointSize,
bool bold,
bool italic)
override;
105 void SetTitleColor(
double red,
double green,
double blue)
override;
123 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 SetPadding(
float padding);
151 virtual void SetBorders(
int left,
int bottom,
int right,
int top);
152 virtual void SetBorderLeft(
int value);
153 virtual void SetBorderBottom(
int value);
154 virtual void SetBorderRight(
int value);
155 virtual void SetBorderTop(
int value);
166 void SetGridVisibility(
int plotType,
bool visible);
168 int GetGridVisibility(
int plotType);
180 void SetBackgroundColor(
int plotType,
double red,
double green,
double blue,
double alpha);
181 bool GetBackgroundColor(
int plotType,
double color[3]);
194 void SetAxisColor(
int plotType,
double red,
double green,
double blue);
195 bool GetAxisColor(
int plotType,
double color[3]);
208 void SetGridColor(
int plotType,
double red,
double green,
double blue);
209 bool GetGridColor(
int plotType,
double color[3]);
221 void SetAxisLabelVisibility(
int plotType,
bool visible);
222 int GetAxisLabelVisibility(
int plotType);
234 void SetAxisLabelFont(
int plotType,
const char* family,
int pointSize,
bool bold,
bool italic);
235 void SetAxisLabelFontFamily(
int plotType,
const char* family);
237 void SetAxisLabelFontFile(
int plotType,
const char* file);
239 void SetAxisLabelFontSize(
int plotType,
int pointSize);
241 void SetAxisLabelBold(
int plotType,
bool bold);
243 void SetAxisLabelItalic(
int plotType,
bool italic);
245 const char* GetAxisLabelFontFamily(
int plotType);
246 int GetAxisLabelFontSize(
int plotType);
247 int GetAxisLabelFontBold(
int plotType);
248 int GetAxisLabelFontItalic(
int plotType);
260 void SetAxisLabelColor(
int plotType,
double red,
double green,
double blue);
262 bool GetAxisLabelColor(
int plotType,
double color[3]);
273 void SetAxisLabelNotation(
int plotType,
int notation);
275 int GetAxisLabelNotation(
int plotType);
286 void SetAxisLabelPrecision(
int plotType,
int precision);
288 int GetAxisLabelPrecision(
int plotType);
299 void SetTooltipNotation(
int plotType,
int notation);
301 void SetTooltipPrecision(
int plotType,
int precision);
303 int GetTooltipNotation(
int plotType);
304 int GetTooltipPrecision(
int plotType);
315 void SetScatterPlotSelectedRowColumnColor(
double red,
double green,
double blue,
double alpha);
316 bool GetScatterPlotSelectedRowColumnColor(
double color[3]);
327 void SetScatterPlotSelectedActiveColor(
double red,
double green,
double blue,
double alpha);
328 bool GetScatterPlotSelectedActiveColor(
double color[3]);
334 void UpdateSettings();
343 void Render(
bool interactive)
override;
349 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.