23 #ifndef vtkPVBagChartRepresentation_h 24 #define vtkPVBagChartRepresentation_h 30 class vtkScalarsToColors;
38 void PrintSelf(ostream& os, vtkIndent indent);
48 vtkChartXY* GetChart();
54 vtkSetMacro(LineThickness,
int);
55 vtkGetMacro(LineThickness,
int);
62 vtkSetMacro(LineStyle,
int);
63 vtkGetMacro(LineStyle,
int);
70 vtkSetVector3Macro(LineColor,
double);
71 vtkGetVector3Macro(LineColor,
double);
78 void SetLookupTable(vtkScalarsToColors* lut);
79 vtkGetObjectMacro(LookupTable, vtkScalarsToColors);
86 vtkSetVector3Macro(BagColor,
double);
87 vtkGetVector3Macro(BagColor,
double);
94 vtkSetVector3Macro(SelectionColor,
double);
95 vtkGetVector3Macro(SelectionColor,
double);
102 vtkSetMacro(Opacity,
double);
103 vtkGetMacro(Opacity,
double);
110 vtkSetMacro(PointSize,
int);
111 vtkGetMacro(PointSize,
int);
118 vtkSetVector3Macro(PointColor,
double);
119 vtkGetVector3Macro(PointColor,
double);
126 vtkSetMacro(GridLineThickness,
int);
127 vtkGetMacro(GridLineThickness,
int);
134 vtkSetMacro(GridLineStyle,
int);
135 vtkGetMacro(GridLineStyle,
int);
142 vtkSetVector3Macro(PUserColor,
double);
143 vtkGetVector3Macro(PUserColor,
double);
150 vtkSetVector3Macro(P50Color,
double);
151 vtkGetVector3Macro(P50Color,
double);
158 vtkSetStringMacro(XAxisSeriesName);
159 vtkGetStringMacro(XAxisSeriesName);
167 vtkSetMacro(UseIndexForXAxis,
bool);
168 vtkGetMacro(UseIndexForXAxis,
bool);
175 vtkSetStringMacro(DensitySeriesName);
176 vtkGetStringMacro(DensitySeriesName);
183 vtkSetStringMacro(YAxisSeriesName);
184 vtkGetStringMacro(YAxisSeriesName);
197 void SetPolyLineToTable(vtkPolyData* polydata, vtkTable* table);
207 virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
208 vtkInformationVector* outputVector);
217 vtkScalarsToColors* LookupTable;
220 double SelectionColor[3];
223 double PointColor[3];
224 int GridLineThickness;
226 double PUserColor[3];
228 char* XAxisSeriesName;
229 char* YAxisSeriesName;
230 char* DensitySeriesName;
231 bool UseIndexForXAxis;
232 vtkSmartPointer<vtkImageData> LocalGrid;
233 vtkSmartPointer<vtkTable> LocalThreshold;
static vtkChartRepresentation * New()
virtual void PrepareForRendering()
This method is called before actual render if this->MTime was modified since the last time this metho...
virtual void SetVisibility(bool visible)
Set visibility of the representation.
virtual bool AddToView(vtkView *view)
Adds the representation to the view.
vtkPVagChartRepresentation is the vtkChartRepresentation subclass for bag plots representation.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses should override this to connect inputs to the internal pipeline as necessary.
vtkChartRepresentation is the base representation for charting representations.
void PrintSelf(ostream &os, vtkIndent indent)
virtual bool RemoveFromView(vtkView *view)
Removes the representation to the view.