vtkQtChartBar Class Reference

#include <vtkQtChartBar.h>

Inheritance diagram for vtkQtChartBar:

Inheritance graph
[legend]
Collaboration diagram for vtkQtChartBar:

Collaboration graph
[legend]

List of all members.


Detailed Description

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

Definition at line 35 of file vtkQtChartBar.h.


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.

Constructor & Destructor Documentation

vtkQtChartBar::vtkQtChartBar (  ) 

vtkQtChartBar::vtkQtChartBar ( int  series,
int  index 
)

Constructs a chart bar shape.

Parameters:
series The series index.
index The 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:
bounds Used 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:
point The 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:
area The 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:
rectangle The 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:
bar The new bar rectangle.


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

Generated on Wed Aug 24 11:59:20 2011 for VTK by  doxygen 1.5.6