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

openvrml::transform_node Class Reference

Abstract base class for texture transform nodes. More...

Inheritance diagram for openvrml::transform_node:

Inheritance graph
[legend]
Collaboration diagram for openvrml::transform_node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~transform_node ()=0 throw ()
 Destroy.

virtual const transform_node * to_transform () const throw ()
 Cast to a transform_node.

virtual transform_node * to_transform () throw ()
 Cast to a transform_node.

virtual const mat4ftransform () const=0 throw ()
 Get the transformation associated with the node as a matrix.


Protected Member Functions

 transform_node (const node_type &type, const scope_ptr &scope) throw ()
 Construct.


Detailed Description

Abstract base class for texture transform nodes.


Constructor & Destructor Documentation

openvrml::transform_node::~transform_node  )  throw () [pure virtual]
 

Destroy.

Implemented in openvrml::vrml97_node::transform_node.

openvrml::transform_node::transform_node const node_type type,
const scope_ptr scope
throw () [protected]
 

Construct.

Parameters:
type the node_type associated with the node.
scope the Scope the node belongs to.

Reimplemented in openvrml::vrml97_node::transform_node.


Member Function Documentation

transform_node * openvrml::transform_node::to_transform  )  throw () [virtual]
 

Cast to a transform_node.

Returns:
a pointer to this transform_node.

Reimplemented from openvrml::node.

const transform_node * openvrml::transform_node::to_transform  )  const throw () [virtual]
 

Cast to a transform_node.

Returns:
a pointer to this transform_node.

Reimplemented from openvrml::node.

const mat4f & openvrml::transform_node::transform  )  const throw () [pure virtual]
 

Get the transformation associated with the node as a matrix.

Returns:
the transformation associated with the node.

Implemented in openvrml::vrml97_node::transform_node.