#include <H3DNetworkingUtils/RemoteSFVec3f.h>

Public Member Functions | |
| RemoteSFVec3f () | |
| Constructor. | |
| void | setValue (H3D::Vec3f const &val) |
| This is a debug function only To be used to simulate receiving a remote connection change of value, when there is no remote connection. | |
Static Public Attributes | |
| static H3D::H3DNodeDatabase | database |
| X3D interface. | |
Protected Member Functions | |
| virtual void | readValue () |
| Read the parts of a fields value into the received field. | |
| virtual void | writeValue (H3D::Vec3f const &pos) |
| Write the correct parts of the value. | |
It inherits most of its funtionality from its parent class. This class adds a X3D database and the details of how to read and write the field data.
Use the 'toBeSent' and 'received' fields of the base class.
Examples:
| void H3DNetworkingUtils::RemoteSFVec3f::setValue | ( | H3D::Vec3f const & | val | ) |
This is a debug function only
To be used to simulate receiving a remote connection change of value, when there is no remote connection.
| void RemoteSFVec3f::readValue | ( | ) | [protected, virtual] |
Read the parts of a fields value into the received field.
cout << "readvalue " << val.x << endl;
Implements H3DNetworkingUtils::RemoteField.
References H3DNetworkingUtils::RemoteConnection::closeRequested(), H3DNetworkingUtils::RemoteField::conP, H3DNetworkingUtils::RemoteConnection::readH3DFloat(), and H3DNetworkingUtils::RemoteSF< H3D::SFVec3f >::received.
1.5.6