SoSFVec2i32 Class Reference
[Fields]

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

#include <Inventor/fields/SoSFVec2i32.h>

Inheritance diagram for SoSFVec2i32:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFVec2i32operator= (const SoSFVec2i32 &f)
 SoSFVec2i32 ()
virtual ~SoSFVec2i32 ()
const SbVec2i32getValue () const
void setValue (const SbVec2i32 &newValue)
const SbVec2i32operator= (const SbVec2i32 &newValue)
int operator== (const SoSFVec2i32 &f) const
int operator!= (const SoSFVec2i32 &f) const
virtual size_t getValueSize () const
void setValue (int32_t x, int32_t y)
void setValue (const int32_t xy[2])
void setValue (const SbVec2f &vec2f)
void setValue (const SbVec2d &vec2d)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a two-dimensional vector.

SoSFVec2i32s are written to file as a pair of int values separated by whitespace.

SEE ALSO

SoField, SoSField, SoMFVec2f


Constructor & Destructor Documentation

SoSFVec2i32::SoSFVec2i32 (  ) 

Default constructor.

virtual SoSFVec2i32::~SoSFVec2i32 (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFVec2i32::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbVec2i32& SoSFVec2i32::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

const SbVec2i32& SoSFVec2i32::operator= ( const SbVec2i32 newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFVec2i32::setValue ( const SbVec2d vec2d  ) 

Convenience method that allows you to specify a field value using a double precision variable.

The specified value is converted to int value, then stored.

void SoSFVec2i32::setValue ( const SbVec2f vec2f  ) 

Convenience method that allows you to specify a field value using a single precision variable.

The specified value is converted to int value, then stored.

void SoSFVec2i32::setValue ( const int32_t  xy[2]  ) 

Sets the field to the given value.

void SoSFVec2i32::setValue ( int32_t  x,
int32_t  y 
)

Sets the field to the given value.

void SoSFVec2i32::setValue ( const SbVec2i32 newValue  ) 

Sets this field to newValue.


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

Open Inventor Toolkit reference manual, generated on 1 Nov 2021
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/