vtkQtChartShapeLocatorNode Class Reference

#include <vtkQtChartShapeLocator.h>

Collaboration diagram for vtkQtChartShapeLocatorNode:

Collaboration graph
[legend]

List of all members.


Detailed Description

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

Definition at line 40 of file vtkQtChartShapeLocator.h.


Public Member Functions

 vtkQtChartShapeLocatorNode (vtkQtChartShape *element=0)
 Constructs a chart shape locator node.
 ~vtkQtChartShapeLocatorNode ()
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.
vtkQtChartShapegetElement () const
 Gets the chart shape element.
void setElement (vtkQtChartShape *element)
 Sets the chart shape element.
vtkQtChartShapeLocatorNodegetParent () const
 Gets the parent node.
void setParent (vtkQtChartShapeLocatorNode *parent)
 Sets the parent node.
bool hasChildren () const
 Gets whether or not the node has children.
const QList
< vtkQtChartShapeLocatorNode * > & 
getNodes () const
 Gets the list of child nodes.
QList
< vtkQtChartShapeLocatorNode * > & 
getNodes ()
 Gets the list of child nodes.
void updateBounds ()
 Updates the bounding rectangle.

Constructor & Destructor Documentation

vtkQtChartShapeLocatorNode::vtkQtChartShapeLocatorNode ( vtkQtChartShape element = 0  ) 

Constructs a chart shape locator node.

Parameters:
element The chart shape element to wrap.

vtkQtChartShapeLocatorNode::~vtkQtChartShapeLocatorNode (  ) 


Member Function Documentation

bool vtkQtChartShapeLocatorNode::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 vtkQtChartShapeLocatorNode::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& vtkQtChartShapeLocatorNode::getBounds (  )  const [inline]

Gets the bounding rectangle.

Returns:
The bounding rectangle.

Definition at line 67 of file vtkQtChartShapeLocator.h.

void vtkQtChartShapeLocatorNode::setBounds ( const QRectF &  bounds  ) 

Sets the bounding rectangle.

Parameters:
bounds The new bounding rectangle.

vtkQtChartShape* vtkQtChartShapeLocatorNode::getElement (  )  const [inline]

Gets the chart shape element.

Returns:
A pointer to the chart shape element.

Definition at line 78 of file vtkQtChartShapeLocator.h.

void vtkQtChartShapeLocatorNode::setElement ( vtkQtChartShape element  ) 

Sets the chart shape element.

Parameters:
element The new chart shape element.

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

Gets the parent node.

Returns:
A pointer to the parent node.

Definition at line 89 of file vtkQtChartShapeLocator.h.

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

Sets the parent node.

Parameters:
parent The new parent node.

Definition at line 94 of file vtkQtChartShapeLocator.h.

bool vtkQtChartShapeLocatorNode::hasChildren (  )  const [inline]

Gets whether or not the node has children.

Returns:
True if the node has children.

Definition at line 100 of file vtkQtChartShapeLocator.h.

const QList<vtkQtChartShapeLocatorNode *>& vtkQtChartShapeLocatorNode::getNodes (  )  const [inline]

Gets the list of child nodes.

Returns:
The list of child nodes.

Definition at line 106 of file vtkQtChartShapeLocator.h.

QList<vtkQtChartShapeLocatorNode *>& vtkQtChartShapeLocatorNode::getNodes (  )  [inline]

Gets the list of child nodes.

Returns:
The list of child nodes.

Definition at line 112 of file vtkQtChartShapeLocator.h.

void vtkQtChartShapeLocatorNode::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 12:00:08 2011 for VTK by  doxygen 1.5.6