H3DNetworkingUtils::RemoteNormalVector Class Reference

The RemoteNormalVector class provides network access to the vector field of a Normal node. More...

#include <H3DNetworkingUtils/RemoteNormalVector.h>

Inheritance diagram for H3DNetworkingUtils::RemoteNormalVector:

Inheritance graph

List of all members.

Static Public Attributes

static H3D::H3DNodeDatabase database
 X3D interface.

Protected Member Functions

virtual void writeValue (H3D::Vec3f const &val)
 Write value to socket.
virtual H3D::Vec3f readVal ()
 Read value from socket.


Detailed Description

The RemoteNormalVector class provides network access to the vector field of a Normal node.

It alows individual normals to be modified over the network without sending all the normals in the array

Example of use:

   <RemoteTCPClient DEF="client" remoteHost="localhost" remotePort="50000" open="TRUE">       
      <RemoteNormalVector DEF="remote_norm_vec" fieldId="0">                                 
         <Normal USE="my_normss" containerField="theNode"/>                               
      </RemoteNormalVector>                                                                     
   </RemoteTCPClient> 
Note that, unlike other RemoteFields, no separate routing of the points needs to occur, as the USE statement handles this. However, you must route to one of sendAll, indiciesToBeSent or indexToBeSent to trigger values to be sent at all.
Examples:
The documentation for this class was generated from the following files:

Generated on Tue Feb 16 15:19:45 2010 for H3DNetworkingUtils by  doxygen 1.5.6