vtkQtStatisticalBoxChart Class Reference

#include <vtkQtStatisticalBoxChart.h>

Inheritance diagram for vtkQtStatisticalBoxChart:

Inheritance graph
[legend]
Collaboration diagram for vtkQtStatisticalBoxChart:

Collaboration graph
[legend]

List of all members.


Detailed Description

The vtkQtStatisticalBoxChart class is used to display a statistical box chart.

Definition at line 36 of file vtkQtStatisticalBoxChart.h.


Public Slots

void reset ()
 Refreshes the statistical box chart data from the model.

Public Member Functions

 vtkQtStatisticalBoxChart ()
virtual ~vtkQtStatisticalBoxChart ()
Setup Methods
virtual void setChartArea (vtkQtChartArea *area)
 Sets the chart area for the chart layer.
virtual void setModel (vtkQtChartSeriesModel *model)
 Sets the chart series model.
Drawing Parameters
vtkQtStatisticalBoxChartOptionsgetOptions () const
 Gets the box chart drawing options.
void setOptions (const vtkQtStatisticalBoxChartOptions &options)
 Sets the box chart drawing options.
virtual QPixmap getSeriesIcon (int series) const
 Gets the box chart drawing options.
Layout Methods
virtual void getLayerDomain (vtkQtChartLayerDomain &domain) const
 Notifies the chart layer that a resize interaction has finished.
virtual void layoutChart (const QRectF &area)
 Notifies the chart layer that a resize interaction has finished.
virtual bool getHelpText (const QPointF &point, QString &text)
 Notifies the chart layer that a resize interaction has finished.
virtual void finishInteractiveResize ()
 Notifies the chart layer that a resize interaction has finished.
Selection Methods
virtual void getSeriesAt (const QPointF &point, vtkQtChartSeriesSelection &selection) const
 Gets the list of series at a given position.
virtual void getPointsAt (const QPointF &point, vtkQtChartSeriesSelection &selection) const
 Gets the list of points at a given position.
virtual void getSeriesIn (const QRectF &area, vtkQtChartSeriesSelection &selection) const
 Gets the list of series in a given area.
virtual void getPointsIn (const QRectF &area, vtkQtChartSeriesSelection &selection) const
 Gets the list of points in a given area.
QGraphicsItem Methods
virtual QRectF boundingRect () const
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)

Protected Slots

virtual void handleOptionsChanged (vtkQtChartSeriesOptions *, int type, const QVariant &newvalue, const QVariant &oldvalue)
 Called when any of the series options are changed.

Protected Member Functions

virtual void setupOptions (vtkQtChartSeriesOptions *options)
 Sets up the default values for the series options object.

Constructor & Destructor Documentation

vtkQtStatisticalBoxChart::vtkQtStatisticalBoxChart (  ) 

virtual vtkQtStatisticalBoxChart::~vtkQtStatisticalBoxChart (  )  [virtual]


Member Function Documentation

virtual void vtkQtStatisticalBoxChart::setChartArea ( vtkQtChartArea area  )  [virtual]

Sets the chart area for the chart layer.

If the model is set before the chart layer is added to a chart area, series options will not be available. Setting the chart area will create the series options for the model in this case. Subclasses can extend this method to handle the new options.

Parameters:
area The new chart area.

Reimplemented from vtkQtChartSeriesLayer.

virtual void vtkQtStatisticalBoxChart::setModel ( vtkQtChartSeriesModel model  )  [virtual]

Sets the chart series model.

Parameters:
model The new chart series model.

Reimplemented from vtkQtChartSeriesLayer.

vtkQtStatisticalBoxChartOptions* vtkQtStatisticalBoxChart::getOptions (  )  const [inline]

Gets the box chart drawing options.

Returns:
A pointer to the box chart drawing options.

Definition at line 57 of file vtkQtStatisticalBoxChart.h.

void vtkQtStatisticalBoxChart::setOptions ( const vtkQtStatisticalBoxChartOptions options  ) 

Sets the box chart drawing options.

This method sets all the options at once, which can prevent unnecessary view updates.

Parameters:
options The new box chart drawing options.

