NutsnBolts  0.1.0
An extension library for Coin
Loading...
Searching...
No Matches
NbEventNode Class Reference

The NbEventNode is a container for nodes which trigger scripts on events. More...

#include <NbEventNode.h>

Inheritance diagram for NbEventNode:
SoBaseKit

Public Member Functions

 NbEventNode (void)
 
virtual SbBool handleEvent (const SoEvent *event, SoHandleEventAction *action)
 
virtual void handleEvent (SoHandleEventAction *action)
 
virtual void jumpTo (void)
 
virtual SbBool readInstance (SoInput *in, unsigned short flags)
 
virtual void write (SoWriteAction *action)
 

Static Public Member Functions

static void initClass (void)
 

Public Attributes

SoMFNode event
 

Protected Member Functions

virtual ~NbEventNode ()
 

Detailed Description

The NbEventNode is a container for nodes which trigger scripts on events.

Constructor & Destructor Documentation

◆ NbEventNode()

NbEventNode::NbEventNode ( void )

Constructor

◆ ~NbEventNode()

NbEventNode::~NbEventNode ( )
protectedvirtual

Destructor

Member Function Documentation

◆ handleEvent()

SbBool NbEventNode::handleEvent ( const SoEvent * event,
SoHandleEventAction * action )
virtual

Handle a single event. This method will loop through the events in the event field and call NbScriptEvent::handle() for each instance.


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