# H3DNetworkingUtils::RemoteSFVec3f Class Reference

The RemoteSFVec3f class provides a remote single Vec3f field. More...

`#include <H3DNetworkingUtils/RemoteSFVec3f.h>`

Inheritance diagram for H3DNetworkingUtils::RemoteSFVec3f:

List of all members.

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

## Detailed Description

The RemoteSFVec3f class provides a remote single Vec3f field.

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:

- RemoteMFTestServer.x3d
- RemoteMFTestClient.x3d

## Member Function Documentation

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.

The documentation for this class was generated from the following files:

- RemoteSFVec3f.h
- RemoteSFVec3f.cpp