33 #ifndef vtkXYPlotRepresentation_h 34 #define vtkXYPlotRepresentation_h 36 #include "vtkInteractionWidgetsModule.h" 63 {size[0]=2.0; size[1]=2.0;}
85 void SetGlyphSize(
double x);
86 void SetPlotGlyphType(
int curve,
int glyph);
93 void SetTitle(
const char*
title);
94 void SetTitleColor(
double r,
double g,
double b);
95 void SetTitleFontFamily(
int x);
96 void SetTitleBold(
int x);
97 void SetTitleItalic(
int x);
98 void SetTitleShadow(
int x);
99 void SetTitleFontSize(
int x);
100 void SetTitleJustification(
int x);
101 void SetTitleVerticalJustification(
int x);
102 void SetAdjustTitlePosition(
int x);
103 void SetTitlePosition(
double x,
double y);
110 void SetXAxisColor(
double r,
double g,
double b);
111 void SetYAxisColor(
double r,
double g,
double b);
112 void SetXTitle(
const char* ytitle );
114 void SetXRange(
double min,
double max);
115 void SetYTitle(
const char* ytitle );
117 void SetYRange(
double min,
double max);
118 void SetYTitlePosition (
int pos);
119 int GetYTitlePosition()
const;
120 void SetXValues(
int x);
127 void SetAxisTitleColor(
double r,
double g,
double b);
128 void SetAxisTitleFontFamily(
int x);
129 void SetAxisTitleBold(
int x);
130 void SetAxisTitleItalic(
int x);
131 void SetAxisTitleShadow(
int x);
132 void SetAxisTitleFontSize(
int x);
133 void SetAxisTitleJustification(
int x);
134 void SetAxisTitleVerticalJustification(
int x);
141 void SetAxisLabelColor(
double r,
double g,
double b);
142 void SetAxisLabelFontFamily(
int x);
143 void SetAxisLabelBold(
int x);
144 void SetAxisLabelItalic(
int x);
145 void SetAxisLabelShadow(
int x);
146 void SetAxisLabelFontSize(
int x);
147 void SetAxisLabelJustification(
int x);
148 void SetAxisLabelVerticalJustification(
int x);
149 void SetXLabelFormat(
const char* _arg);
150 void SetYLabelFormat(
const char* _arg);
157 void SetBorder(
int x);
158 void RemoveAllActiveCurves();
159 void AddUserCurvesPoint(
double c,
double x,
double y);
160 void SetLegend(
int x);
161 void SetLegendBorder(
int b);
162 void SetLegendBox(
int b);
163 void SetLegendBoxColor(
double r,
double g,
double b);
164 void SetLegendPosition(
double x,
double y);
165 void SetLegendPosition2(
double x,
double y);
166 void SetLineWidth(
double w);
167 void SetPlotColor(
int i,
int r,
int g,
int b);
168 void SetPlotLines(
int i);
169 void SetPlotPoints(
int i);
170 void SetPlotLabel(
int i,
const char* label);
183 #endif //vtkXYPlotRepresentation_h int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
generate an x-y plot from input dataset(s) or field data
void WidgetInteraction(double eventPos[2]) override
Subclasses should implement these methods.
vtkXYPlotActor * XYPlotActor
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
abstract specification for Viewports
int RenderOpaqueGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void GetActors2D(vtkPropCollection *) override
These methods are necessary to make this representation behave as a vtkProp.
virtual vtkTypeBool GetVisibility()
Set/Get visibility of this vtkProp.
virtual void SetVisibility(vtkTypeBool)
Set/Get visibility of this vtkProp.
static vtkBorderRepresentation * New()
Instantiate this class.
void PrintSelf(ostream &os, vtkIndent indent) override
Define standard methods.
window superclass for vtkRenderWindow
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void BuildRepresentation() override
Subclasses should implement these methods.
a simple class to control print indentation
represent XY plot for vtkXYPlotWidget
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
represent a vtkBorderWidget
void GetSize(double size[2]) override
Satisfy the superclass' API.