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

TextureCoordinate Class Reference

TextureCoordinate node instances. More...

Inheritance diagram for TextureCoordinate:

AbstractBase TextureCoordinateNode Node Node List of all members.

Public Methods

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

virtual ~TextureCoordinate () throw ()
 Destructor.

virtual const MFVec2fgetPoint () const throw ()
 Get the points encapsulated by this node.


Private Methods

void processSet_point (const FieldValue &mfvec2f, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_point eventIn handler.


Private Attributes

MFVec2f point
 point exposedField.


Friends

class TextureCoordinateClass
 Class object for TextureCoordinate instances.


Detailed Description

TextureCoordinate node instances.


Constructor & Destructor Documentation

TextureCoordinate 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.

~TextureCoordinate   throw () [virtual]
 

Destructor.


Member Function Documentation

const MFVec2f & getPoint   const throw () [virtual]
 

Get the points encapsulated by this node.

Returns:
the MFVec2f array of points for this node.

Implements TextureCoordinateNode.

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

set_point eventIn handler.

Parameters:
mfvec2f an array of vectors representing points.
timestamp the current time.
Exceptions:
std::bad_cast if mfvec2f is not an MFVec2f.
std::bad_alloc if memory allocation fails.

Friends And Related Function Documentation

TextureCoordinateClass [friend]
 

Class object for TextureCoordinate instances.


Member Data Documentation

MFVec2f point [private]
 

point exposedField.