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

TextureTransform Class Reference

TextureTransform node instances. More...

Inheritance diagram for TextureTransform:

AbstractBase TextureTransformNode Node Node List of all members.

Public Methods

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

virtual ~TextureTransform () throw ()
 Destructor.

virtual void render (Viewer &viewer, VrmlRenderContext context)
 Render the node.


Private Methods

void processSet_center (const FieldValue &sfvec2f, double timestamp) throw (std::bad_cast)
 set_center eventIn handler.

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

void processSet_scale (const FieldValue &sfvec2f, double timestamp) throw (std::bad_cast)
 set_scale eventIn handler.

void processSet_translation (const FieldValue &sfvec2f, double timestamp) throw (std::bad_cast)
 set_translation eventIn handler.


Private Attributes

SFVec2f center
 center exposedField.

SFFloat rotation
 rotation exposedField.

SFVec2f scale
 scale exposedField.

SFVec2f translation
 translation exposedField.


Friends

class TextureTransformClass
 Class object for TextureTransform instances.


Detailed Description

TextureTransform node instances.


Constructor & Destructor Documentation

TextureTransform const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the instance.
scope the Scope that the new node will belong to.

~TextureTransform   throw () [virtual]
 

Destructor.


Member Function Documentation

void processSet_center const FieldValue   sfvec2f,
double    timestamp
throw (std::bad_cast) [private]
 

set_center eventIn handler.

Parameters:
sfvec2f an SFVec2f value.
timestamp the current time.
Exceptions:
std::bad_cast if sfvec2f is not an SFVec2f.

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

set_rotation eventIn handler.

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

void processSet_scale const FieldValue   sfvec2f,
double    timestamp
throw (std::bad_cast) [private]
 

set_scale eventIn handler.

Parameters:
sfvec2f an SFVec2f value.
timestamp the current time.
Exceptions:
std::bad_cast if sfvec2f is not an SFVec2f.

void processSet_translation const FieldValue   sfvec2f,
double    timestamp
throw (std::bad_cast) [private]
 

set_translation eventIn handler.

Parameters:
sfvec2f an SFVec2f value.
timestamp the current time.
Exceptions:
std::bad_cast if sfvec2f is not an SFVec2f.

void render Viewer   viewer,
VrmlRenderContext    context
[virtual]
 

Render the node.

Parameters:
viewer a Viewer.
context a rendering context.

Reimplemented from Node.


Friends And Related Function Documentation

TextureTransformClass [friend]
 

Class object for TextureTransform instances.


Member Data Documentation

SFVec2f center [private]
 

center exposedField.

SFFloat rotation [private]
 

rotation exposedField.

SFVec2f scale [private]
 

scale exposedField.

SFVec2f translation [private]
 

translation exposedField.