VTK
Public Member Functions
vtkQtChartBar Class Reference

The vtkQtChartBar class defines a bar used by the chart bar locator. More...

#include <vtkQtChartBar.h>

Inheritance diagram for vtkQtChartBar:
Inheritance graph
[legend]
Collaboration diagram for vtkQtChartBar:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkQtChartBar ()
 vtkQtChartBar (int series, int index)
 Constructs a chart bar shape.
 vtkQtChartBar (const vtkQtChartBar &other)
virtual ~vtkQtChartBar ()
vtkQtChartBaroperator= (const vtkQtChartBar &other)
virtual void getBounds (QRectF &bounds) const
 Gets the bounding box for the shape.
virtual bool contains (const QPointF &point) const
 Gets whether or not the shape contains the given point.
virtual bool intersects (const QRectF &area) const
 Gets whether or not the shape intersects the given area.
virtual void setRectangle (const QRectF &rectangle)
 Sets the bar shape.
QRectF & getBar ()
 Gets the bar shape.
const QRectF & getBar () const
 Gets the bar shape.
void setBar (const QRectF &bar)
 Sets the bar shape.

Detailed Description

The vtkQtChartBar class defines a bar used by the chart bar locator.

Definition at line 35 of file vtkQtChartBar.h.


Constructor & Destructor Documentation

vtkQtChartBar::vtkQtChartBar ( )
vtkQtChartBar::vtkQtChartBar ( int  series,
int  index 
)

Constructs a chart bar shape.

Parameters:
seriesThe series index.
indexThe index in the given series.
vtkQtChartBar::vtkQtChartBar ( const vtkQtChartBar other)
virtual vtkQtChartBar::~vtkQtChartBar ( ) [virtual]

Member Function Documentation

vtkQtChartBar& vtkQtChartBar::operator= ( const vtkQtChartBar other)
virtual void vtkQtChartBar::getBounds ( QRectF &  bounds) const [virtual]

Gets the bounding box for the shape.

Parameters:
boundsUsed to return the bounding box.

Implements vtkQtChartShape.

virtual bool vtkQtChartBar::contains ( const QPointF &  point) const [virtual]

Gets whether or not the shape contains the given point.

Parameters:
pointThe position to evaluate.
Returns:
True if the shape contains the given point.

Implements vtkQtChartShape.

virtual bool vtkQtChartBar::intersects ( const QRectF &  area) const [virtual]

Gets whether or not the shape intersects the given area.

Parameters:
areaThe area to evaluate.
Returns:
True if the shape intersects the given area.

Implements vtkQtChartShape.

virtual void vtkQtChartBar::setRectangle ( const QRectF &  rectangle) [inline, virtual]

Sets the bar shape.

Parameters:
rectangleThe new bar shape.

Reimplemented from vtkQtChartShape.

Definition at line 57 of file vtkQtChartBar.h.

QRectF& vtkQtChartBar::getBar ( ) [inline]

Gets the bar shape.

Returns:
The bar rectangle.

Definition at line 63 of file vtkQtChartBar.h.

const QRectF& vtkQtChartBar::getBar ( ) const [inline]

Gets the bar shape.

Returns:
The bar rectangle.

Definition at line 69 of file vtkQtChartBar.h.

void vtkQtChartBar::setBar ( const QRectF &  bar)

Sets the bar shape.

Parameters:
barThe new bar rectangle.

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