Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

SoBlinker Class Reference

The SoBlinker class is a cycling switch node. More...

#include <Inventor/nodes/SoBlinker.h>

Inheritance diagram for SoBlinker::

SoSwitch SoGroup SoNode SoFieldContainer SoBase List of all members.

Public Methods

 SoBlinker (void)
virtual void getBoundingBox (SoGetBoundingBoxAction *action)
virtual void write (SoWriteAction *action)

Static Public Methods

void initClass (void)

Public Attributes

SoSFFloat speed
SoSFBool on

Protected Methods

virtual ~SoBlinker ()
virtual void notify (SoNotList *nl)

Detailed Description

The SoBlinker class is a cycling switch node.

This switch node cycles its children SoBlinker::speed number of times per second. If the node has only one child, it will be cycled on and off. Cycling can be turned off using the SoBlinker::on field, and the node then behaves like a normal SoSwitch node.


Constructor & Destructor Documentation

SoBlinker::SoBlinker void
 

Constructor.

SoBlinker::~SoBlinker [protected, virtual]
 

Destructor.


Member Function Documentation

void SoBlinker::initClass void [static]
 

Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

Reimplemented from SoSwitch.

void SoBlinker::getBoundingBox SoGetBoundingBoxAction * action [virtual]
 

Overloaded to calculate bbox of all children.

Reimplemented from SoSwitch.

void SoBlinker::write SoWriteAction * action [virtual]
 

Overloaded not to write internal engine connections.

Reimplemented from SoSwitch.

void SoBlinker::notify SoNotList * nl [protected, virtual]
 

Overloaded to detect "external" changes (i.e. not caused by the internal timer engine).

Reimplemented from SoNode.


Member Data Documentation

SoSFFloat SoBlinker::speed
 

Number of cycles per second.

SoSFBool SoBlinker::on
 

Controls whether cycling is on or off.


The documentation for this class was generated from the following files:
Generated at Tue Mar 5 03:31:21 2002 for Coin by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001