SoSFVec2f(3iv)

SoSFVec2f3iv

Field containing a two-dimensional vector

Usage

#include <Inventor/fields/SoSFVec2f.h>

Methods from class SoSFVec2f:

void setValue(float x, float y)
void setValue(const float xy[2])
static SoType getClassTypeId()
virtual void getTypeId() const
const SbVec2f & getValue() const
const SbVec2f & operator =(const SbVec2f & newValue)
void setValue(const SbVec2f & newValue)
int operator ==(const SoSFVec2f &f) const
int operator !=(const SoSFVec2f &f) const

Methods from class SoField:

void setIgnored(SbBool ignore)
SbBool isIgnored() const
SbBool isDefault() const
virtual SbBool isOfType(SoType type) const
SbBool set(const char *valueString)
void get(SbString &valueString)
void touch()
SbBool connectFrom(SoField *fromField)
SbBool connectFrom(SoEngineOutput *fromEngine)
void disconnect()
SbBool isConnected() const
SbBool isConnectedFromField() const
SbBool getConnectedField(SoField *&writingField) const
SbBool isConnectedFromEngine() const
SbBool getConnectedEngine(SoEngineOutput *&engineOutput) const
void enableConnection(SbBool flag)
SbBool isConnectionEnabled() const
int getForwardConnections(SoFieldList &list) const
SoFieldContainer * getContainer() const

Inherits from

SoField > SoSField > SoSFVec2f

Overview

Field containing a two-dimensional vector.

SoSFVec2fs are written to file as a pair of floating point values separated by whitespace.

Methods

void setValue(float x, float y)
void setValue(const float xy[2])
Sets the field to the given value.

static SoType getClassTypeId()
virtual void getTypeId() const
Returns the type for this class or a particular object of this class.

const SbVec2f & getValue() const
Returns this field's value.

const SbVec2f & operator =(const SbVec2f & newValue)
void setValue(const SbVec2f & newValue)
Sets this field to newValue.

int operator ==(const SoSFVec2f &f) const
int operator !=(const SoSFVec2f &f) const
Returns TRUE if f is of the same type and has the same value as this field.

Releases

Unchanged in 9 releases since Debian 3.0 (Woody).

  1. 3.0–13

From inventor-doc 2.1.6+ds-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.