Web Analytics Made Easy - Statcounter
Skip to content

Class SBGDataGraphNode#

ClassList > SBGDataGraphNode

More...

  • #include <SBGDataGraphNode.hpp>

Public Functions#

Type Name
SBGDataGraphNode ()
virtual void enterEvent (SBNode * node, const SBPosition3 & position)
Handles enter event.
virtual void getContextMenuActions (SBVector< SBAction * > & actionVector)
Returns the node's context menu actions.
virtual void handleMoveEvent (SBNode * node, const SBPosition3 & position)
Handles a move event.
virtual void handlePressEvent (SBNode * node, const SBPosition3 & position)
Handles a press event.
virtual void handleReleaseEvent (SBNode * node, const SBPosition3 & position)
Handles a release event.
virtual bool isSelectionDependent () const
Returns true when the node's context menu actions depend on the current selection.
virtual void keyPressEvent (SBNode * node, QKeyEvent * event, const SBPosition3 & position)
Handles key press event.
virtual void keyReleaseEvent (SBNode * node, QKeyEvent * event, const SBPosition3 & position)
Handles key release event.
virtual void leaveEvent (SBNode * node, const SBPosition3 & position)
Handles leave event.
virtual void mouseDoubleClickEvent (SBNode * node, QMouseEvent * event, const SBPosition3 & pickedPosition)
Handles mouse double click event.
virtual void mouseMoveEvent (SBNode * node, QMouseEvent * event, const SBPosition3 & position)
Handles mouse move event.
virtual void mousePressEvent (SBNode * node, QMouseEvent * event, const SBPosition3 & pickedPosition)
Handles mouse press event.
virtual void mouseReleaseEvent (SBNode * node, QMouseEvent * event, const SBPosition3 & pickedPosition)
Handles mouse release event.
virtual void wheelEvent (SBNode * node, QWheelEvent * event, const SBPosition3 & position)
Handles wheel event.
virtual ~SBGDataGraphNode ()

Detailed Description#

This class is the base class of all data graph nodes' GUIs.

Short name: SBNodeGUI

Public Functions Documentation#

function SBGDataGraphNode#

SBGDataGraphNode::SBGDataGraphNode () 

function enterEvent#

Handles enter event.

virtual void SBGDataGraphNode::enterEvent (
    SBNode * node,
    const SBPosition3 & position
) 


function getContextMenuActions#

Returns the node's context menu actions.

virtual void SBGDataGraphNode::getContextMenuActions (
    SBVector< SBAction * > & actionVector
) 


function handleMoveEvent#

Handles a move event.

virtual void SBGDataGraphNode::handleMoveEvent (
    SBNode * node,
    const SBPosition3 & position
) 


function handlePressEvent#

Handles a press event.

virtual void SBGDataGraphNode::handlePressEvent (
    SBNode * node,
    const SBPosition3 & position
) 


function handleReleaseEvent#

Handles a release event.

virtual void SBGDataGraphNode::handleReleaseEvent (
    SBNode * node,
    const SBPosition3 & position
) 


function isSelectionDependent#

Returns true when the node's context menu actions depend on the current selection.

virtual bool SBGDataGraphNode::isSelectionDependent () const


function keyPressEvent#

Handles key press event.

virtual void SBGDataGraphNode::keyPressEvent (
    SBNode * node,
    QKeyEvent * event,
    const SBPosition3 & position
) 


function keyReleaseEvent#

Handles key release event.

virtual void SBGDataGraphNode::keyReleaseEvent (
    SBNode * node,
    QKeyEvent * event,
    const SBPosition3 & position
) 


function leaveEvent#

Handles leave event.

virtual void SBGDataGraphNode::leaveEvent (
    SBNode * node,
    const SBPosition3 & position
) 


function mouseDoubleClickEvent#

Handles mouse double click event.

virtual void SBGDataGraphNode::mouseDoubleClickEvent (
    SBNode * node,
    QMouseEvent * event,
    const SBPosition3 & pickedPosition
) 


function mouseMoveEvent#

Handles mouse move event.

virtual void SBGDataGraphNode::mouseMoveEvent (
    SBNode * node,
    QMouseEvent * event,
    const SBPosition3 & position
) 


function mousePressEvent#

Handles mouse press event.

virtual void SBGDataGraphNode::mousePressEvent (
    SBNode * node,
    QMouseEvent * event,
    const SBPosition3 & pickedPosition
) 


function mouseReleaseEvent#

Handles mouse release event.

virtual void SBGDataGraphNode::mouseReleaseEvent (
    SBNode * node,
    QMouseEvent * event,
    const SBPosition3 & pickedPosition
) 


function wheelEvent#

Handles wheel event.

virtual void SBGDataGraphNode::wheelEvent (
    SBNode * node,
    QWheelEvent * event,
    const SBPosition3 & position
) 


function ~SBGDataGraphNode#

virtual SBGDataGraphNode::~SBGDataGraphNode ()