SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SmColorGradient Class Reference

The SmColorGradient class is a node for specifying color gradients for Scenery nodes. More...

#include <SmColorGradient.h>

Inheritance diagram for SmColorGradient:
SoNode

Public Types

enum  Mapping { RELATIVE = SmColorGradientElement::RELATIVE , ABSOLUTE = SmColorGradientElement::ABSOLUTE }
 

Public Member Functions

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

Static Public Member Functions

static void initClass (void)
 

Public Attributes

SoMFColor color
 
SoSFString filename
 
SoSFEnum mapping
 
SoSFBool on
 
SoMFFloat parameter
 

Protected Member Functions

virtual ~SmColorGradient ()
 
virtual void notify (SoNotList *l)
 
virtual SbBool readInstance (SoInput *in, unsigned short flags)
 

Detailed Description

The SmColorGradient class is a node for specifying color gradients for Scenery nodes.

Constructor & Destructor Documentation

◆ SmColorGradient()

SmColorGradient::SmColorGradient ( void )

Constructor.

◆ ~SmColorGradient()

SmColorGradient::~SmColorGradient ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ callback()

void SmColorGradient::callback ( SoCallbackAction * action)
virtual

Coin method.

◆ GLRender()

void SmColorGradient::GLRender ( SoGLRenderAction * action)
virtual

Coin method.

◆ initClass()

void SmColorGradient::initClass ( void )
static

Required Coin method.


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