MeVisLab Toolbox Reference
SoFlash Class Reference

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

#include <SoFlash.h>

Inheritance diagram for SoFlash:

Public Member Functions

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

Static Public Member Functions

static void initClass ()
 

Public Attributes

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

Protected Member Functions

void _onChanged (SoField *field=nullptr)
 
 ~SoFlash () override
 

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 26 of file SoFlash.h.

Constructor & Destructor Documentation

◆ ~SoFlash()

SoFlash::~SoFlash ( )
overrideprotected

◆ SoFlash()

SoFlash::SoFlash ( )

Member Function Documentation

◆ _onChanged()

void SoFlash::_onChanged ( SoField *  field = nullptr)
protected

◆ callback()

void SoFlash::callback ( SoCallbackAction *  action)
override

◆ doAction()

void SoFlash::doAction ( SoAction *  action)
override

◆ GLRender()

void SoFlash::GLRender ( SoGLRenderAction *  action)
override

◆ initClass()

static void SoFlash::initClass ( )
static

Member Data Documentation

◆ _curBrightness

float SoFlash::_curBrightness
protected

Definition at line 39 of file SoFlash.h.

◆ _dirFactor

float SoFlash::_dirFactor
protected

Definition at line 40 of file SoFlash.h.

◆ _instanceList

std::list<SoFlash *> SoFlash::_instanceList
staticprotected

Definition at line 36 of file SoFlash.h.

◆ _timeOfPrevAction

SbTime SoFlash::_timeOfPrevAction
protected

Definition at line 38 of file SoFlash.h.

◆ _timer

SoTimerSensor* SoFlash::_timer
staticprotected

Definition at line 42 of file SoFlash.h.

◆ brightness

SoSFFloat SoFlash::brightness

Brightness of the flash (0-1)

Definition at line 52 of file SoFlash.h.

◆ color

SoSFColor SoFlash::color

Starting color of the flash.

Definition at line 50 of file SoFlash.h.

◆ on

SoSFBool SoFlash::on

Definition at line 54 of file SoFlash.h.

◆ outputColor

SoSFColor SoFlash::outputColor

The output color, for field connections.

Definition at line 55 of file SoFlash.h.

◆ targetColor

SoSFColor SoFlash::targetColor

Target color of the flash.

Definition at line 51 of file SoFlash.h.

◆ time

SoSFTime SoFlash::time

Time for one period.

Definition at line 53 of file SoFlash.h.


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