SoSFVec2d Class Reference
[Fields]

Field containing a two-dimensional vector. More...

#include <Inventor/fields/SoSFVec2d.h>

Inheritance diagram for SoSFVec2d:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFVec2doperator= (const SoSFVec2d &f)
 SoSFVec2d ()
virtual ~SoSFVec2d ()
const SbVec2dgetValue () const
void setValue (const SbVec2d &newValue)
const SbVec2doperator= (const SbVec2d &newValue)
int operator== (const SoSFVec2d &f) const
int operator!= (const SoSFVec2d &f) const
virtual size_t getValueSize () const
void setValue (double x, double y)
void setValue (const double xy[2])

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a two-dimensional vector.

SoSFVec2ds are written to file as a pair of doubleing point values separated by whitespace.

SEE ALSO

SoField, SoSField, SoMFVec2f


Constructor & Destructor Documentation

SoSFVec2d::SoSFVec2d (  ) 

Default constructor.

virtual SoSFVec2d::~SoSFVec2d (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFVec2d::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

virtual SoType SoSFVec2d::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbVec2d& SoSFVec2d::getValue (  )  const [inline]

Returns this field's value.

virtual size_t SoSFVec2d::getValueSize (  )  const [inline, virtual]

Get size of the value.

Reimplemented from SoField.

int SoSFVec2d::operator!= ( const SoSFVec2d f  )  const [inline]

Returns FALSE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

const SbVec2d& SoSFVec2d::operator= ( const SbVec2d newValue  )  [inline]

Sets this field to newValue.

const SoSFVec2d& SoSFVec2d::operator= ( const SoSFVec2d f  ) 

Copy from another field of same type.

int SoSFVec2d::operator== ( const SoSFVec2d f  )  const

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

Reimplemented from SoField.

void SoSFVec2d::setValue ( const double  xy[2]  ) 

Sets the field to the given value.

void SoSFVec2d::setValue ( double  x,
double  y 
)

Sets the field to the given value.

void SoSFVec2d::setValue ( const SbVec2d newValue  ) 

Sets this field to newValue.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/