MeVisLabToolboxReference
SoFlash Class Reference

OpenInventor node SoFlash provides a changing material node that blends one color into another. More...

#include <SoFlash.h>

List of all members.

Public Member Functions

 SoFlash ()
virtual void doAction (SoAction *action)
virtual void GLRender (SoGLRenderAction *action)
virtual void callback (SoCallbackAction *action)

Static Public Member Functions

static void initClass ()

Public Attributes

SoSFColor color
 Starting color of the flash.
SoSFColor targetColor
 Target color of the flash.
SoSFFloat brightness
 Brightness of the flash (0-1)
SoSFTime time
 Time for one period.
SoSFBool on
SoSFColor outputColor
 The output color, for field connections.

Protected Member Functions

void _onChanged ()
virtual ~SoFlash ()

Protected Attributes

SbTime _timeOfPrevAction
float _curBrightness
float _dirFactor

Static Protected Attributes

static std::list< SoFlash * > _instanceList
static SoTimerSensor * _timer

Detailed Description

OpenInventor node SoFlash provides a changing material node that blends one color into another.

Definition at line 21 of file SoFlash.h.


Constructor & Destructor Documentation

virtual SoFlash::~SoFlash ( ) [protected, virtual]
SoFlash::SoFlash ( )

Member Function Documentation

void SoFlash::_onChanged ( ) [protected]
virtual void SoFlash::callback ( SoCallbackAction *  action) [virtual]
virtual void SoFlash::doAction ( SoAction *  action) [virtual]
virtual void SoFlash::GLRender ( SoGLRenderAction *  action) [virtual]
static void SoFlash::initClass ( ) [static]

Member Data Documentation

float SoFlash::_curBrightness [protected]

Definition at line 37 of file SoFlash.h.

float SoFlash::_dirFactor [protected]

Definition at line 38 of file SoFlash.h.

std::list<SoFlash *> SoFlash::_instanceList [static, protected]

Definition at line 34 of file SoFlash.h.

SbTime SoFlash::_timeOfPrevAction [protected]

Definition at line 36 of file SoFlash.h.

SoTimerSensor* SoFlash::_timer [static, protected]

Definition at line 40 of file SoFlash.h.

Brightness of the flash (0-1)

Definition at line 50 of file SoFlash.h.

SoSFColor SoFlash::color

Starting color of the flash.

Definition at line 48 of file SoFlash.h.

SoSFBool SoFlash::on

Definition at line 52 of file SoFlash.h.

The output color, for field connections.

Definition at line 53 of file SoFlash.h.

Target color of the flash.

Definition at line 49 of file SoFlash.h.

SoSFTime SoFlash::time

Time for one period.

Definition at line 51 of file SoFlash.h.


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