Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

Fog Class Reference

Fog node instances. More...

Inheritance diagram for Fog:

AbstractChild AbstractBase ChildNode Node Node List of all members.

Public Methods

 Fog (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~Fog () throw ()
 Destructor.


Private Methods

virtual void initializeImpl (double timestamp) throw ()
 Initialize.

void processSet_bind (const FieldValue &sfbool, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_bind eventIn handler.

void processSet_color (const FieldValue &sfcolor, double timestamp) throw (std::bad_cast)
 set_color eventIn handler.

void processSet_fogType (const FieldValue &sfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_fogType eventIn handler.

void processSet_visibilityRange (const FieldValue &sffloat, double timestamp) throw (std::bad_cast)
 set_visibilityRange eventIn handler.


Private Attributes

SFColor color
SFString fogType
SFFloat visibilityRange
SFBool bound

Friends

class FogClass

Detailed Description

Fog node instances.


Constructor & Destructor Documentation

Fog const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the node instance.
scope the Scope to which the node belongs.

~Fog   throw () [virtual]
 

Destructor.


Member Function Documentation

void initializeImpl double    timestamp throw () [private, virtual]
 

Initialize.

Parameters:
timestamp the current time.

Reimplemented from Node.

void processSet_bind const FieldValue   sfbool,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_bind eventIn handler.

Parameters:
sfbool an SFBool value.
timestamp the current time.
Exceptions:
std::bad_cast if sfbool is not an SFBool value.
std::bad_alloc if memory allocation fails.

void processSet_color const FieldValue   sfcolor,
double    timestamp
throw (std::bad_cast) [private]
 

set_color eventIn handler.

Parameters:
sfcolor an SFColor value.
timestamp the current time.
Exceptions:
std::bad_cast if sfcolor is not an SFColor value.

void processSet_fogType const FieldValue   sfstring,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_fogType eventIn handler.

Parameters:
sfstring an SFString value.
timestamp the current time.
Exceptions:
std::bad_cast if sfstring is not an SFString value.
std::bad_alloc if memory allocation fails.

void processSet_visibilityRange const FieldValue   sffloat,
double    timestamp
throw (std::bad_cast) [private]
 

set_visibilityRange eventIn handler.

Parameters:
sffloat an SFFloat value.
timestamp the current time.
Exceptions:
std::bad_cast if sffloat is not an SFFloat value.