virtual QPixmap vtkQtStatisticalBoxChart::getSeriesIcon ( int  series  )  const [virtual]

Gets the box chart drawing options.

Returns:
A pointer to the box chart drawing options.

Reimplemented from vtkQtChartSeriesLayer.

virtual void vtkQtStatisticalBoxChart::getLayerDomain ( vtkQtChartLayerDomain domain  )  const [virtual]

Notifies the chart layer that a resize interaction has finished.

The chart search tree is not updated while the chart is in an interactive state. It is updated in this method if needed.

Reimplemented from vtkQtChartLayer.

virtual void vtkQtStatisticalBoxChart::layoutChart ( const QRectF &  area  )  [virtual]

Notifies the chart layer that a resize interaction has finished.

The chart search tree is not updated while the chart is in an interactive state. It is updated in this method if needed.

Implements vtkQtChartLayer.

virtual bool vtkQtStatisticalBoxChart::getHelpText ( const QPointF &  point,
QString &  text 
) [virtual]

Notifies the chart layer that a resize interaction has finished.

The chart search tree is not updated while the chart is in an interactive state. It is updated in this method if needed.

Reimplemented from vtkQtChartLayer.

virtual void vtkQtStatisticalBoxChart::finishInteractiveResize (  )  [virtual]

Notifies the chart layer that a resize interaction has finished.

The chart search tree is not updated while the chart is in an interactive state. It is updated in this method if needed.

Reimplemented from vtkQtChartLayer.

virtual void vtkQtStatisticalBoxChart::getSeriesAt ( const QPointF &  point,
vtkQtChartSeriesSelection selection 
) const [virtual]

Gets the list of series at a given position.

Parameters:
point The position in scene coordinates.
selection Used to return the list of series.

Reimplemented from vtkQtChartSeriesLayer.

virtual void vtkQtStatisticalBoxChart::getPointsAt ( const QPointF &  point,
vtkQtChartSeriesSelection selection 
) const [virtual]

Gets the list of points at a given position.

Parameters:
point The position in scene coordinates.
selection Used to return the list of points.

Reimplemented from vtkQtChartSeriesLayer.

virtual void vtkQtStatisticalBoxChart::getSeriesIn ( const QRectF &  area,
vtkQtChartSeriesSelection selection 
) const [virtual]

Gets the list of series in a given area.

Parameters:
area The rectangle in scene coordinates.
selection Used to return the list of series.

Reimplemented from vtkQtChartSeriesLayer.

virtual void vtkQtStatisticalBoxChart::getPointsIn ( const QRectF &  area,
vtkQtChartSeriesSelection selection 
) const [virtual]

Gets the list of points in a given area.

Parameters:
area The rectangle in scene coordinates.
selection Used to return the list of points.

Reimplemented from vtkQtChartSeriesLayer.

virtual QRectF vtkQtStatisticalBoxChart::boundingRect (  )  const [virtual]

virtual void vtkQtStatisticalBoxChart::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
) [virtual]

void vtkQtStatisticalBoxChart::reset (  )  [slot]

Refreshes the statistical box chart data from the model.

The currently displayed data is cleaned up. If a model is set, it is used to populate the statistical box chart.

virtual void vtkQtStatisticalBoxChart::handleOptionsChanged ( vtkQtChartSeriesOptions ,
int  type,
const QVariant &  newvalue,
const QVariant &  oldvalue 
) [protected, virtual, slot]

Called when any of the series options are changed.

Default implementation fires the modelSeriesChanged() signal.

Parameters:
options The options that fired the dataChanged() signal.
type Type of the option that was changed.
newValue The new value for the option.
oldValue The previous value for the option, if any.

Reimplemented from vtkQtChartSeriesLayer.

virtual void vtkQtStatisticalBoxChart::setupOptions ( vtkQtChartSeriesOptions options  )  [protected, virtual]

Sets up the default values for the series options object.

The style manager should be used to help set up the series options. Subclass must call this method every time a new series options is set up.

Parameters:
options The newly created series options.

Reimplemented from vtkQtChartSeriesLayer.


The documentation for this class was generated from the following file:

Generated on Mon Sep 27 18:45:12 2010 for VTK by  doxygen 1.5.6