vtkQtChartBarLocatorNode Class Reference

#include <vtkQtChartBarLocator.h>

Collaboration diagram for vtkQtChartBarLocatorNode:

Collaboration graph
[legend]

List of all members.


Detailed Description

The vtkQtChartBarLocatorNode class is used to build a tree of chart bar shapes.

Definition at line 40 of file vtkQtChartBarLocator.h.


Public Member Functions

 vtkQtChartBarLocatorNode (vtkQtChartBar *element=0)
 Constructs a chart bar locator node.
 ~vtkQtChartBarLocatorNode ()
bool contains (const QPointF &point) const
 Gets whether or not the bounding area contains the given point.
bool intersects (const QRectF &area) const
 Gets whether or not the bounding area intersects the given area.
const QRectF & getBounds () const
 Gets the bounding rectangle.
void setBounds (const QRectF &bounds)
 Sets the bounding rectangle.
vtkQtChartBargetElement () const
 Gets the chart shape element.
void setElement (vtkQtChartBar *element)
 Sets the chart shape element.
vtkQtChartBarLocatorNodegetParent () const
 Gets the parent node.
void setParent (vtkQtChartBarLocatorNode *parent)
 Sets the parent node.
bool hasChildren () const
 Gets whether or not the node has children.
vtkQtChartBarLocatorNodegetFirst () const
 Gets the first child node.
void setFirst (vtkQtChartBarLocatorNode *first)
 Sets the first child node.
vtkQtChartBarLocatorNodegetSecond () const
 Gets the second child node.
void setSecond (vtkQtChartBarLocatorNode *second)
 Sets the second child node.
void updateBounds ()
 Updates the bounding rectangle.

Constructor & Destructor Documentation

vtkQtChartBarLocatorNode::vtkQtChartBarLocatorNode ( vtkQtChartBar element = 0  ) 

Constructs a chart bar locator node.

Parameters:
element The chart bar element to wrap.

vtkQtChartBarLocatorNode::~vtkQtChartBarLocatorNode (  ) 


Member Function Documentation

bool vtkQtChartBarLocatorNode::contains ( const QPointF &  point  )  const

Gets whether or not the bounding area contains the given point.

Parameters:
point The position to evaluate.
Returns:
True if the bounding area contains the given point.

bool vtkQtChartBarLocatorNode::intersects ( const QRectF &  area  )  const

Gets whether or not the bounding area intersects the given area.

Parameters:
area The rectangle to evaluate.
Returns:
True if the bounding area intersects the given area.

const QRectF& vtkQtChartBarLocatorNode::getBounds (  )  const [inline]

Gets the bounding rectangle.

Returns:
The bounding rectangle.

Definition at line 67 of file vtkQtChartBarLocator.h.

void vtkQtChartBarLocatorNode::setBounds ( const QRectF &  bounds  ) 

Sets the bounding rectangle.

Parameters:
bounds The new bounding rectangle.

vtkQtChartBar* vtkQtChartBarLocatorNode::getElement (  )  const [inline]

Gets the chart shape element.

Returns:
A pointer to the chart shape element.

Definition at line 78 of file vtkQtChartBarLocator.h.

void vtkQtChartBarLocatorNode::setElement ( vtkQtChartBar element  ) 

Sets the chart shape element.

Parameters:
element The new chart shape element.

vtkQtChartBarLocatorNode* vtkQtChartBarLocatorNode::getParent (  )  const [inline]

Gets the parent node.

Returns:
A pointer to the parent node.

Definition at line 89 of file vtkQtChartBarLocator.h.

void vtkQtChartBarLocatorNode::setParent ( vtkQtChartBarLocatorNode parent  )  [inline]

Sets the parent node.

Parameters:
parent The new parent node.

Definition at line 94 of file vtkQtChartBarLocator.h.

bool vtkQtChartBarLocatorNode::hasChildren (  )  const [inline]

Gets whether or not the node has children.

Returns:
True if the node has children.

Definition at line 100 of file vtkQtChartBarLocator.h.

vtkQtChartBarLocatorNode* vtkQtChartBarLocatorNode::getFirst (  )  const [inline]

Gets the first child node.

Returns:
A pointer to the first child node.

Definition at line 106 of file vtkQtChartBarLocator.h.

void vtkQtChartBarLocatorNode::setFirst ( vtkQtChartBarLocatorNode first  )  [inline]

Sets the first child node.

Parameters:
first The first child node.

Definition at line 111 of file vtkQtChartBarLocator.h.

vtkQtChartBarLocatorNode* vtkQtChartBarLocatorNode::getSecond (  )  const [inline]

Gets the second child node.

Returns:
A pointer to the second child node.

Definition at line 117 of file vtkQtChartBarLocator.h.

void vtkQtChartBarLocatorNode::setSecond ( vtkQtChartBarLocatorNode second  )  [inline]

Sets the second child node.

Parameters:
second The second child node.

Definition at line 122 of file vtkQtChartBarLocator.h.

void vtkQtChartBarLocatorNode::updateBounds (  ) 

Updates the bounding rectangle.

The bounding rectangle is the bounds of the element or the bounds of the child nodes.


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

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