H3D API  2.4.1
Public Member Functions | Public Attributes | List of all members
H3D::ForceDimensionDevice::SFReleasePosition Class Reference

SFReleasePosition specializes SFVec3d to go set the release position of the contained haptics device. More...

#include <H3D/ForceDimensionDevice.h>

Inheritance diagram for H3D::ForceDimensionDevice::SFReleasePosition:
Inheritance graph

Public Member Functions

 SFReleasePosition ()
 Constructor.
 
- Public Member Functions inherited from H3D::SField< Vec3d >
 SField ()
 Constructor.
 
 SField (const Vec3d &_value)
 Constructor.
 
virtual int setValueFromVoidPtr (const void *data, unsigned int len, int id=0)
 Set the value of the field given a pointer to where the value of the field is. More...
 
virtual int getValueAsVoidPtr (void *data, unsigned int len, int id=0)
 Get the value of the data copied into a memory buffer. More...
 
virtual unsigned int valueTypeSize ()
 Returns the size in bytes of the value type the sfield encapsulates.
 
virtual void setValue (const Vec3d &v, int id=0)
 Set the value of the field.
 
virtual const Vec3dgetValue (int id=0)
 Get the value of the field.
 
virtual void setValueFromString (const string &s)
 Set the value of the field given a string. More...
 
virtual string getValueAsString (const string &=" ")
 Get the value of the field as a string.
 
virtual string getTypeName ()
 Returns a string name for this field type e.g. SFInt32.
 
- Public Member Functions inherited from H3D::SFieldClass
virtual ~SFieldClass ()
 Virtual destructor.
 
virtual int setValueFromVoidPtr (void *data, unsigned int size, int id=0)
 

Public Attributes

bool value_is_set
 Just a flag used to check if the value was set before the hapi_device pointer was set.
 

Additional Inherited Members

- Public Types inherited from H3D::SField< Vec3d >
typedef Vec3d value_type
 The type of the value member.
 
- Static Public Member Functions inherited from H3D::SField< Vec3d >
static string classTypeName ()
 Returns a string name for this field type e.g. SFInt32.
 
- Protected Member Functions inherited from H3D::OnNewValueSField< SFVec3d >
virtual void onNewValue (const typename SF::value_type &new_value)=0
 This function is called when the field is updated to a value.
 
virtual void update ()
 
- Protected Member Functions inherited from H3D::TypedField< BaseField, RequiredArgTypes, OptionalArgTypes >
void checkFieldType (Field *f, int index)
 Function for checking that a field is of a correct type given type specification according to the TypedField template arguments. More...
 
void checkTemplateArguments ()
 Function for checking that a field given TypedField type specification is valid. More...
 
- Protected Attributes inherited from H3D::SField< Vec3d >
Vec3d value
 The encapsulated value.
 

Detailed Description

SFReleasePosition specializes SFVec3d to go set the release position of the contained haptics device.


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