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

Background Class Reference

Background node instances. More...

Inheritance diagram for Background:

AbstractChild AbstractBase ChildNode Node Node List of all members.

Public Methods

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

virtual ~Background () 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_groundAngle (const FieldValue &mffloat, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_groundAngle eventIn handler.

void processSet_groundColor (const FieldValue &mfcolor, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_groundColor eventIn handler.

void processSet_backUrl (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_backUrl eventIn handler.

void processSet_bottomUrl (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_bottomUrl eventIn handler.

void processSet_frontUrl (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_frontUrl eventIn handler.

void processSet_leftUrl (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_leftUrl eventIn handler.

void processSet_rightUrl (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_rightUrl eventIn handler.

void processSet_topUrl (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_topUrl eventIn handler.

void processSet_skyAngle (const FieldValue &mffloat, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_skyAngle eventIn handler.

void processSet_skyColor (const FieldValue &mfcolor, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_skyColor eventIn handler.


Private Attributes

MFFloat groundAngle
MFColor groundColor
MFString backUrl
MFString bottomUrl
MFString frontUrl
MFString leftUrl
MFString rightUrl
MFString topUrl
MFFloat skyAngle
MFColor skyColor
SFBool bound
SFString relativeUrl
ImagetexPtr [6]
Image tex [6]
Viewer::Object viewerObject

Friends

class BackgroundClass

Detailed Description

Background node instances.


Constructor & Destructor Documentation

Background const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

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

~Background   throw () [virtual]
 

Destructor.


Member Function Documentation

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

Initialize.

Parameters:
timestamp the current time.

Reimplemented from Node.

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

set_backUrl eventIn handler.

Parameters:
mfstring an MFString.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.

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.
std::bad_alloc if memory allocation fails.

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

set_bottomUrl eventIn handler.

Parameters:
mfstring an MFString.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.

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

set_frontUrl eventIn handler.

Parameters:
mfstring an MFString.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.

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

set_groundAngle eventIn handler.

Parameters:
mffloat an MFFloat.
timestamp the current time.
Exceptions:
std::bad_cast if mffloat is not an MFFloat.
std::bad_alloc if memory allocation fails.

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

set_groundColor eventIn handler.

Parameters:
mfcolor an MFColor.
timestamp the current time.
Exceptions:
std::bad_cast if mfcolor is not an MFColor.
std::bad_alloc if memory allocation fails.

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

set_leftUrl eventIn handler.

Parameters:
mfstring an MFString.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.

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

set_rightUrl eventIn handler.

Parameters:
mfstring an MFString.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.

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

set_skyAngle eventIn handler.

Parameters:
mffloat an MFFloat.
timestamp the current time.
Exceptions:
std::bad_cast if mffloat is not an MFFloat.
std::bad_alloc if memory allocation fails.

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

set_skyColor eventIn handler.

Parameters:
mfcolor an MFColor.
timestamp the current time.
Exceptions:
std::bad_cast if mfcolor is not an MFColor.
std::bad_alloc if memory allocation fails.

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

set_topUrl eventIn handler.

Parameters:
mfstring an MFString.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.