man SoSFVec2f () - Field containing a two-dimensional vector

NAME

SoSFVec2f - Field containing a two-dimensional vector

INHERITS FROM

SoField > SoSField > SoSFVec2f

SYNOPSIS

#include <Inventor/fields/SoSFVec2f.h> Methods from class SoSFVec2f: c } c } setValue(float x, float y)

c } c } setValue(const float xy[2])

c } c } getClassTypeId()

c } c } getTypeId() const

c } c } getValue() const

c } c } operator =(const SbVec2f & newValue)

c } c } setValue(const SbVec2f & newValue)

c } c } operator ==(const SoSFVec2f &f) const

c } c } operator !=(const SoSFVec2f &f) const Methods from class SoField: c } c } setIgnored(SbBool ignore)

c } c } isIgnored() const

c } c } isDefault() const

c } c } isOfType(SoType type) const

c } c } set(const char *valueString)

c } c } get(SbString &valueString)

c } c } touch()

c } c } connectFrom(SoField *fromField)

c } c } connectFrom(SoEngineOutput *fromEngine)

c } c } disconnect()

c } c } isConnected() const

c } c } isConnectedFromField() const

c } c } getConnectedField(SoField *&writingField) const

c } c } isConnectedFromEngine() const

c } c } getConnectedEngine(SoEngineOutput *&engineOutput) const

c } c } enableConnection(SbBool flag)

c } c } isConnectionEnabled() const

c } c } getForwardConnections(SoFieldList &list) const

c } c } getContainer() const

DESCRIPTION

Field containing a two-dimensional vector. SoSFVec2fs are written to file as a pair of floating point values separated by whitespace.

METHODS

c } c } setValue(float x, float y)

c } c } setValue(const float xy[2])

Sets the field to the given value. c } c } getClassTypeId()

c } c } getTypeId() const

Returns the type for this class or a particular object of this class. c } c } getValue() const

Returns this field's value. c } c } operator =(const SbVec2f & newValue)

c } c } setValue(const SbVec2f & newValue)

Sets this field to newValue. c } c } operator ==(const SoSFVec2f &f) const

c } c } operator !=(const SoSFVec2f &f) const

Returns TRUE if f is of the same type and has the same value as this field.

SEE ALSO

SoField, SoSField, SoMFVec2f